C G P

C

com.thetransactioncompany.util - package com.thetransactioncompany.util
This package provides a Java utility for typed retrieval of java.util.Properties as boolean, integer, floating point, string, enum and URL values.

G

getBoolean(String) - Method in class com.thetransactioncompany.util.PropertyRetriever
Retrieves a boolean value.
getDouble(String) - Method in class com.thetransactioncompany.util.PropertyRetriever
Retrieves a double value.
getEnum(String, Class<T>) - Method in class com.thetransactioncompany.util.PropertyRetriever
Retrieves an enumerated constant.
getEnumString(String, String[]) - Method in class com.thetransactioncompany.util.PropertyRetriever
Retrieves an enumerated string value.
getFloat(String) - Method in class com.thetransactioncompany.util.PropertyRetriever
Retrieves a float value.
getInt(String) - Method in class com.thetransactioncompany.util.PropertyRetriever
Retrieves an integer value.
getLong(String) - Method in class com.thetransactioncompany.util.PropertyRetriever
Retrieves a long value.
getOptBoolean(String, boolean) - Method in class com.thetransactioncompany.util.PropertyRetriever
Retrieves an optional boolean value.
getOptDouble(String, double) - Method in class com.thetransactioncompany.util.PropertyRetriever
Retrieves an optional double value.
getOptEnum(String, Class<T>, T) - Method in class com.thetransactioncompany.util.PropertyRetriever
Retrieves an optional enumerated constant.
getOptEnumString(String, String[], String) - Method in class com.thetransactioncompany.util.PropertyRetriever
Retrieves an enumerated string value.
getOptFloat(String, float) - Method in class com.thetransactioncompany.util.PropertyRetriever
Retrieves an optional float value.
getOptInt(String, int) - Method in class com.thetransactioncompany.util.PropertyRetriever
Retrieves an optional integer value.
getOptLong(String, long) - Method in class com.thetransactioncompany.util.PropertyRetriever
Retrieves an optional long value.
getOptString(String, String) - Method in class com.thetransactioncompany.util.PropertyRetriever
Retrieves an optional string value.
getOptURL(String, URL) - Method in class com.thetransactioncompany.util.PropertyRetriever
Retrieves an optional URL value.
getPropertyKey() - Method in exception com.thetransactioncompany.util.PropertyParseException
Returns the key of the property that caused the exception, null if unknown or not applicable.
getPropertyValue() - Method in exception com.thetransactioncompany.util.PropertyParseException
Returns the value of the property that caused the exception, null if unknown or not applicable.
getServletCtxInitParameters(ServletContext) - Static method in class com.thetransactioncompany.util.PropertyConverter
Converts the servlet context initialisation parameters (typically specified in the web.xml file) to a Java properties hashtable.
getServletInitParameters(ServletConfig) - Static method in class com.thetransactioncompany.util.PropertyConverter
Converts the servlet initialisation parameters (typically specified in the web.xml file) to a Java properties hashtable.
getString(String) - Method in class com.thetransactioncompany.util.PropertyRetriever
Retrieves a string value.
getURL(String) - Method in class com.thetransactioncompany.util.PropertyRetriever
Retrieves a URL value.

P

PropertyConverter - Class in com.thetransactioncompany.util
Static utility methods for converting servlet and context initialisation parameters to Java properties.
PropertyConverter() - Constructor for class com.thetransactioncompany.util.PropertyConverter
 
PropertyParseException - Exception in com.thetransactioncompany.util
Thrown on a property parse exception.
PropertyParseException(String) - Constructor for exception com.thetransactioncompany.util.PropertyParseException
Creates a new property parse exception with the specified message.
PropertyParseException(String, String) - Constructor for exception com.thetransactioncompany.util.PropertyParseException
Creates a new property parse exception with the specified message and property key.
PropertyParseException(String, String, String) - Constructor for exception com.thetransactioncompany.util.PropertyParseException
Creates a new property parse exception with the specified message, property key and property value.
PropertyRetriever - Class in com.thetransactioncompany.util
Provides typed retrieval of Properties as boolean, int, long, float, double, String, URL or enum values.
PropertyRetriever(Properties) - Constructor for class com.thetransactioncompany.util.PropertyRetriever
Creates a new retriever for the specified properties.

C G P

Copyright © 2013 The Transaction Company. All Rights Reserved.