org.ujmp.core.collections
Class TextMap

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by org.ujmp.core.collections.AbstractMap<K,V>
          extended by org.ujmp.core.collections.AbstractDiskMap<String,String>
              extended by org.ujmp.core.collections.TextMap
All Implemented Interfaces:
Serializable, Map<String,String>, Erasable

public class TextMap
extends AbstractDiskMap<String,String>

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
TextMap()
           
TextMap(boolean useGZip)
           
TextMap(File path)
           
TextMap(File path, boolean useGZip)
           
TextMap(String path)
           
TextMap(String path, boolean useGZip)
           
 
Method Summary
 String readValue(InputStream is)
           
 void writeValue(OutputStream os, String value)
           
 
Methods inherited from class org.ujmp.core.collections.AbstractDiskMap
clear, containsKey, erase, get, getPath, keySet, put, remove, setPath, size
 
Methods inherited from class org.ujmp.core.collections.AbstractMap
containsValue, entrySet, isEmpty, putAll, values
 
Methods inherited from class java.util.AbstractMap
clone, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextMap

public TextMap()
        throws IOException
Throws:
IOException

TextMap

public TextMap(String path)
        throws IOException
Throws:
IOException

TextMap

public TextMap(boolean useGZip)
        throws IOException
Throws:
IOException

TextMap

public TextMap(String path,
               boolean useGZip)
        throws IOException
Throws:
IOException

TextMap

public TextMap(File path)
        throws IOException
Throws:
IOException

TextMap

public TextMap(File path,
               boolean useGZip)
        throws IOException
Throws:
IOException
Method Detail

writeValue

public final void writeValue(OutputStream os,
                             String value)
Specified by:
writeValue in class AbstractDiskMap<String,String>

readValue

public String readValue(InputStream is)
Specified by:
readValue in class AbstractDiskMap<String,String>


Copyright © 2010. All Rights Reserved.