|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.biojava.bio.structure.io.PDBFileReader
A PDB file parser.
| Constructor Summary | |
PDBFileReader()
|
|
| Method Summary | |
void |
addExtension(String s)
define supported file extensions compressed extensions .Z,.gz do not need to be specified they are dealt with automatically. |
String |
getId()
|
String |
getPath()
|
Structure |
getStructure()
load a structure from local file system and return a PDBStructure object requires pdb_code to be set earlier... |
Structure |
getStructure(String filename)
open filename (does not support compressed files!) and returns a PDBStructure object |
protected String |
getTimeStamp()
|
Structure |
parsePDBFile(BufferedReader buf)
|
Structure |
parsePDBFile(InputStream inStream)
parse a PDB file and return a datastructure implementing PDBStructure interface. |
void |
setId(String id)
|
void |
setPath(String p)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PDBFileReader()
| Method Detail |
public void setId(String id)
setId in interface StructureIOpublic String getId()
getId in interface StructureIOpublic void setPath(String p)
setPath in interface StructureIOFilepublic String getPath()
public void addExtension(String s)
addExtension in interface StructureIOFileprotected String getTimeStamp()
public Structure parsePDBFile(InputStream inStream)
throws IOException,
PDBParseException
IOException
PDBParseException
public Structure parsePDBFile(BufferedReader buf)
throws IOException,
PDBParseException
IOException
PDBParseException
public Structure getStructure()
throws IOException
getStructure in interface StructureIOIOException
public Structure getStructure(String filename)
throws IOException
getStructure in interface StructureIOIOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||