Class PropertySetDescriptorDictHelper

java.lang.Object
com.zeroc.IceGrid.PropertySetDescriptorDictHelper

public final class PropertySetDescriptorDictHelper extends Object
Helper class for marshaling/unmarshaling PropertySetDescriptorDict.
  • Constructor Details

    • PropertySetDescriptorDictHelper

      public PropertySetDescriptorDictHelper()
  • Method Details

    • write

      public static void write(OutputStream ostr, Map<String,PropertySetDescriptor> v)
      Marshals a dictionary of PropertySetDescriptorDict into an output stream.
      Parameters:
      ostr - the output stream
      v - the dictionary to marshal
    • read

      public static Map<String,PropertySetDescriptor> read(InputStream istr)
      Unmarshals a dictionary of PropertySetDescriptorDict from an input stream.
      Parameters:
      istr - the input stream
      Returns:
      the dictionary
    • write

      public static void write(OutputStream ostr, int tag, Optional<Map<String,PropertySetDescriptor>> v)
      Marshals an optional dictionary of PropertySetDescriptorDict into an output stream.
      Parameters:
      ostr - the output stream
      tag - the tag
      v - the dictionary to marshal
    • write

      public static void write(OutputStream ostr, int tag, Map<String,PropertySetDescriptor> v)
      Marshals an optional dictionary of PropertySetDescriptorDict into an output stream.
      Parameters:
      ostr - the output stream
      tag - the tag
      v - the dictionary to marshal
    • read

      public static Optional<Map<String,PropertySetDescriptor>> read(InputStream istr, int tag)
      Unmarshals an optional dictionary of PropertySetDescriptorDict from an input stream.
      Parameters:
      istr - the input stream
      tag - the tag
      Returns:
      the dictionary