RdcPanda
Class IDof2aryStructure

java.lang.Object
  extended by RdcPanda.IDof2aryStructure
All Implemented Interfaces:
java.lang.Cloneable

public class IDof2aryStructure
extends java.lang.Object
implements java.lang.Cloneable

This class provides functions for processing files with secondary structure element information. Written by Lincong Wang (2001-2005).


Constructor Summary
IDof2aryStructure()
          Constructors.
IDof2aryStructure(int Ano, int Bno, java.lang.String id)
          Instantiates a new i dof2ary structure.
 
Method Summary
 java.util.Vector[] getOrder(java.lang.String fileName)
          A very simple reader for secondary structure identification file.
 int getResidueNoA()
          Gets the residue no a.
 int getResidueNoB()
          Gets the residue no b.
 java.lang.String getTypeAndID()
          Gets the type and id.
 java.util.Vector IDof2aryStructureReader(java.lang.String idFile)
          A very simple reader for secondary structure identification file.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IDof2aryStructure

public IDof2aryStructure()
Constructors.


IDof2aryStructure

public IDof2aryStructure(int Ano,
                         int Bno,
                         java.lang.String id)
Instantiates a new i dof2ary structure.

Parameters:
Ano - the ano
Bno - the bno
id - the id
Method Detail

getResidueNoA

public int getResidueNoA()
Gets the residue no a.

Returns:
the residue no a

getResidueNoB

public int getResidueNoB()
Gets the residue no b.

Returns:
the residue no b

getTypeAndID

public java.lang.String getTypeAndID()
Gets the type and id.

Returns:
the type and id

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

IDof2aryStructureReader

public java.util.Vector IDof2aryStructureReader(java.lang.String idFile)
A very simple reader for secondary structure identification file.

Parameters:
idFile - the name of the file
Returns:
a vector of IDof2aryStructure objects

getOrder

public java.util.Vector[] getOrder(java.lang.String fileName)
A very simple reader for secondary structure identification file.

Parameters:
fileName - the file name
Returns:
a vector of IDof2aryStructure objects