public class MNls extends IProperties
MNls class.
| Modifier and Type | Field and Description |
|---|---|
protected String |
prefix |
protected Properties |
properties |
| Constructor and Description |
|---|
MNls()
Constructor for MNls.
|
MNls(Properties properties,
String prefix)
Constructor for MNls.
|
| Modifier and Type | Method and Description |
|---|---|
MNls |
createSubstitute(String prefix)
createSubstitute.
|
static String |
find(MNlsProvider provider,
String in)
find.
|
static String |
find(MNls nls,
String in)
find.
|
static String |
find(MNls nls,
String in,
Map<String,Object> attributes)
find.
|
String |
find(String in)
find.
|
String |
find(String in,
Map<String,Object> attributes)
find.
|
String |
find(String in,
String... strings)
find.
|
Object |
getProperty(String name)
Overwrite this function to provide values in string format.
|
boolean |
isEditable()
Overwrite this function and return true if the property set can be edited.
|
boolean |
isProperty(String name)
Return true if the property exists.
|
Set<String> |
keys()
keys.
|
static MNls |
lookup(Object owner)
lookup.
|
void |
removeProperty(String key)
Remove the property field in the list of properties.
|
void |
setProperty(String key,
Object value)
Overwrite this function to allow changes in properties.
|
String |
toString() |
getBoolean, getBoolean, getCalendar, getDate, getDouble, getFloat, getInt, getLong, getNumber, getProperty, getString, getString, iterator, setBoolean, setCalendar, setDate, setDouble, setFloat, setInt, setLong, setNumber, setString, toMapbase, base, createBase, forkBase, installBase, isBase, leaveBaseclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorprotected Properties properties
protected String prefix
public MNls()
Constructor for MNls.
public MNls(Properties properties, String prefix)
Constructor for MNls.
properties - a Properties object.prefix - a String object.public static String find(MNlsProvider provider, String in)
find.
provider - a MNlsProvider object.in - a String object.String object.public Object getProperty(String name)
getProperty in class IPropertiesname - a String object.public boolean isProperty(String name)
isProperty in class IPropertiesname - a String object.public void removeProperty(String key)
removeProperty in class IPropertieskey - a String object.public void setProperty(String key, Object value)
setProperty in class IPropertieskey - a String object.value - a Object object.public boolean isEditable()
isEditable in class IPropertiespublic Set<String> keys()
keys.
keys in class IPropertiesSet object.Copyright © 2016. All Rights Reserved.