org.strbio.mol.lib.pred2ary
Class AppletJury

java.lang.Object
  extended by org.strbio.mol.lib.pred2ary.Jury
      extended by org.strbio.mol.lib.pred2ary.StandardJury
          extended by org.strbio.mol.lib.pred2ary.AppletJury
Direct Known Subclasses:
MediumAppletJury, SmallAppletJury

public class AppletJury
extends StandardJury

This is a standard jury that is retrieved over the net using an applet's methods.

  Version 1.0, 6/4/98 - original version
  

Version:
1.0, 6/4/98
Author:
JMC

Nested Class Summary
static interface AppletJury.LoadProgressIndicator
          Indicator to update with verbose output, after every juror finishes.
 
Nested classes/interfaces inherited from class org.strbio.mol.lib.pred2ary.Jury
Jury.ProgressIndicator
 
Field Summary
protected  Pred2aryApplet ap
           
protected  int expectedSize
           
 
Fields inherited from class org.strbio.mol.lib.pred2ary.Jury
fileName, nJurors, outfile, progress
 
Constructor Summary
AppletJury(java.lang.String filename, Pred2aryApplet myapp, int nj, int size)
          Create a new jury, given the name of the binary input file.
 
Method Summary
 boolean exists()
          All applet juries are assumed to exist.
 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
 

Field Detail

expectedSize

protected int expectedSize

ap

protected Pred2aryApplet ap
Constructor Detail

AppletJury

public AppletJury(java.lang.String filename,
                  Pred2aryApplet myapp,
                  int nj,
                  int size)
Create a new jury, given the name of the binary input file.

Method Detail

exists

public boolean exists()
All applet juries are assumed to exist.

Overrides:
exists in class StandardJury

getBinaryData

public java.io.DataInputStream getBinaryData()
                                      throws java.io.IOException
Open jury for processing.

Overrides:
getBinaryData in class StandardJury
Throws:
java.io.IOException