com.alachisoft.ncache.web.caching
Class InputCacheStream
java.lang.Object
java.io.InputStream
com.alachisoft.ncache.web.caching.InputCacheStream
- All Implemented Interfaces:
- java.io.Closeable
public class InputCacheStream
- extends java.io.InputStream
InputCacheStream is derived from System.IO.InputStream. It is designed to put/fetch BLOB using standard InputStream Interface
Methods inherited from class java.io.InputStream |
available, mark, markSupported, read, reset |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
canRead
public boolean canRead()
canSeek
public boolean canSeek()
canWrite
public boolean canWrite()
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface java.io.Closeable
- Overrides:
close
in class java.io.InputStream
- Throws:
java.io.IOException
closed
public boolean closed()
flush
public void flush()
length
public long length()
throws java.lang.Exception
- Throws:
java.lang.Exception
position
public long position()
throws java.lang.Exception
- Throws:
java.lang.Exception
read
public int read()
throws java.io.IOException
- Specified by:
read
in class java.io.InputStream
- Throws:
java.io.IOException
read
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
- Overrides:
read
in class java.io.InputStream
- Throws:
java.io.IOException
seek
public long seek(long offset)
throws NotSupportedException
- Throws:
NotSupportedException
setLength
public void setLength(long value)
throws NotSupportedException
- Throws:
NotSupportedException
skip
public long skip(long n)
throws java.io.IOException
- Overrides:
skip
in class java.io.InputStream
- Throws:
java.io.IOException