|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectledge.parameters.DefaultParameters
org.objectledge.parameters.SortedParameters
public class SortedParameters
An implementation of parameters container which sorts parameter keys.
| Field Summary |
|---|
| Fields inherited from class org.objectledge.parameters.DefaultParameters |
|---|
map, TRUE |
| Constructor Summary | |
|---|---|
SortedParameters()
Create the empty container. |
|
SortedParameters(InputStream is,
String encoding)
Create the container and feed it with configuration given as string. |
|
SortedParameters(Parameters source)
Create the container as a copy of source container. |
|
SortedParameters(String configuration)
Create the container and feed it with configuration given as string. |
|
| Method Summary | |
|---|---|
protected void |
setupMap()
The chosen map implementation is a TreeMap. |
| Methods inherited from class org.objectledge.parameters.DefaultParameters |
|---|
add, add, add, add, add, add, add, add, add, add, add, add, add, get, get, getBoolean, getBoolean, getBooleans, getChild, getDate, getDate, getDates, getFloat, getFloat, getFloats, getInt, getInt, getInts, getLong, getLong, getLongs, getParameterNames, getSingleValue, getStrings, isDefined, remove, remove, remove, remove, remove, remove, remove, remove, removeExcept, set, set, set, set, set, set, set, set, set, set, set, set, set, toString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SortedParameters()
public SortedParameters(String configuration)
configuration - the string representation of the container.
public SortedParameters(InputStream is,
String encoding)
throws IOException,
UnsupportedEncodingException
is - the stream with byte representation of the container.encoding - the encoding of the source.
UnsupportedEncodingException - if the specified encoding is not supported by the JVM.
IOException - if there is an error reading data from the stream.public SortedParameters(Parameters source)
source - the source container.| Method Detail |
|---|
protected void setupMap()
TreeMap.
setupMap in class DefaultParameters
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||