Class PngChunkItxt


public final class PngChunkItxt extends AbstractPngTextChunk
  • Field Details

    • keyword

      private final String keyword
    • text

      private final String text
    • languageTag

      private final String languageTag
      The language tag defined in [RFC-3066] indicates the human language used by the translated keyword and the text. Unlike the keyword, the language tag is case-insensitive. It is an ISO 646.IRV:1991 [ISO 646] string consisting of hyphen-separated words of 1-8 alphanumeric characters each (for example cn, en-uk, no-bok, x-klingon, x-KlInGoN). If the first word is two or three letters long, it is an ISO language code [ISO-639]. If the language tag is empty, the language is unspecified.
    • translatedKeyword

      private final String translatedKeyword
  • Constructor Details

    • PngChunkItxt

      public PngChunkItxt(int length, int chunkType, int crc, byte[] bytes) throws ImagingException, IOException
      Constructs a new instance.
      Parameters:
      length - chunk length.
      chunkType - chunk type.
      crc - CRC computed over the chunk type and chunk data (but not the length).
      bytes - chunk data bytes.
      Throws:
      ImagingException - Thrown on a parsing error.
      IOException - Thrown on reading error.
      NullPointerException - if bytes is null.
  • Method Details