util
Class PDBFile

java.lang.Object
  extended by PDBinterpreter
      extended by util.PDBFile

public class PDBFile
extends PDBinterpreter

This class uses the PDB library.


Constructor Summary
PDBFile(java.lang.String filename, java.lang.String chain)
          Constructor for the PDB File menu.
 
Method Summary
 void endPrimaryStructureSection()
          This part is needed to get the primary sequence out of the PDB file.
 java.lang.String getPdbSequence()
          Returns the (build) PDB sequence as a string.
 boolean hasKey(java.lang.String key)
          Has-key boolean method.
 void read()
          Reads and parses the input file.
 java.lang.String readLine()
          Read one line of the file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDBFile

public PDBFile(java.lang.String filename,
               java.lang.String chain)
Constructor for the PDB File menu.

Parameters:
filename -
chain -
Method Detail

read

public void read()
Reads and parses the input file.


readLine

public java.lang.String readLine()
Read one line of the file.


hasKey

public boolean hasKey(java.lang.String key)
Has-key boolean method.


endPrimaryStructureSection

public void endPrimaryStructureSection()
This part is needed to get the primary sequence out of the PDB file.


getPdbSequence

public java.lang.String getPdbSequence()
Returns the (build) PDB sequence as a string.

Returns:
pdbSequence String