Package com.fluendo.jkate
Class Info
java.lang.Object
com.fluendo.jkate.Info
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Resets the header decoder to the start, so a new stream may be decoded.int
decodeHeader
(Comment kc, com.jcraft.jogg.Packet op) Decodes a Kate header, updating the info with the data decoded from the header.unpackBitmap
(com.jcraft.jogg.Buffer opb) Decode a single bitmap.unpackMotion
(com.jcraft.jogg.Buffer opb) Decode a single motion.unpackPalette
(com.jcraft.jogg.Buffer opb) Decode a single palette.unpackRegion
(com.jcraft.jogg.Buffer opb) Decode a single region.unpackStyle
(com.jcraft.jogg.Buffer opb) Decode a single style.
-
Field Details
-
bitstream_version_major
public int bitstream_version_major -
bitstream_version_minor
public int bitstream_version_minor -
text_encoding
-
text_directionality
-
num_headers
public int num_headers -
granule_shift
public int granule_shift -
gps_numerator
public int gps_numerator -
gps_denominator
public int gps_denominator -
language
-
category
-
regions
-
styles
-
curves
-
motions
-
palettes
-
bitmaps
-
font_ranges
-
font_mappings
public com.fluendo.jkate.FontMapping[] font_mappings -
markup_type
-
original_canvas_width
public int original_canvas_width -
original_canvas_height
public int original_canvas_height
-
-
Constructor Details
-
Info
public Info()
-
-
Method Details
-
unpackRegion
Decode a single region.- Throws:
com.fluendo.jkate.KateException
-
unpackStyle
Decode a single style.- Throws:
com.fluendo.jkate.KateException
-
unpackMotion
Decode a single motion.- Throws:
com.fluendo.jkate.KateException
-
unpackPalette
Decode a single palette.- Throws:
com.fluendo.jkate.KateException
-
unpackBitmap
Decode a single bitmap.- Throws:
com.fluendo.jkate.KateException
-
clear
public void clear()Resets the header decoder to the start, so a new stream may be decoded. -
decodeHeader
Decodes a Kate header, updating the info with the data decoded from the header. If the next expected header is decoded properly, the next header will be expected. Headers beyond the ones we know about are ignored.
-