org.biojava.bio.structure.io
Class PDBSRSReader
java.lang.Object
org.biojava.bio.structure.io.PDBFileReader
org.biojava.bio.structure.io.PDBSRSReader
- All Implemented Interfaces:
- StructureIO, StructureIOFile
- public class PDBSRSReader
- extends PDBFileReader
reads a PDB file from a local SRS installation using getz Actually
is the same as PDBFileReader, but instead of reading from a file stream, reads from a
buffered stream.
|
Method Summary |
Structure |
getStructure()
load a structure from from SRS installation using wgetz
requires pdb_code to be set earlier... |
Structure |
getStructure(String filename)
open filename (does not support compressed files!) and returns
a PDBStructure object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PDBSRSReader
public PDBSRSReader()
getStructure
public Structure getStructure()
throws IOException
- load a structure from from SRS installation using wgetz
requires pdb_code to be set earlier...
- Specified by:
getStructure in interface StructureIO- Overrides:
getStructure in class PDBFileReader
- Throws:
IOException
getStructure
public Structure getStructure(String filename)
throws IOException
- open filename (does not support compressed files!) and returns
a PDBStructure object
- Specified by:
getStructure in interface StructureIO- Overrides:
getStructure in class PDBFileReader
- Throws:
IOException