com.uwyn.rife.cmf.dam.contentstores
Class RawContentStream
java.lang.Object
java.io.InputStream
com.uwyn.rife.cmf.dam.contentstores.RawContentStream
- All Implemented Interfaces:
- Closeable
public class RawContentStream
- extends InputStream
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mStatement
protected DbPreparedStatement mStatement
mResultSet
protected DbResultSet mResultSet
mBuffer
protected byte[] mBuffer
mIndex
protected int mIndex
mHasRow
protected boolean mHasRow
RawContentStream
protected RawContentStream(DbPreparedStatement statement)
read
public int read()
throws IOException
- Specified by:
read in class InputStream
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close in interface Closeable- Overrides:
close in class InputStream
- Throws:
IOException
prepareStatement
protected static DbPreparedStatement prepareStatement(DatabaseRawStore store,
Select retrieveContentChunks,
int id)
getInstance
public static RawContentStream getInstance(DatabaseRawStore store,
Select retrieveContentChunks,
int id)
Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.