All Packages Class Hierarchy This Package Previous Next Index
Class framework.io.FileStore
java.lang.Object
|
+----framework.io.FileStore
- public class FileStore
- extends Object
- implements Store, Cloneable
This class implements a Store for Files using java.util.Vector.
Specific class of meant-to-be-generic class java.util.Vector.
This class really should be a subclass of java.util.Vector,
but most members of java.util.Vector are final.
- Version:
- $Revision: 1.1 $
-
list
-
-
FileStore()
-
-
add(File)
-
-
add(StoreElement)
- This Store should work on Files instead of StoreElements,
but method add(StoreElement) is in the interface this class
implements.
-
at(int)
-
-
clone()
- Clone the filestore.
-
elements()
- This method is here because it is specified in the interface
Store.
-
files()
-
-
first()
-
-
insertElementAt(File, int)
-
-
last()
-
-
removeAll()
-
-
removeAt(int)
-
-
size()
-
-
toString()
-
list
private Vector list
FileStore
public FileStore()
add
public void add(File c)
add
public void add(StoreElement item)
- This Store should work on Files instead of StoreElements,
but method add(StoreElement) is in the interface this class
implements.
at
public File at(int index)
first
public File first()
removeAt
public void removeAt(int index)
removeAll
public void removeAll()
size
public int size()
files
public Enumeration files()
last
public File last()
elements
public Enumeration elements()
- This method is here because it is specified in the interface
Store. Given that this store only works with files, it
makes more sense to name this method files(). This method
just refers to files() for its result.
insertElementAt
public void insertElementAt(File file,
int index)
toString
public String toString()
- Overrides:
- toString in class Object
clone
public Object clone()
- Clone the filestore.
- Overrides:
- clone in class Object
All Packages Class Hierarchy This Package Previous Next Index