|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
java.io.FileInputStream
rabbit.proxy.CacheStream
public class CacheStream
This class reads data from a cachefile.
Constructor Summary | |
---|---|
CacheStream(NCache cache,
NCacheEntry entry,
Counter counter)
Create a new CacheStream from the given NCacheEntry |
Method Summary | |
---|---|
void |
close()
|
Methods inherited from class java.io.FileInputStream |
---|
available, finalize, getChannel, getFD, read, read, read, skip |
Methods inherited from class java.io.InputStream |
---|
mark, markSupported, reset |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CacheStream(NCache cache, NCacheEntry entry, Counter counter) throws java.io.FileNotFoundException
entry
- the NCacheEntry to read data from.
java.io.FileNotFoundException
- if the cachefile is not found.Method Detail |
---|
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in class java.io.FileInputStream
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |