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 void
skipFully(long toSkip)
int
uint16()
unsigned 2 byteint[]
uint16(int i)
unsigned 2 byte arraylong
uint32()
unsigned 4 byteshort
uint8()
unsigned 1 byte
-
-
-
Constructor Detail
-
HwpStreamReader
public HwpStreamReader(InputStream inputStream)
-
-
Method Detail
-
uint8
public short uint8() throws IOException
unsigned 1 byte- Returns:
- Throws:
IOException
-
uint16
public int uint16() throws IOException
unsigned 2 byte- Returns:
- Throws:
IOException
-
uint16
public int[] uint16(int i) throws IOException
unsigned 2 byte array- Parameters:
i
-- Returns:
- Throws:
IOException
-
uint32
public long uint32() throws IOException
unsigned 4 byte- Returns:
- Throws:
IOException
-
skipFully
public void skipFully(long toSkip) throws IOException
- Throws:
IOException
-
-