public interface Util_InternMap
Modifier and Type | Interface and Description |
---|---|
static class |
Util_InternMap.ValueType |
Modifier and Type | Field and Description |
---|---|
static boolean |
DO_FORCE |
static boolean |
DO_NOT_FORCE |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(java.lang.String name) |
Util_Factory |
getFactory() |
java.lang.String |
getHashText() |
int |
getLogThreshHold() |
java.lang.String |
getName() |
int |
getSize() |
int |
getTotalLength() |
java.util.Collection<java.lang.String> |
getValues() |
Util_InternMap.ValueType |
getValueType() |
java.lang.String |
intern(java.lang.String name) |
java.lang.String |
intern(java.lang.String name,
boolean doForce) |
void |
log(com.ibm.websphere.ras.TraceComponent tc) |
void |
logState() |
java.lang.String |
validate(java.lang.String value,
Util_InternMap.ValueType valueType)
Check the input value for syntax errors based on the type of value.
|
static final boolean DO_FORCE
static final boolean DO_NOT_FORCE
java.lang.String getHashText()
int getLogThreshHold()
void logState()
void log(com.ibm.websphere.ras.TraceComponent tc)
Util_Factory getFactory()
java.lang.String getName()
java.lang.String validate(java.lang.String value, Util_InternMap.ValueType valueType)
The validate method will return a message key as the string if a validation error is found. The message key should exist in the NLS resource bundle used by the caller. The message key can then be passed to com.ibm.websphere.ras.Tr along with any substitution parameters for display in the log file.
value
- a String that contains the value to be validatedvalueType
- a ValueType that identifies the type of 'value'Util_InternMap.ValueType getValueType()
java.util.Collection<java.lang.String> getValues()
int getSize()
int getTotalLength()
boolean contains(java.lang.String name)
java.lang.String intern(java.lang.String name)
java.lang.String intern(java.lang.String name, boolean doForce)