Class ChmSection


  • public class ChmSection
    extends Object
    • Constructor Detail

      • ChmSection

        public ChmSection​(byte[] data)
                   throws org.apache.tika.exception.TikaException
        Throws:
        org.apache.tika.exception.TikaException
      • ChmSection

        public ChmSection​(byte[] data,
                          byte[] prevconent)
                   throws org.apache.tika.exception.TikaException
        Throws:
        org.apache.tika.exception.TikaException
    • Method Detail

      • main

        public static void main​(String[] args)
                         throws org.apache.tika.exception.TikaException
        Parameters:
        args -
        Throws:
        org.apache.tika.exception.TikaException
      • reverseByteOrder

        public byte[] reverseByteOrder​(byte[] toBeReversed)
                                throws org.apache.tika.exception.TikaException
        Throws:
        org.apache.tika.exception.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

        public BigInteger getBigInteger​(int i)
                                 throws org.apache.tika.exception.TikaException
        Throws:
        org.apache.tika.exception.TikaException
      • stringToAsciiBytes

        public byte[] stringToAsciiBytes​(String s)
      • unmarshalBytes

        public byte[] unmarshalBytes​(int i)
                              throws org.apache.tika.exception.TikaException
        Throws:
        org.apache.tika.exception.TikaException
      • unmarshalUtfChar

        public char unmarshalUtfChar()
      • getSwath

        public int getSwath()
      • setSwath

        public void setSwath​(int swath)
      • getTotal

        public int getTotal()
      • setTotal

        public void setTotal​(int total)