Class ChmSection
- java.lang.Object
- 
- org.apache.tika.parser.microsoft.chm.ChmSection
 
- 
 public class ChmSection extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description ChmSection(byte[] data)ChmSection(byte[] data, byte[] prevconent)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcheckBit(int i)BigIntegergetBigInteger(int i)bytegetByte()byte[]getData()BigIntegergetEncint()intgetLeft()byte[]getPrevContent()intgetSwath()intgetSyncBits(int bit)intgetTotal()static voidmain(String[] args)intpeekBits(int bit)byte[]reverseByteOrder(byte[] toBeReversed)voidsetSwath(int swath)voidsetTotal(int total)byte[]stringToAsciiBytes(String s)byte[]unmarshalBytes(int i)intunmarshalUByte()charunmarshalUtfChar()
 
- 
- 
- 
Constructor Detail- 
ChmSectionpublic ChmSection(byte[] data) throws TikaException- Throws:
- TikaException
 
 - 
ChmSectionpublic ChmSection(byte[] data, byte[] prevconent) throws TikaException- Throws:
- TikaException
 
 
- 
 - 
Method Detail- 
mainpublic static void main(String[] args) throws TikaException - Parameters:
- args-
- Throws:
- TikaException
 
 - 
reverseByteOrderpublic byte[] reverseByteOrder(byte[] toBeReversed) throws TikaException- Throws:
- TikaException
 
 - 
checkBitpublic int checkBit(int i) 
 - 
getSyncBitspublic int getSyncBits(int bit) 
 - 
peekBitspublic int peekBits(int bit) 
 - 
unmarshalUBytepublic int unmarshalUByte() 
 - 
getBytepublic byte getByte() 
 - 
getLeftpublic int getLeft() 
 - 
getDatapublic byte[] getData() 
 - 
getPrevContentpublic byte[] getPrevContent() 
 - 
getBigIntegerpublic BigInteger getBigInteger(int i) throws TikaException - Throws:
- TikaException
 
 - 
stringToAsciiBytespublic byte[] stringToAsciiBytes(String s) 
 - 
unmarshalBytespublic byte[] unmarshalBytes(int i) throws TikaException- Throws:
- TikaException
 
 - 
getEncintpublic BigInteger getEncint() 
 - 
unmarshalUtfCharpublic char unmarshalUtfChar() 
 - 
getSwathpublic int getSwath() 
 - 
setSwathpublic void setSwath(int swath) 
 - 
getTotalpublic int getTotal() 
 - 
setTotalpublic void setTotal(int total) 
 
- 
 
-