Package com.xmlmind.util

## Class LoadText.KeywordBasedDetector

- java.lang.Object
- - com.xmlmind.util.LoadText.EncodingDetectorBase
  - - com.xmlmind.util.LoadText.KeywordBasedDetector

- All Implemented Interfaces:
    `LoadText.EncodingDetector`
  Enclosing class:
    LoadText

      public static final class LoadText.KeywordBasedDetector
      extends LoadText.EncodingDetectorBase

  Detects an encoding by parsing `KEYWORD "ENCODING";`, for example `@charset "ENCODING";`.

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `String` | `keyword` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `KeywordBasedDetector​(String keyword)` |

  - ### Method Summary

    - ### Methods inherited from class com.xmlmind.util.LoadText.EncodingDetectorBase

      `detectEncoding`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### keyword

          public final String keyword

  - ### Constructor Detail

    - #### KeywordBasedDetector

          public KeywordBasedDetector​(String keyword)