org.jboss.messaging.utils
Class TypedProperties
java.lang.Object
org.jboss.messaging.utils.TypedProperties
public class TypedProperties
- extends java.lang.Object
A TypedProperties
TODO - should have typed property getters and do conversions herein
- Author:
- Tim Fox, Clebert Suconic
Method Summary |
void |
clear()
|
boolean |
containsProperty(SimpleString key)
|
void |
decode(MessagingBuffer buffer)
|
void |
encode(MessagingBuffer buffer)
|
int |
getEncodeSize()
|
java.lang.Object |
getProperty(SimpleString key)
|
java.util.Set<SimpleString> |
getPropertyNames()
|
void |
putBooleanProperty(SimpleString key,
boolean value)
|
void |
putByteProperty(SimpleString key,
byte value)
|
void |
putBytesProperty(SimpleString key,
byte[] value)
|
void |
putCharProperty(SimpleString key,
char value)
|
void |
putDoubleProperty(SimpleString key,
double value)
|
void |
putFloatProperty(SimpleString key,
float value)
|
void |
putIntProperty(SimpleString key,
int value)
|
void |
putLongProperty(SimpleString key,
long value)
|
void |
putShortProperty(SimpleString key,
short value)
|
void |
putStringProperty(SimpleString key,
SimpleString value)
|
void |
putTypedProperties(TypedProperties otherProps)
|
java.lang.Object |
removeProperty(SimpleString key)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypedProperties
public TypedProperties()
TypedProperties
public TypedProperties(TypedProperties other)
putBooleanProperty
public void putBooleanProperty(SimpleString key,
boolean value)
putByteProperty
public void putByteProperty(SimpleString key,
byte value)
putBytesProperty
public void putBytesProperty(SimpleString key,
byte[] value)
putShortProperty
public void putShortProperty(SimpleString key,
short value)
putIntProperty
public void putIntProperty(SimpleString key,
int value)
putLongProperty
public void putLongProperty(SimpleString key,
long value)
putFloatProperty
public void putFloatProperty(SimpleString key,
float value)
putDoubleProperty
public void putDoubleProperty(SimpleString key,
double value)
putStringProperty
public void putStringProperty(SimpleString key,
SimpleString value)
putCharProperty
public void putCharProperty(SimpleString key,
char value)
putTypedProperties
public void putTypedProperties(TypedProperties otherProps)
getProperty
public java.lang.Object getProperty(SimpleString key)
removeProperty
public java.lang.Object removeProperty(SimpleString key)
containsProperty
public boolean containsProperty(SimpleString key)
getPropertyNames
public java.util.Set<SimpleString> getPropertyNames()
decode
public void decode(MessagingBuffer buffer)
encode
public void encode(MessagingBuffer buffer)
getEncodeSize
public int getEncodeSize()
clear
public void clear()
Copyright © 2006 JBoss Inc. All Rights Reserved.