Class MetadataExtractor.StringValue

  • Enclosing class:
    MetadataExtractor

    public final class MetadataExtractor.StringValue
    extends java.lang.Object
    Author:
    Drew Noakes https://drewnoakes.com
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private byte[] _bytes  
      private java.nio.charset.Charset _charset  
    • Constructor Summary

      Constructors 
      Constructor Description
      StringValue​(byte[] bytes, java.nio.charset.Charset charset)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getBytes()  
      java.nio.charset.Charset getCharset()  
      java.lang.String toString()  
      java.lang.String toString​(java.nio.charset.Charset charset)  
      • Methods inherited from class java.lang.Object

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

      • _bytes

        private final byte[] _bytes
      • _charset

        private final java.nio.charset.Charset _charset
    • Constructor Detail

      • StringValue

        public StringValue​(byte[] bytes,
                           java.nio.charset.Charset charset)
    • Method Detail

      • getBytes

        public byte[] getBytes()
      • getCharset

        public java.nio.charset.Charset getCharset()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toString

        public java.lang.String toString​(java.nio.charset.Charset charset)