Project CASUAL
API for CASUAL
 All Classes Namespaces Functions Variables
Public Member Functions | List of all members
CASUAL.misc.LinkedProperties Class Reference
Inheritance diagram for CASUAL.misc.LinkedProperties:

Public Member Functions

Enumeration< Object > keys ()
 
Object put (Object key, Object value)
 
Set< String > stringPropertyNames ()
 
Enumeration< Object > keys ()
 
Object put (Object key, Object value)
 
Set< String > stringPropertyNames ()
 

Detailed Description

LinkedProperties allows for a static order to be placed on a properties file rather than random/last-modified order generally used in writing a properties file.

Author
Adam Outler adamo.nosp@m.utle.nosp@m.r@gma.nosp@m.il.c.nosp@m.om inspiredBy http://stackoverflow.com/questions/1312383/pulling-values-from-a-java-properties-file-in-order

Member Function Documentation

Enumeration<Object> CASUAL.misc.LinkedProperties.keys ( )

gets the keys in the properties list

Returns
all the keys in the properties list
Enumeration<Object> CASUAL.misc.LinkedProperties.keys ( )

gets the keys in the properties list

Returns
all the keys in the properties list
Object CASUAL.misc.LinkedProperties.put ( Object  key,
Object  value 
)

puts a value into the properties list

Parameters
keykey to set in ordered list
valuevalue to set ordered list
Returns
the previous value or null if one did not exist.
Object CASUAL.misc.LinkedProperties.put ( Object  key,
Object  value 
)

puts a value into the properties list

Parameters
keykey to set in ordered list
valuevalue to set ordered list
Returns
the previous value or null if one did not exist.
Set<String> CASUAL.misc.LinkedProperties.stringPropertyNames ( )

gets names of the properties in the list

Returns
set of propertiy names
Set<String> CASUAL.misc.LinkedProperties.stringPropertyNames ( )

gets names of the properties in the list

Returns
set of propertiy names

The documentation for this class was generated from the following file: