org.strbio.util.db
Class Info

java.lang.Object
  extended by org.strbio.util.db.Info
Direct Known Subclasses:
ProteinInfo

public class Info
extends java.lang.Object

A piece of info that can be put in a database.

  Version 1.0, 7/21/99 - original version.
  

Version:
1.0, 7/21/99
Author:
JMC

Field Summary
 Data related
          Related data, or null if there is none.
 
Constructor Summary
Info()
           
 
Method Summary
static java.lang.Class getClass(java.lang.String name)
          Convenience class returning the class for a given org.strbio.util.db Info type, if available.
 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

related

public Data related
Related data, or null if there is none.

Constructor Detail

Info

public Info()
Method Detail

writeYAPF

public void writeYAPF(Printf outfile)
               throws java.io.IOException
write this info to a single line of a file, so it can be read later.

Throws:
java.io.IOException

processYAPF

public void processYAPF(java.lang.String buffer)
Initialize this Info from a line in a YAPF file, if applicable.


getClass

public static java.lang.Class getClass(java.lang.String name)
Convenience class returning the class for a given org.strbio.util.db Info type, if available.