Class Info

java.lang.Object
com.fluendo.jkate.Info

public class Info extends Object
  • Field Details

    • bitstream_version_major

      public int bitstream_version_major
    • bitstream_version_minor

      public int bitstream_version_minor
    • text_encoding

      public KateTextEncoding text_encoding
    • text_directionality

      public KateTextDirectionality 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

      public String language
    • category

      public String category
    • regions

      public Region[] regions
    • styles

      public Style[] styles
    • curves

      public Curve[] curves
    • motions

      public Motion[] motions
    • palettes

      public Palette[] palettes
    • bitmaps

      public Bitmap[] bitmaps
    • font_ranges

      public FontRange[] font_ranges
    • font_mappings

      public com.fluendo.jkate.FontMapping[] font_mappings
    • markup_type

      public KateMarkupType 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

      public Region unpackRegion(com.jcraft.jogg.Buffer opb) throws com.fluendo.jkate.KateException
      Decode a single region.
      Throws:
      com.fluendo.jkate.KateException
    • unpackStyle

      public Style unpackStyle(com.jcraft.jogg.Buffer opb) throws com.fluendo.jkate.KateException
      Decode a single style.
      Throws:
      com.fluendo.jkate.KateException
    • unpackMotion

      public Motion unpackMotion(com.jcraft.jogg.Buffer opb) throws com.fluendo.jkate.KateException
      Decode a single motion.
      Throws:
      com.fluendo.jkate.KateException
    • unpackPalette

      public Palette unpackPalette(com.jcraft.jogg.Buffer opb) throws com.fluendo.jkate.KateException
      Decode a single palette.
      Throws:
      com.fluendo.jkate.KateException
    • unpackBitmap

      public Bitmap unpackBitmap(com.jcraft.jogg.Buffer opb) throws com.fluendo.jkate.KateException
      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

      public int decodeHeader(Comment kc, com.jcraft.jogg.Packet op)
      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.