Package org.globus.util
Class Tail
java.lang.Object
org.globus.util.Tail
- All Implemented Interfaces:
Runnable
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
CHUNK_SIZE
private static final int CHUNK_SIZE- See Also:
-
buffer
private byte[] buffer -
_stop
private boolean _stop -
list
-
_thread
-
_logger
private org.apache.commons.logging.Log _logger
-
-
Constructor Details
-
Tail
public Tail()
-
-
Method Details
-
setLog
public void setLog(org.apache.commons.logging.Log logger) -
start
public void start() -
join
- Throws:
InterruptedException
-
addFile
- Throws:
IOException
-
run
public void run() -
isDone
- Throws:
IOException
-
close
private void close() -
stop
public void stop()
-