org.apache.tika.parser.chm.lzx
Class ChmSection

java.lang.Object
  extended by org.apache.tika.parser.chm.lzx.ChmSection

public class ChmSection
extends java.lang.Object


Constructor Summary
ChmSection(byte[] data)
           
 
Method Summary
 int checkBit(int i)
           
 java.math.BigInteger getBigInteger(int i)
           
 byte getByte()
           
 byte[] getData()
           
 int getDesyncBits(int bit, int removeBit)
           
 java.math.BigInteger getEncint()
           
 int getLeft()
           
 int getSwath()
           
 int getSyncBits(int bit)
           
 int getTotal()
           
static void main(java.lang.String[] args)
           
 byte[] reverseByteOrder(byte[] toBeReversed)
           
 void setSwath(int swath)
           
 void setTotal(int total)
           
 byte[] stringToAsciiBytes(java.lang.String s)
           
 byte[] unmarshalBytes(int i)
           
 int unmarshalInt()
           
 int unmarshalUByte()
           
 long unmarshalUInt()
           
 java.math.BigInteger unmarshalUlong()
           
 char unmarshalUtfChar()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChmSection

public ChmSection(byte[] data)
           throws TikaException
Throws:
TikaException
Method Detail

reverseByteOrder

public byte[] reverseByteOrder(byte[] toBeReversed)
                        throws TikaException
Throws:
TikaException

checkBit

public int checkBit(int i)

getSyncBits

public int getSyncBits(int bit)

getDesyncBits

public int getDesyncBits(int bit,
                         int removeBit)

unmarshalUByte

public int unmarshalUByte()

getByte

public byte getByte()

getLeft

public int getLeft()

getData

public byte[] getData()

getBigInteger

public java.math.BigInteger getBigInteger(int i)

stringToAsciiBytes

public byte[] stringToAsciiBytes(java.lang.String s)

unmarshalUlong

public java.math.BigInteger unmarshalUlong()

unmarshalUInt

public long unmarshalUInt()

unmarshalInt

public int unmarshalInt()

unmarshalBytes

public byte[] unmarshalBytes(int i)

getEncint

public java.math.BigInteger 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)

main

public static void main(java.lang.String[] args)
                 throws TikaException
Parameters:
args -
Throws:
TikaException


Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.