Package org.apache.tika.parser.hwp
Class HwpStreamReader
- java.lang.Object
-
- org.apache.tika.parser.hwp.HwpStreamReader
-
public class HwpStreamReader extends Object
-
-
Constructor Summary
Constructors Constructor Description HwpStreamReader(InputStream inputStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidskipFully(long toSkip)intuint16()unsigned 2 byteint[]uint16(int i)unsigned 2 byte arraylonguint32()unsigned 4 byteshortuint8()unsigned 1 byte
-
-
-
Constructor Detail
-
HwpStreamReader
public HwpStreamReader(InputStream inputStream)
-
-
Method Detail
-
uint8
public short uint8() throws IOExceptionunsigned 1 byte- Returns:
- Throws:
IOException
-
uint16
public int uint16() throws IOExceptionunsigned 2 byte- Returns:
- Throws:
IOException
-
uint16
public int[] uint16(int i) throws IOExceptionunsigned 2 byte array- Parameters:
i-- Returns:
- Throws:
IOException
-
uint32
public long uint32() throws IOExceptionunsigned 4 byte- Returns:
- Throws:
IOException
-
skipFully
public void skipFully(long toSkip) throws IOException- Throws:
IOException
-
-