Class AlnLoader

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--AlnLoader

public class AlnLoader
extends java.lang.Thread

Thread class responsible for loading an alignment file. AlnLoader knows the ".aln" format and, given the url of a file, can load it into a given translation object. It reports any errors it encounters via the Cairo.ReportError() method.

Author:
Mike Jahr
See Also:
Cairo, Translation

Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
AlnLoader(Cairo inc, Translation intrans, java.net.URL inurl)
          Creates a loader with the given specifications.
 
Method Summary
 void run()
          Attempts to open an alignment file specified by the URL in the constructor into the translation object.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AlnLoader

public AlnLoader(Cairo inc,
                 Translation intrans,
                 java.net.URL inurl)
Creates a loader with the given specifications.
See Also:
Cairo.openURL(URL)
Method Detail

run

public void run()
Attempts to open an alignment file specified by the URL in the constructor into the translation object.
Overrides:
run in class java.lang.Thread