Class MetadataExtractor.Charsets

  • Enclosing class:
    MetadataExtractor

    public final class MetadataExtractor.Charsets
    extends java.lang.Object
    Holds a set of commonly used character encodings. Newer JDKs include java.nio.charset.StandardCharsets, but we cannot use that in this library.
    Author:
    Drew Noakes https://drewnoakes.com
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.nio.charset.Charset ASCII  
      java.nio.charset.Charset ISO_8859_1  
      java.nio.charset.Charset UTF_16  
      java.nio.charset.Charset UTF_16BE  
      java.nio.charset.Charset UTF_16LE  
      java.nio.charset.Charset UTF_8  
      java.nio.charset.Charset WINDOWS_1252  
    • Constructor Summary

      Constructors 
      Constructor Description
      Charsets()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • UTF_8

        public final java.nio.charset.Charset UTF_8
      • UTF_16

        public final java.nio.charset.Charset UTF_16
      • ISO_8859_1

        public final java.nio.charset.Charset ISO_8859_1
      • ASCII

        public final java.nio.charset.Charset ASCII
      • UTF_16BE

        public final java.nio.charset.Charset UTF_16BE
      • UTF_16LE

        public final java.nio.charset.Charset UTF_16LE
      • WINDOWS_1252

        public final java.nio.charset.Charset WINDOWS_1252
    • Constructor Detail

      • Charsets

        public Charsets()