public class MProperties extends IProperties implements Externalizable
| Modifier and Type | Field and Description |
|---|---|
protected Properties |
properties |
| Constructor and Description |
|---|
MProperties() |
MProperties(Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
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() |
void |
readExternal(ObjectInput in) |
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() |
void |
writeExternal(ObjectOutput out) |
getBoolean, getBoolean, getCalendar, getDate, getDouble, getFloat, getInt, getLong, getNumber, getProperty, getString, getString, iterator, setBoolean, setCalendar, setDate, setDouble, setFloat, setInt, setLong, setNumber, setStringbase, base, createBase, forkBase, installBase, isBase, leaveBaseprotected Properties properties
public MProperties()
public MProperties(Properties properties)
public Object getProperty(String name)
IPropertiesgetProperty in class IPropertiespublic boolean isProperty(String name)
IPropertiesisProperty in class IPropertiespublic void removeProperty(String key)
IPropertiesremoveProperty in class IPropertiespublic void setProperty(String key, Object value)
IPropertiessetProperty in class IPropertiespublic boolean isEditable()
IPropertiesisEditable in class IPropertiespublic Set<String> keys()
keys in class IPropertiespublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2014. All rights reserved.