PropertiesValue

public class PropertiesValue implements Value

A Value containing Properties.

Fields

Decoder

public static final Value.Decoder Decoder

The Value.Decoder for PropertiesValues.

Constructors

PropertiesValue

public PropertiesValue(Properties p)

Creates a PropertiesValue containing some Properties.

Parameters:
  • p – the properties

Methods

encode

public ByteBuffer encode()

equals

public boolean equals(Object obj)

getEncoding

public Encoding getEncoding()

getProperties

public Properties getProperties()

Returns the properties from this PropertiesValue

Returns:the properties

hashCode

public int hashCode()

toString

public String toString()