Class TextMap

  • All Implemented Interfaces:
    java.io.Serializable, java.util.Map<java.lang.String,​java.lang.String>, Erasable

    public class TextMap
    extends AbstractDiskMap<java.lang.String,​java.lang.String>
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.util.AbstractMap

        java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>
      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      TextMap()  
      TextMap​(boolean useGZip)  
      TextMap​(java.io.File path)  
      TextMap​(java.io.File path, boolean useGZip)  
      TextMap​(java.lang.String path)  
      TextMap​(java.lang.String path, boolean useGZip)  
    • Constructor Detail

      • TextMap

        public TextMap()
                throws java.io.IOException
        Throws:
        java.io.IOException
      • TextMap

        public TextMap​(java.lang.String path)
                throws java.io.IOException
        Throws:
        java.io.IOException
      • TextMap

        public TextMap​(boolean useGZip)
                throws java.io.IOException
        Throws:
        java.io.IOException
      • TextMap

        public TextMap​(java.lang.String path,
                       boolean useGZip)
                throws java.io.IOException
        Throws:
        java.io.IOException
      • TextMap

        public TextMap​(java.io.File path)
                throws java.io.IOException
        Throws:
        java.io.IOException
      • TextMap

        public TextMap​(java.io.File path,
                       boolean useGZip)
                throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • writeValue

        public final void writeValue​(java.io.OutputStream os,
                                     java.lang.String value)
        Specified by:
        writeValue in class AbstractDiskMap<java.lang.String,​java.lang.String>
      • readValue

        public java.lang.String readValue​(java.io.InputStream is)
        Specified by:
        readValue in class AbstractDiskMap<java.lang.String,​java.lang.String>