public class NamespaceName2String extends AbstractMap<NamespaceName,String>
String
, and reads file format.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
NamespaceName2String() |
NamespaceName2String(Map<NamespaceName,String> data) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsPattern(String patternMarker) |
void |
dump(PrintStream p) |
Set<Map.Entry<NamespaceName,String>> |
entrySet()
ONLY required method to implement a read-only map, see documentation
of
AbstractMap . |
void |
from(File f,
String encoding) |
void |
from(InputStream s,
String encoding) |
void |
from(Reader r) |
void |
from(String k,
String v) |
String |
put(NamespaceName k,
String v) |
NamespaceName2String |
replacePattern(String patternMarker,
String value) |
clear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, putAll, remove, size, toString, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public NamespaceName2String()
public NamespaceName2String(Map<NamespaceName,String> data)
public void from(File f, String encoding) throws FileNotFoundException, UnsupportedEncodingException, IOException
public void from(InputStream s, String encoding) throws UnsupportedEncodingException, IOException
public void from(Reader r) throws IOException, IllegalArgumentException
IOException
IllegalArgumentException
public void from(String k, String v) throws IllegalArgumentException
IllegalArgumentException
public void dump(PrintStream p)
public Set<Map.Entry<NamespaceName,String>> entrySet()
AbstractMap
.
FIXME interator() must provide remove().entrySet
in interface Map<NamespaceName,String>
entrySet
in class AbstractMap<NamespaceName,String>
public String put(NamespaceName k, String v)
put
in interface Map<NamespaceName,String>
put
in class AbstractMap<NamespaceName,String>
public boolean containsPattern(String patternMarker)
public NamespaceName2String replacePattern(String patternMarker, String value)
see also the complete user documentation .