Package 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
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
readValue(java.io.InputStream is)
void
writeValue(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
beforeReadObject, beforeWriteObject, containsValue, entrySet, get, getAsString, isEmpty, putAll, toString, values
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field 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:
writeValue
in classAbstractDiskMap<java.lang.String,java.lang.String>
-
readValue
public java.lang.String readValue(java.io.InputStream is)
- Specified by:
readValue
in classAbstractDiskMap<java.lang.String,java.lang.String>
-
-