|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.Vector
com.mucommander.file.util.FileSet
public class FileSet
FileSet is a java.util.Vector of AbstractFile instances, and an optional base folder which is
the folder containing the files.
| Field Summary |
|---|
| Fields inherited from class java.util.Vector |
|---|
capacityIncrement, elementCount, elementData |
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
FileSet()
Creates a new empty FileSet. |
|
FileSet(AbstractFile baseFolder)
Creates a new empty FileSet with the specified base folder. |
|
FileSet(AbstractFile baseFolder,
AbstractFile file)
Creates a new empty FileSet with the specified base folder, and adds the given file. |
|
| Method Summary | |
|---|---|
void |
addFiles(AbstractFile[] files)
Adds all the files in the given array to this FileSet. |
AbstractFile |
fileAt(int i)
Convenience method that returns the AbstractFile located at the specified position. |
AbstractFile |
getBaseFolder()
Returns the base folder associated with this FileSet, null if there isn't any. |
| 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, toString, 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 |
| Constructor Detail |
|---|
public FileSet()
public FileSet(AbstractFile baseFolder)
baseFolder - the folder containing the files
public FileSet(AbstractFile baseFolder,
AbstractFile file)
baseFolder - the folder containing the filesfile - the file to add| Method Detail |
|---|
public AbstractFile getBaseFolder()
null if there isn't any.
public AbstractFile fileAt(int i)
AbstractFile located at the specified position.
i - index of the file to retrieve
public void addFiles(AbstractFile[] files)
null
- Parameters:
files - the files to add to this FileSet.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This file is part of muCommander - Copyright (C) 2002-2008 Maxence Bernard