public class FileConvert
extends java.lang.Object
| Constructor and Description |
|---|
FileConvert(Structure struc)
Constructs a FileConvert object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
doPrintConnections()
returns if the Connections should be added
default is true;
|
void |
setPrintConnections(boolean printConnections)
enable/disable printing of connections
connections are sometimes buggy in PDB files
so there are some cases where one might turn this off.
|
void |
toDASStructure(XMLWriter xw)
convert a protein Structure to a DAS Structure XML response .
|
java.lang.String |
toPDB()
Convert a structure into a PDB file.
|
public FileConvert(Structure struc)
struc - a Structure objectpublic boolean doPrintConnections()
public void setPrintConnections(boolean printConnections)
printConnections - public java.lang.String toPDB()
public void toDASStructure(XMLWriter xw) throws java.io.IOException
xw - a XMLWriter objectjava.io.IOException - ...