Interface EncodingDetector

  • All Known Implementing Classes:
    BOMEncodingDetector, XMLEncodingDetector

    public interface EncodingDetector
    This interface represents an encoding detector. Implementers of this interface receive a starting encoding before any other activity takes place, and then allow an updated encoding to be retrieved once the activity is complete.
    • Method Detail

      • setEncoding

        void setEncoding​(java.lang.String encoding)
        Accept a starting encoding value.
      • getEncoding

        java.lang.String getEncoding()
        Read out the detected encoding, when finished.