Class ChmSection
java.lang.Object
org.apache.tika.parser.microsoft.chm.ChmSection
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcheckBit(int i) getBigInteger(int i) bytegetByte()byte[]getData()intgetLeft()byte[]intgetSwath()intgetSyncBits(int bit) intgetTotal()static voidintpeekBits(int bit) byte[]reverseByteOrder(byte[] toBeReversed) voidsetSwath(int swath) voidsetTotal(int total) byte[]byte[]unmarshalBytes(int i) intchar
-
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)
-