|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.strbio.util.db.Info org.strbio.util.db.ProteinInfo org.strbio.util.db.ProteinStructureInfo org.strbio.util.db.PDBInfo
public class PDBInfo
This is a class containing info that is found in PDB files, and links to related info. This should save all info found in the PDB headers, but currently doesn't come close.
Version 1.1, 7/28/99 - made compound, title, source into arrays of Strings, one per PDB line Version 1.0, 7/21/99 - original version.
Field Summary | |
---|---|
java.lang.String |
code
PDB code for the file; i.e. 1abc. |
java.lang.String[] |
compound
Information from the PDB's COMPND records, one string per line (edges stripped off). |
java.lang.String[] |
source
Source, from the PDB's SOURCE records. |
java.lang.String[] |
title
Title, from the PDB's TITLE records. |
Fields inherited from class org.strbio.util.db.ProteinInfo |
---|
protein |
Fields inherited from class org.strbio.util.db.Info |
---|
related |
Constructor Summary | |
---|---|
PDBInfo()
|
Method Summary | |
---|---|
void |
addCompound(java.lang.String x)
add a String to the compound records. |
void |
addSource(java.lang.String x)
add a String to the source records. |
void |
addTitle(java.lang.String x)
add a String to the title records. |
void |
processYAPF(java.lang.String buffer)
Initialize this Info from a line in a YAPF file, if applicable. |
void |
writeYAPF(Printf outfile)
write this info to a single line of a file, so it can be read later. |
Methods inherited from class org.strbio.util.db.Info |
---|
getClass |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String code
public java.lang.String[] compound
public java.lang.String[] title
public java.lang.String[] source
Constructor Detail |
---|
public PDBInfo()
Method Detail |
---|
public void writeYAPF(Printf outfile) throws java.io.IOException
writeYAPF
in class Info
java.io.IOException
public void addSource(java.lang.String x)
public void addTitle(java.lang.String x)
public void addCompound(java.lang.String x)
public void processYAPF(java.lang.String buffer)
processYAPF
in class Info
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |