Package org.jpedal.jbig2.segment
Class Segment
java.lang.Object
org.jpedal.jbig2.segment.Segment
- Direct Known Subclasses:
EndOfStripeSegment
,ExtensionSegment
,PageInformationSegment
,PatternDictionarySegment
,RegionSegment
,SymbolDictionarySegment
Abstract Segment class.
-
Field Summary
Modifier and TypeFieldDescriptionprotected final ArithmeticDecoder
static final int
ConstantBITMAP=70
protected final JBIG2StreamDecoder
static final int
ConstantEND_OF_FILE=51
static final int
ConstantEND_OF_PAGE=49
static final int
ConstantEND_OF_STRIPE=50
static final int
ConstantEXTENSION=62
protected final HuffmanDecoder
static final int
ConstantIMMEDIATE_GENERIC_REFINEMENT_REGION=42
static final int
ConstantIMMEDIATE_GENERIC_REGION=38
static final int
ConstantIMMEDIATE_HALFTONE_REGION=22
static final int
ConstantIMMEDIATE_LOSSLESS_GENERIC_REFINEMENT_REGION=43
static final int
ConstantIMMEDIATE_LOSSLESS_GENERIC_REGION=39
static final int
ConstantIMMEDIATE_LOSSLESS_HALFTONE_REGION=23
static final int
ConstantIMMEDIATE_LOSSLESS_TEXT_REGION=7
static final int
ConstantIMMEDIATE_TEXT_REGION=6
static final int
ConstantINTERMEDIATE_GENERIC_REFINEMENT_REGION=40
static final int
ConstantINTERMEDIATE_GENERIC_REGION=36
static final int
ConstantINTERMEDIATE_HALFTONE_REGION=20
static final int
ConstantINTERMEDIATE_TEXT_REGION=4
protected final MMRDecoder
static final int
ConstantPAGE_INFORMATION=48
static final int
ConstantPATTERN_DICTIONARY=16
static final int
ConstantPROFILES=52
protected SegmentHeader
static final int
ConstantSYMBOL_DICTIONARY=0
static final int
ConstantTABLES=53
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected short
readATValue.abstract void
readSegment.
-
Field Details
-
SYMBOL_DICTIONARY
public static final int SYMBOL_DICTIONARYConstantSYMBOL_DICTIONARY=0
- See Also:
-
INTERMEDIATE_TEXT_REGION
public static final int INTERMEDIATE_TEXT_REGIONConstantINTERMEDIATE_TEXT_REGION=4
- See Also:
-
IMMEDIATE_TEXT_REGION
public static final int IMMEDIATE_TEXT_REGIONConstantIMMEDIATE_TEXT_REGION=6
- See Also:
-
IMMEDIATE_LOSSLESS_TEXT_REGION
public static final int IMMEDIATE_LOSSLESS_TEXT_REGIONConstantIMMEDIATE_LOSSLESS_TEXT_REGION=7
- See Also:
-
PATTERN_DICTIONARY
public static final int PATTERN_DICTIONARYConstantPATTERN_DICTIONARY=16
- See Also:
-
INTERMEDIATE_HALFTONE_REGION
public static final int INTERMEDIATE_HALFTONE_REGIONConstantINTERMEDIATE_HALFTONE_REGION=20
- See Also:
-
IMMEDIATE_HALFTONE_REGION
public static final int IMMEDIATE_HALFTONE_REGIONConstantIMMEDIATE_HALFTONE_REGION=22
- See Also:
-
IMMEDIATE_LOSSLESS_HALFTONE_REGION
public static final int IMMEDIATE_LOSSLESS_HALFTONE_REGIONConstantIMMEDIATE_LOSSLESS_HALFTONE_REGION=23
- See Also:
-
INTERMEDIATE_GENERIC_REGION
public static final int INTERMEDIATE_GENERIC_REGIONConstantINTERMEDIATE_GENERIC_REGION=36
- See Also:
-
IMMEDIATE_GENERIC_REGION
public static final int IMMEDIATE_GENERIC_REGIONConstantIMMEDIATE_GENERIC_REGION=38
- See Also:
-
IMMEDIATE_LOSSLESS_GENERIC_REGION
public static final int IMMEDIATE_LOSSLESS_GENERIC_REGIONConstantIMMEDIATE_LOSSLESS_GENERIC_REGION=39
- See Also:
-
INTERMEDIATE_GENERIC_REFINEMENT_REGION
public static final int INTERMEDIATE_GENERIC_REFINEMENT_REGIONConstantINTERMEDIATE_GENERIC_REFINEMENT_REGION=40
- See Also:
-
IMMEDIATE_GENERIC_REFINEMENT_REGION
public static final int IMMEDIATE_GENERIC_REFINEMENT_REGIONConstantIMMEDIATE_GENERIC_REFINEMENT_REGION=42
- See Also:
-
IMMEDIATE_LOSSLESS_GENERIC_REFINEMENT_REGION
public static final int IMMEDIATE_LOSSLESS_GENERIC_REFINEMENT_REGIONConstantIMMEDIATE_LOSSLESS_GENERIC_REFINEMENT_REGION=43
- See Also:
-
PAGE_INFORMATION
public static final int PAGE_INFORMATIONConstantPAGE_INFORMATION=48
- See Also:
-
END_OF_PAGE
public static final int END_OF_PAGEConstantEND_OF_PAGE=49
- See Also:
-
END_OF_STRIPE
public static final int END_OF_STRIPEConstantEND_OF_STRIPE=50
- See Also:
-
END_OF_FILE
public static final int END_OF_FILEConstantEND_OF_FILE=51
- See Also:
-
PROFILES
public static final int PROFILESConstantPROFILES=52
- See Also:
-
TABLES
public static final int TABLESConstantTABLES=53
- See Also:
-
EXTENSION
public static final int EXTENSIONConstantEXTENSION=62
- See Also:
-
BITMAP
public static final int BITMAPConstantBITMAP=70
- See Also:
-
huffmanDecoder
-
arithmeticDecoder
-
mmrDecoder
-
decoder
-
segmentHeader
-
-
Constructor Details
-
Segment
Constructor for Segment.
- Parameters:
streamDecoder
- aJBIG2StreamDecoder
object.
-
-
Method Details
-
readATValue
readATValue.
- Returns:
- a short.
- Throws:
IOException
- if any.
-
readSegment
readSegment.
- Throws:
IOException
- if any.JBIG2Exception
- if any.
-