org.ujmp.core.collections.map
Class TextMap
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- org.ujmp.core.collections.map.AbstractMap<K,V>
-
- org.ujmp.core.collections.map.AbstractDiskMap<java.lang.String,java.lang.String>
-
- org.ujmp.core.collections.map.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
-
Constructor Summary
Constructors Constructor and 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringreadValue(java.io.InputStream is)voidwriteValue(java.io.OutputStream os, java.lang.String value)-
Methods inherited from class org.ujmp.core.collections.map.AbstractDiskMap
clear, containsKey, erase, get, getPath, keySet, put, remove, setPath, size
-
Methods inherited from class org.ujmp.core.collections.map.AbstractMap
containsValue, entrySet, get, getAsString, isEmpty, putAll, toString, values
-
-
-
-
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:
writeValuein classAbstractDiskMap<java.lang.String,java.lang.String>
-
readValue
public java.lang.String readValue(java.io.InputStream is)
- Specified by:
readValuein classAbstractDiskMap<java.lang.String,java.lang.String>
-
-
DataMelt 3.0 © DataMelt by jWork.ORG