Package org.globus.util
Class Tail.FileWatcher
- java.lang.Object
-
- org.globus.util.Tail.FileWatcher
-
- Enclosing class:
- Tail
class Tail.FileWatcher extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description FileWatcher(java.io.File file, java.io.OutputStream out, int pos)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
long
getDiff()
void
init()
void
moveBuffer(byte[] buffer, int size)
-
-
-
Method Detail
-
init
public void init() throws java.io.IOException
- Throws:
java.io.IOException
-
getDiff
public long getDiff() throws java.io.IOException
- Throws:
java.io.IOException
-
moveBuffer
public void moveBuffer(byte[] buffer, int size) throws java.io.IOException
- Throws:
java.io.IOException
-
close
public void close()
-
-