X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=website%2Ffull_javadoc%2Fcompbio%2Fengine%2FFilePuller.html;fp=website%2Ffull_javadoc%2Fcompbio%2Fengine%2FFilePuller.html;h=0000000000000000000000000000000000000000;hb=0bbebf27d045b1345bc042bdf24ef2e6808df251;hp=305cca807aa33cd57c9797189aa12b6420eb5cc8;hpb=5be600c3985aa7bcb8d8b51d77d773c76e6802bb;p=jabaws.git diff --git a/website/full_javadoc/compbio/engine/FilePuller.html b/website/full_javadoc/compbio/engine/FilePuller.html deleted file mode 100644 index 305cca8..0000000 --- a/website/full_javadoc/compbio/engine/FilePuller.html +++ /dev/null @@ -1,551 +0,0 @@ - - - - - - -FilePuller - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -compbio.engine -
-Class FilePuller

-
-java.lang.Object
-  extended by compbio.engine.FilePuller
-
-
-
All Implemented Interfaces:
Comparable<Delayed>, Delayed
-
-
-
-
public class FilePuller
extends Object
implements Delayed
- - -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- intcompareTo(Delayed o) - -
-           
- voiddisconnect() - -
-           
- booleanequals(Object obj) - -
-           
- longgetDelay(TimeUnit unit) - -
-           
- StringgetFile() - -
-           
- bytegetProgress() - -
-           
- inthashCode() - -
-           
- booleanhasMoreData() - -
-           
- voidinitPull() - -
-           
- booleanisFileCreated() - -
-           
-static FilePullernewFilePuller(String file, - int chunkSize) - -
-           
-static FilePullernewProgressPuller(String file) - -
-          Progress Puller is designed to read 3 characters from the beginning of - the file, nothing more.
- ChunkHolderpull(long position) - -
-           
- StringtoString() - -
-           
- voidwaitForFile(long maxWaitSeconds) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Method Detail
- -

-newFilePuller

-
-public static FilePuller newFilePuller(String file,
-                                       int chunkSize)
-
-
-
-
-
-
-
-
-
- -

-newProgressPuller

-
-public static FilePuller newProgressPuller(String file)
-
-
Progress Puller is designed to read 3 characters from the beginning of - the file, nothing more. Intended to be used in conjunction with a tool - which output progress as a percent value from 0 to 100. In any cases - progress could not be more than the largest byte value 255. -

-

-
-
-
-
Parameters:
file - -
Returns:
instance
-
-
-
- -

-pull

-
-public ChunkHolder pull(long position)
-                 throws IOException
-
-
-
-
-
- -
Throws: -
IOException
-
-
-
- -

-initPull

-
-public void initPull()
-
-
-
-
-
-
-
-
-
- -

-getFile

-
-public String getFile()
-
-
-
-
-
-
-
-
-
- -

-isFileCreated

-
-public boolean isFileCreated()
-
-
-
-
-
-
-
-
-
- -

-waitForFile

-
-public void waitForFile(long maxWaitSeconds)
-
-
-
-
-
-
-
-
-
- -

-hasMoreData

-
-public boolean hasMoreData()
-                    throws IOException
-
-
-
-
-
- -
Throws: -
IOException
-
-
-
- -

-compareTo

-
-public int compareTo(Delayed o)
-
-
-
Specified by:
compareTo in interface Comparable<Delayed>
-
-
-
-
-
-
- -

-getDelay

-
-public long getDelay(TimeUnit unit)
-
-
-
Specified by:
getDelay in interface Delayed
-
-
-
-
-
-
- -

-disconnect

-
-public void disconnect()
-
-
-
-
-
-
-
-
-
- -

-toString

-
-public String toString()
-
-
-
Overrides:
toString in class Object
-
-
-
-
-
-
- -

-equals

-
-public boolean equals(Object obj)
-
-
-
Overrides:
equals in class Object
-
-
-
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-
-
Overrides:
hashCode in class Object
-
-
-
-
-
-
- -

-getProgress

-
-public byte getProgress()
-                 throws IOException
-
-
-
-
-
- -
Throws: -
IOException
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - -