com.sshtools.common.mru
Class MRUList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.Vector
              extended by com.sshtools.common.mru.MRUList
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess

public class MRUList
extends java.util.Vector

Version:
$Revision: 1.1 $
Author:
$author$
See Also:
Serialized Form

Nested Class Summary
 class MRUList.ElementWrapper
           
private  class MRUList.MRUSAXHandler
           
 
Field Summary
private  java.lang.String currentElement
           
private static java.lang.String FILE_ELEMENT
           
private static org.apache.commons.logging.Log log
           
private static java.lang.String MRU_LIST_ELEMENT
           
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
MRUList()
          Creates a new MRUList object.
MRUList(java.io.InputStream in)
          Creates a new MRUList object.
 
Method Summary
 void reload(java.io.InputStream in)
           
 java.lang.String toString()
           
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Field Detail

log

private static org.apache.commons.logging.Log log

MRU_LIST_ELEMENT

private static final java.lang.String MRU_LIST_ELEMENT
See Also:
Constant Field Values

FILE_ELEMENT

private static final java.lang.String FILE_ELEMENT
See Also:
Constant Field Values

currentElement

private java.lang.String currentElement
Constructor Detail

MRUList

public MRUList()
Creates a new MRUList object.


MRUList

public MRUList(java.io.InputStream in)
        throws org.xml.sax.SAXException,
               javax.xml.parsers.ParserConfigurationException,
               java.io.IOException
Creates a new MRUList object.

Parameters:
in -
Throws:
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
java.io.IOException
Method Detail

reload

public void reload(java.io.InputStream in)
            throws org.xml.sax.SAXException,
                   javax.xml.parsers.ParserConfigurationException,
                   java.io.IOException
Parameters:
in -
Throws:
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class java.util.Vector
Returns: