![]() |
All Packages This Package Class Hierarchy Class Search Index Class calypso.util.CacheInputStreamjava.lang.Object | +----java.io.InputStream | +----calypso.util.CacheInputStream This is the private class that is used for reading data out of the file underlying a CacheOutputStream. This is used only when a file is being used for cacheing, not when the memory buffer is being used. Mainly this just passes the various InputStream methods along to the underlying file stream; but it adds one other thing, which is that as soon as the underlying file stream hits eof, the underlying file is deleted (by calling CacheOutputStream.discardBuffer().)
class CacheInputStream
extends java.io.InputStream
{
// Fields 2
protected InputStream stream;
protected CacheOutputStream stream_cache;
// Constructors 1
CacheInputStream(CacheOutputStream, InputStream);
// Methods 11
public int available() throws IOException;
public void close() throws IOException;
protected synchronized void discardBackingStore();
protected void finalize();
public void mark(int);
public boolean markSupported();
public int read() throws IOException;
public int read(byte[]) throws IOException;
public int read(byte[], int, int) throws IOException;
public void reset() throws IOException;
public long skip(long) throws IOException;
}
Fields stream_cacheprotected CacheOutputStream stream_cache streamprotected InputStream stream
Constructors CacheInputStreamCacheInputStream(CacheOutputStream sc, InputStream s) Methods availablepublic int available() throws IOException
closepublic void close() throws IOException
markpublic void mark(int i)
markSupportedpublic boolean markSupported()
readpublic int read() throws IOException
readpublic int read(byte[] b) throws IOException
read
public int read(byte[] b,
int start,
int length) throws IOException
resetpublic void reset() throws IOException
skippublic long skip(long i) throws IOException
discardBackingStoreprotected synchronized void discardBackingStore() finalizeprotected void finalize() All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4 |
|||||||
| Copyright © 1998-1999 The Mozilla Organization. | |||||||