java.lang.Object
com.zeroc.IceGrid.StringStringDictHelper
Helper class for marshaling/unmarshaling StringStringDict.
-
Method Summary
Modifier and TypeMethodDescriptionread(InputStream istr) Unmarshals a dictionary ofStringStringDictfrom an input stream.read(InputStream istr, int tag) Unmarshals an optional dictionary ofStringStringDictfrom an input stream.static voidwrite(OutputStream ostr, int tag, Map<String, String> v) Marshals an optional dictionary ofStringStringDictinto an output stream.static voidMarshals an optional dictionary ofStringStringDictinto an output stream.static voidwrite(OutputStream ostr, Map<String, String> v) Marshals a dictionary ofStringStringDictinto an output stream.
-
Method Details
-
write
Marshals a dictionary ofStringStringDictinto an output stream.- Parameters:
ostr- the output streamv- the dictionary to marshal
-
read
Unmarshals a dictionary ofStringStringDictfrom an input stream.- Parameters:
istr- the input stream- Returns:
- the dictionary
-
write
Marshals an optional dictionary ofStringStringDictinto an output stream.- Parameters:
ostr- the output streamtag- the tagv- the dictionary to marshal
-
write
Marshals an optional dictionary ofStringStringDictinto an output stream.- Parameters:
ostr- the output streamtag- the tagv- the dictionary to marshal
-
read
Unmarshals an optional dictionary ofStringStringDictfrom an input stream.- Parameters:
istr- the input streamtag- the tag- Returns:
- the dictionary
-