Package org.biojava.bio.structure.io
Class PDBSRSReader
- java.lang.Object
-
- org.biojava.bio.structure.io.PDBSRSReader
-
- All Implemented Interfaces:
StructureIO
public class PDBSRSReader extends java.lang.Object implements StructureIO
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. if no matching PDB code found, returns null- Author:
- Andreas Prlic
-
-
Constructor Summary
Constructors Constructor Description PDBSRSReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Structure
getStructureById(java.lang.String pdbId)
load a structure from from SRS installation using wgetz returns null if no structure found
-
-
-
Method Detail
-
getStructureById
public Structure getStructureById(java.lang.String pdbId) throws java.io.IOException
load a structure from from SRS installation using wgetz returns null if no structure found- Specified by:
getStructureById
in interfaceStructureIO
- Parameters:
pdbId
- a String specifying the id value (PDB code)- Returns:
- a Structure object
- Throws:
java.io.IOException
- ...
-
-