org.jboss.messaging.util
Class TypedProperties

java.lang.Object
  extended by org.jboss.messaging.util.TypedProperties
All Implemented Interfaces:
EncodingSupport

public class TypedProperties
extends java.lang.Object
implements EncodingSupport

A TypedProperties TODO - should have typed property getters and do conversions herein

Author:
Tim Fox

Constructor Summary
TypedProperties()
           
TypedProperties(TypedProperties other)
           
 
Method Summary
 void clear()
           
 boolean containsProperty(SimpleString key)
           
 void decode(MessagingBuffer buffer)
           
 void encode(MessagingBuffer buffer)
           
 int encodeSize()
           
 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)
           
 java.lang.Object removeProperty(SimpleString key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypedProperties

public TypedProperties()

TypedProperties

public TypedProperties(TypedProperties other)
Method Detail

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)

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)
Specified by:
decode in interface EncodingSupport

encode

public void encode(MessagingBuffer buffer)
Specified by:
encode in interface EncodingSupport

encodeSize

public int encodeSize()
Specified by:
encodeSize in interface EncodingSupport

clear

public void clear()


Copyright © 2006 JBoss Inc. All Rights Reserved.