com.insightful.splus.client
Class SessionProfileList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.AbstractSequentialList<E>
java.util.LinkedList
com.insightful.splus.client.SessionProfileList
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable, Collection, List, Queue
public class SessionProfileList
- extends LinkedList
LinkedList of SessionProfile objects. The default LinkedList methods are
used without additional type checking, so it is the programmer's
responsibility to only add SessionProfile objects to this list. Also,
items retrieved from the list need to be cast to (SessionProfile).
- See Also:
- Serialized Form
Constructor Summary |
SessionProfileList()
Initializes the SessionProfileList to an empty list or the saved
profiles. |
Method Summary |
String[] |
getProfileNames()
Get a String [] of the profile names. |
void |
load()
Load the profile list from the defaults file. |
protected Vector |
readXML(Reader in)
Read an XML file written by writeXML() and return a Vector of
SessionProfile objects. |
void |
store()
Store the profile list in the defaults file. |
protected void |
writeXML(PrintWriter out)
Write the profile list as XML |
Methods inherited from class java.util.LinkedList |
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, peek, poll, remove, remove, remove, removeFirst, removeLast, set, size, toArray, toArray |
SessionProfileList
public SessionProfileList()
- Initializes the SessionProfileList to an empty list or the saved
profiles.
getProfileNames
public String[] getProfileNames()
- Get a String [] of the profile names.
load
public void load()
- Load the profile list from the defaults file. If the file is not
found or does not contain a SessionProfileList then the default is to
create an empty profile list.
store
public void store()
- Store the profile list in the defaults file.
writeXML
protected void writeXML(PrintWriter out)
- Write the profile list as XML
readXML
protected Vector readXML(Reader in)
- Read an XML file written by writeXML() and return a Vector of
SessionProfile objects.
Copyright © 2000, 2002 Insightful Corporation
Warning: Classes not documented in the S-PLUS Programmer's Guide may change in future releases.