Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sixlegs.image.png
Interface TextChunk

public interface TextChunk

Common interface to all PNG text chunks (tEXt, zTXt, iTXt).

See Also:
  `PngImage.getTextChunk(java.lang.String)`, `PngImage.getProperty(java.lang.String)`

Method Summary
`java.lang.String` | `getChunkType()` Returns the original chunk type of this TextChunk: "tEXt", "zTXt", or "iTXt".
`java.lang.String` | `getKeyword()` Returns the Latin-1 [ISO-8859-1] encoded keyword of this TextChunk.
`java.lang.String` | `getLanguage()` Returns the language [RFC-1766] used by the translated keyword and the text, or null if unspecified.
`java.lang.String` | `getText()` Returns the text of this TextChunk.
`java.lang.String` | `getTranslatedKeyword()` Returns a translation of the keyword into the language used by this TextChunk, or null if unspecified.

Method Detail

### getKeyword

    public java.lang.String getKeyword()

  Returns the Latin-1 [ISO-8859-1] encoded keyword of this TextChunk.

### getTranslatedKeyword

    public java.lang.String getTranslatedKeyword()

  Returns a translation of the keyword into the language used by this TextChunk, or null if unspecified.

### getLanguage

    public java.lang.String getLanguage()

  Returns the language [RFC-1766] used by the translated keyword and the text, or null if unspecified.

### getText

    public java.lang.String getText()

  Returns the text of this TextChunk.

### getChunkType

    public java.lang.String getChunkType()

  Returns the original chunk type of this TextChunk: "tEXt", "zTXt", or "iTXt".

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD