org.ozoneDB.blob
Class BLOBInputStream
java.lang.Object
|
+--java.io.InputStream
|
+--org.ozoneDB.blob.BLOBInputStream
- All Implemented Interfaces:
- java.io.Serializable
- public class BLOBInputStream
- extends java.io.InputStream
- implements java.io.Serializable
The output stream of ozone BLOBs. Every read operations will call
the underlaying BLOBContainer. Therefore BLOBStreams should never be used
without buffering/caching. This can be done by using the BLOBStream together
with a BufferedStream.
- Version:
- $Revision: 1.1 $Date: 2001/12/18 10:31:30 $
- Author:
- SMB
- See Also:
- Serialized Form
Methods inherited from class java.io.InputStream |
mark, reset |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BLOBInputStream
public BLOBInputStream(BLOBContainer _container)
available
public int available()
throws java.io.IOException
- Overrides:
available
in class java.io.InputStream
java.io.IOException
markSupported
public boolean markSupported()
- Overrides:
markSupported
in class java.io.InputStream
read
public int read(byte[] b)
throws java.io.IOException
- Overrides:
read
in class java.io.InputStream
java.io.IOException
read
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
- Overrides:
read
in class java.io.InputStream
java.io.IOException
read
public int read()
throws java.io.IOException
- Specified by:
read
in class java.io.InputStream
java.io.IOException
skip
public long skip(long n)
throws java.io.IOException
- Overrides:
skip
in class java.io.InputStream
java.io.IOException
close
public void close()
throws java.io.IOException
- Overrides:
close
in class java.io.InputStream
java.io.IOException
Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.