Package com.storedobject.office.od
Class ODInputStream
java.lang.Object
com.storedobject.office.od.ODInputStream
- All Implemented Interfaces:
com.sun.star.io.XInputStream,com.sun.star.io.XSeekable,com.sun.star.uno.XInterface
public class ODInputStream
extends Object
implements com.sun.star.io.XInputStream, com.sun.star.io.XSeekable
-
Field Summary
Fields inherited from interface com.sun.star.io.XInputStream
UNOTYPEINFOFields inherited from interface com.sun.star.io.XSeekable
UNOTYPEINFO -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidlonglongintreadBytes(byte[][] buffer, int bufferSize) intreadSomeBytes(byte[][] buffer, int bufferSize) voidseek(long position) voidskipBytes(int skipLength)
-
Constructor Details
-
ODInputStream
- Throws:
IOException
-
-
Method Details
-
readBytes
public int readBytes(byte[][] buffer, int bufferSize) - Specified by:
readBytesin interfacecom.sun.star.io.XInputStream
-
readSomeBytes
public int readSomeBytes(byte[][] buffer, int bufferSize) - Specified by:
readSomeBytesin interfacecom.sun.star.io.XInputStream
-
skipBytes
public void skipBytes(int skipLength) - Specified by:
skipBytesin interfacecom.sun.star.io.XInputStream
-
available
public int available()- Specified by:
availablein interfacecom.sun.star.io.XInputStream
-
closeInput
public void closeInput()- Specified by:
closeInputin interfacecom.sun.star.io.XInputStream
-
getLength
public long getLength()- Specified by:
getLengthin interfacecom.sun.star.io.XSeekable
-
getPosition
public long getPosition()- Specified by:
getPositionin interfacecom.sun.star.io.XSeekable
-
seek
- Specified by:
seekin interfacecom.sun.star.io.XSeekable- Throws:
IllegalArgumentException
-