org.biojava.bio.structure.io
Class PDBSRSReader

java.lang.Object
  extended byorg.biojava.bio.structure.io.PDBFileReader
      extended byorg.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.


Constructor Summary
PDBSRSReader()
           
 
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 org.biojava.bio.structure.io.PDBFileReader
addExtension, getId, getPath, getTimeStamp, parsePDBFile, parsePDBFile, setId, setPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDBSRSReader

public PDBSRSReader()
Method Detail

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