Package | Description |
---|---|
org.xins.common.collections |
Collection-related utility classes.
|
org.xins.common.servlet |
Servlet-related utility classes.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractPropertyReader
Base for
PropertyReader implementations that use an underlying
Map instance. |
class |
BasicPropertyReader
Modifiable implementation of a property reader.
|
class |
PropertiesPropertyReader
Property reader based on a
Properties object. |
class |
ProtectedPropertyReader
Modifiable
PropertyReader implementaton that can be protected
from unauthorized changes. |
class |
StatsPropertyReader
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
static PropertyReader |
PropertyReaderUtils.EMPTY_PROPERTY_READER
Deprecated.
An empty and unmodifiable
PropertyReader instance. |
Modifier and Type | Method and Description |
---|---|
static PropertyReader |
PropertyReaderUtils.createPropertyReader(InputStream in)
Deprecated.
Constructs a
PropertyReader from the specified input
stream. |
PropertyReader |
StatsPropertyReader.getUnused()
Deprecated.
Retrieves the set of unused properties.
|
Modifier and Type | Method and Description |
---|---|
void |
ProtectedPropertyReader.copyFrom(Object secretKey,
PropertyReader source)
Copies all entries from the specified property reader into this one.
|
static boolean |
PropertyReaderUtils.equals(PropertyReader pr,
Object toCompare)
Deprecated.
Compares a
PropertyReader instance with another object for
equality. |
static boolean |
PropertyReaderUtils.getBooleanProperty(PropertyReader properties,
String propertyName,
boolean fallbackDefault)
Deprecated.
Gets the property with the specified name and converts it to a
boolean . |
static int |
PropertyReaderUtils.getIntProperty(PropertyReader properties,
String propertyName)
Deprecated.
Gets the property with the specified name and converts it to an
int . |
static String |
PropertyReaderUtils.getRequiredProperty(PropertyReader properties,
String name)
Deprecated.
Retrieves the specified property and throws a
MissingRequiredPropertyException if it is not set. |
String |
PropertyReaderUtils.getWithDefault(PropertyReader properties,
String key,
String fallbackValue)
Deprecated.
Retrieves a property with the specified name, falling back to a default
value if the property is not set.
|
static int |
PropertyReaderUtils.hashCode(PropertyReader pr)
Deprecated.
Computes a hash code value for the specified
PropertyReader
object. |
static void |
PropertyReaderUtils.serialize(PropertyReader properties,
FastStringBuffer buffer,
String valueIfEmpty)
Deprecated.
since XINS 2.0, use
PropertyReaderUtils.toString(PropertyReader, String) |
static Properties |
PropertyReaderConverter.toProperties(PropertyReader propertyReader)
Deprecated.
Converts the specified
PropertyReader object to a new
Properties object. |
static String |
PropertyReaderUtils.toString(PropertyReader properties)
Deprecated.
Returns the String representation of the specified
PropertyReader . |
static String |
PropertyReaderUtils.toString(PropertyReader properties,
String valueIfEmpty)
Deprecated.
Serializes the specified
PropertyReader to a
String . |
static String |
PropertyReaderUtils.toString(PropertyReader properties,
String valueIfEmpty,
String prefixIfNotEmpty,
String suffix)
Deprecated.
Returns the
String representation for the specified
PropertyReader . |
static String |
PropertyReaderUtils.toString(PropertyReader properties,
String valueIfEmpty,
String prefixIfNotEmpty,
String suffix,
int maxValueLength)
Deprecated.
Returns the
String representation for the specified
PropertyReader . |
Constructor and Description |
---|
StatsPropertyReader(PropertyReader source)
Deprecated.
Constructs a new
StatsPropertyReader based on the specified
PropertyReader . |
Modifier and Type | Class and Description |
---|---|
class |
ServletConfigPropertyReader
Deprecated.
|
class |
ServletRequestPropertyReader
Deprecated.
|
See http://www.xins.org/.