Class ChmSection
java.lang.Object
org.apache.tika.parser.microsoft.chm.ChmSection
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
checkBit
(int i) getBigInteger
(int i) byte
getByte()
byte[]
getData()
int
getLeft()
byte[]
int
getSwath()
int
getSyncBits
(int bit) int
getTotal()
static void
int
peekBits
(int bit) byte[]
reverseByteOrder
(byte[] toBeReversed) void
setSwath
(int swath) void
setTotal
(int total) byte[]
byte[]
unmarshalBytes
(int i) int
char
-
Constructor Details
-
ChmSection
- Throws:
TikaException
-
ChmSection
- Throws:
TikaException
-
-
Method Details
-
main
- Parameters:
args
-- Throws:
TikaException
-
reverseByteOrder
- Throws:
TikaException
-
checkBit
public int checkBit(int i) -
getSyncBits
public int getSyncBits(int bit) -
peekBits
public int peekBits(int bit) -
unmarshalUByte
public int unmarshalUByte() -
getByte
public byte getByte() -
getLeft
public int getLeft() -
getData
public byte[] getData() -
getPrevContent
public byte[] getPrevContent() -
getBigInteger
- Throws:
TikaException
-
stringToAsciiBytes
-
unmarshalBytes
- Throws:
TikaException
-
getEncint
-
unmarshalUtfChar
public char unmarshalUtfChar() -
getSwath
public int getSwath() -
setSwath
public void setSwath(int swath) -
getTotal
public int getTotal() -
setTotal
public void setTotal(int total)
-