public class TypedProperties extends Object
This implementation follows section 3.5.4 of the Java Message Service specification (Version 1.1 April 12, 2002).
TODO - should have typed property getters and do conversions herein
| Constructor and Description |
|---|
TypedProperties() |
TypedProperties(TypedProperties other) |
public TypedProperties()
public TypedProperties(TypedProperties other)
public int getMemoryOffset()
public boolean hasInternalProperties()
public void putBooleanProperty(SimpleString key, boolean value)
public void putByteProperty(SimpleString key, byte value)
public void putBytesProperty(SimpleString key, byte[] value)
public void putShortProperty(SimpleString key, short value)
public void putIntProperty(SimpleString key, int value)
public void putLongProperty(SimpleString key, long value)
public void putFloatProperty(SimpleString key, float value)
public void putDoubleProperty(SimpleString key, double value)
public void putSimpleStringProperty(SimpleString key, SimpleString value)
public void putNullValue(SimpleString key)
public void putCharProperty(SimpleString key, char value)
public void putTypedProperties(TypedProperties otherProps)
public Object getProperty(SimpleString key)
public Boolean getBooleanProperty(SimpleString key) throws PropertyConversionException
PropertyConversionExceptionpublic Byte getByteProperty(SimpleString key) throws PropertyConversionException
PropertyConversionExceptionpublic Character getCharProperty(SimpleString key) throws PropertyConversionException
PropertyConversionExceptionpublic byte[] getBytesProperty(SimpleString key) throws PropertyConversionException
PropertyConversionExceptionpublic Double getDoubleProperty(SimpleString key) throws PropertyConversionException
PropertyConversionExceptionpublic Integer getIntProperty(SimpleString key) throws PropertyConversionException
PropertyConversionExceptionpublic Long getLongProperty(SimpleString key) throws PropertyConversionException
PropertyConversionExceptionpublic Short getShortProperty(SimpleString key) throws PropertyConversionException
PropertyConversionExceptionpublic Float getFloatProperty(SimpleString key) throws PropertyConversionException
PropertyConversionExceptionpublic SimpleString getSimpleStringProperty(SimpleString key) throws PropertyConversionException
PropertyConversionExceptionpublic Object removeProperty(SimpleString key)
public boolean containsProperty(SimpleString key)
public Set<SimpleString> getPropertyNames()
public void decode(HornetQBuffer buffer)
public void encode(HornetQBuffer buffer)
public int getEncodeSize()
public void clear()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.