org.strbio.mol.lib.pred2ary
Class StandardJury

java.lang.Object
  extended by org.strbio.mol.lib.pred2ary.Jury
      extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.strbio.mol.lib.pred2ary.Jury
Jury.ProgressIndicator
 
Field Summary
 
Fields inherited from class org.strbio.mol.lib.pred2ary.Jury
fileName, nJurors, outfile, progress
 
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 org.strbio.mol.lib.pred2ary.Jury
countJurors, doPrediction, getName, nJurors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardJury

public StandardJury(java.lang.String filename)
Create a new jury, given the name of the binary input file.

Method Detail

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