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
UNOTYPEINFO
Fields inherited from interface com.sun.star.io.XSeekable
UNOTYPEINFO
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
void
long
long
int
readBytes
(byte[][] buffer, int bufferSize) int
readSomeBytes
(byte[][] buffer, int bufferSize) void
seek
(long position) void
skipBytes
(int skipLength)
-
Constructor Details
-
ODInputStream
- Throws:
IOException
-
-
Method Details
-
readBytes
public int readBytes(byte[][] buffer, int bufferSize) - Specified by:
readBytes
in interfacecom.sun.star.io.XInputStream
-
readSomeBytes
public int readSomeBytes(byte[][] buffer, int bufferSize) - Specified by:
readSomeBytes
in interfacecom.sun.star.io.XInputStream
-
skipBytes
public void skipBytes(int skipLength) - Specified by:
skipBytes
in interfacecom.sun.star.io.XInputStream
-
available
public int available()- Specified by:
available
in interfacecom.sun.star.io.XInputStream
-
closeInput
public void closeInput()- Specified by:
closeInput
in interfacecom.sun.star.io.XInputStream
-
getLength
public long getLength()- Specified by:
getLength
in interfacecom.sun.star.io.XSeekable
-
getPosition
public long getPosition()- Specified by:
getPosition
in interfacecom.sun.star.io.XSeekable
-
seek
- Specified by:
seek
in interfacecom.sun.star.io.XSeekable
- Throws:
IllegalArgumentException
-