org.strbio.mol.lib.pred2ary
Class StandardJury
java.lang.Object
org.strbio.mol.lib.pred2ary.Jury
org.strbio.mol.lib.pred2ary.StandardJury
- Direct Known Subclasses:
- AppletJury, LargeJury, MediumJury, SmallJury
public class StandardJury
- extends Jury
Class that implements a jury of secondary structure prediction networks.
This is never in memory at the same time due to size, so all operations
are closely linked to operations on streams (either coming over a
network, or in a file)
Version 1.0, 6/4/98 - original version
- Version:
- 1.0, 6/4/98
- Author:
- JMC
Constructor Summary |
StandardJury(java.lang.String filename)
Create a new jury, given the name of the binary input file. |
Method Summary |
boolean |
exists()
see if the file exists on this system. |
java.io.DataInputStream |
getBinaryData()
Open jury for processing. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandardJury
public StandardJury(java.lang.String filename)
- Create a new jury, given the name of the binary input file.
exists
public boolean exists()
- see if the file exists on this system. For standard juries,
this is done by looking at a file which replaces ".bin" with
".ok", because opening the actual file might take a LONG time on
some (Windows) systems.
- Overrides:
exists
in class Jury
getBinaryData
public java.io.DataInputStream getBinaryData()
throws java.io.IOException
- Open jury for processing.
- Overrides:
getBinaryData
in class Jury
- Throws:
java.io.IOException