|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.prefs.AbstractPrefEntry
wt.prefs.FilePrefEntry
Supported API: true
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
Fields inherited from class wt.prefs.AbstractPrefEntry |
|
Fields inherited from interface wt.prefs.PrefEntry |
CONTEXT, NAME, NODE, PARENT, VALUE |
Constructor Summary | |
FilePrefEntry()
Supported API: false |
|
FilePrefEntry(String parent,
String node,
String context,
String name,
String value)
Supported API: false |
Method Summary | |
String[] |
children(String[] search_context)
Will return all the children of the given node Supported API: false |
void |
delete()
Supported API: false |
void |
persist()
Supported API: false |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(FilePrefEntry thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
PrefEntry |
retrieve()
Supported API: false |
PrefEntry[] |
retrieveAll()
Supported API: false |
ArrayList |
search(String search,
String[] contexts,
boolean isLike)
This will search the Preference Entry for the search string. |
void |
update()
Supported API: false |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class wt.prefs.AbstractPrefEntry |
getContext, getName, getNode, getParent, getValue, readVersion, setContext, setName, setNode, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public FilePrefEntry() throws WTException
WTException
public FilePrefEntry(String parent, String node, String context, String name, String value) throws WTException
parent
- node
- context
- name
- value
-
WTException
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class AbstractPrefEntry
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class AbstractPrefEntry
input
-
IOException
ClassNotFoundException
protected boolean readVersion(FilePrefEntry thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public void delete()
delete
in interface PrefEntry
delete
in class AbstractPrefEntry
public PrefEntry retrieve()
retrieve
in interface PrefEntry
retrieve
in class AbstractPrefEntry
public void update()
update
in interface PrefEntry
update
in class AbstractPrefEntry
public void persist()
persist
in interface PrefEntry
persist
in class AbstractPrefEntry
public PrefEntry[] retrieveAll()
retrieveAll
in interface PrefEntry
retrieveAll
in class AbstractPrefEntry
public String[] children(String[] search_context)
children
in interface PrefEntry
children
in class AbstractPrefEntry
search_context
-
public ArrayList search(String search, String[] contexts, boolean isLike) throws WTException
search
in interface PrefEntry
search
in class AbstractPrefEntry
search
- The string to search forcontexts
- The list of search contexts to use for the search.isLike
- Whether the search is a LIKE search or exact match
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |