|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojava.bio.structure.io.PDBFileParser
public class PDBFileParser
A PDB file parser.
Q: How can I get a Structure object from a PDB file?
A:
String filename = "path/to/pdbfile.ent" ; PDBFileReader pdbreader = new PDBFileReader(); try{ Structure struc = pdbreader.getStructure(filename); System.out.println(struc); } catch (Exception e) { e.printStackTrace(); }
Field Summary | |
---|---|
static String |
idCode
|
Constructor Summary | |
---|---|
PDBFileParser()
|
Method Summary | |
---|---|
Character |
convert_3code_1code(String code3)
convert three character amino acid codes into single character e.g. |
protected String |
getTimeStamp()
Returns a time stamp. |
Structure |
parsePDBFile(BufferedReader buf)
parse a PDB file and return a datastructure implementing PDBStructure interface. |
Structure |
parsePDBFile(InputStream inStream)
parse a PDB file and return a datastructure implementing PDBStructure interface. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static String idCode
Constructor Detail |
---|
public PDBFileParser()
Method Detail |
---|
protected String getTimeStamp()
public Character convert_3code_1code(String code3) throws IllegalSymbolException
code3
- a three character amino acid representation String
IllegalSymbolException
public Structure parsePDBFile(InputStream inStream) throws IOException
inStream
- an InputStream object
IOException
public Structure parsePDBFile(BufferedReader buf) throws IOException
buf
- a BufferedReader object
IOException
- ...
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |