com.alachisoft.ncache.web.caching
Class OutputCacheStream
java.lang.Object
java.io.OutputStream
com.alachisoft.ncache.web.caching.OutputCacheStream
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable
public class OutputCacheStream
- extends java.io.OutputStream
OutputCacheStream is derived from System.IO.OutputStream. It is designed to put/fetch BLOB using standard OutputStream Interface
Methods inherited from class java.io.OutputStream |
write |
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.OutputStream
- Throws:
java.io.IOException
closed
public boolean closed()
flush
public void flush()
- Specified by:
flush
in interface java.io.Flushable
- Overrides:
flush
in class java.io.OutputStream
length
public long length()
throws java.lang.Exception
- Throws:
java.lang.Exception
position
public long position()
throws java.lang.Exception
- Throws:
java.lang.Exception
seek
public long seek(long offset)
throws NotSupportedException
- Throws:
NotSupportedException
setLength
public void setLength(long value)
throws NotSupportedException
- Throws:
NotSupportedException
write
public void write(byte[] b,
int off,
int len)
throws java.io.IOException
- Overrides:
write
in class java.io.OutputStream
- Throws:
java.io.IOException
write
public void write(int b)
throws java.io.IOException
- Specified by:
write
in class java.io.OutputStream
- Throws:
java.io.IOException