Package org.bedework.synch
Class SynchXPropValue
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable<Object,Object>
-
- java.util.Properties
-
- org.bedework.synch.SynchXPropValue
-
- All Implemented Interfaces:
Serializable,Cloneable,Map<Object,Object>
public class SynchXPropValue extends Properties
We encode a number of values as a single x-property by Base 64 encoding the result of the Properties store method- Author:
- Mike Douglass douglm@rpi.edu
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.Properties
defaults
-
-
Constructor Summary
Constructors Constructor Description SynchXPropValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecode(String val)Stringencode()-
Methods inherited from class java.util.Properties
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, getProperty, getProperty, hashCode, isEmpty, keys, keySet, list, list, load, load, loadFromXML, merge, propertyNames, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, save, setProperty, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString, values
-
-
-
-
Method Detail
-
encode
public String encode() throws SynchException
- Returns:
- encoded values
- Throws:
SynchException
-
decode
public void decode(String val) throws SynchException
- Parameters:
val- encoded values- Throws:
SynchException
-
-