| |
|
| net.sf.javaguard.FileContainer
All known Subclasses: net.sf.javaguard.JarFileContainer, net.sf.javaguard.LocalDirectoryFileContainer,
FileContainer | public interface FileContainer (Code) | | The purpose of a FileContainer is to ease the handling of a list of files
created for example from the entries of a Jar file or from the contents of a
local directory that match a given regular expression.
author: Thorsten Heit |
enumeration | public Enumeration enumeration()(Code) | | Returns an enumeration of the elements of the file container. The
nextElement() method of such an enumeration must return a
subclass of
FileEntry .
an enumeration of the elements of the file container |
getFileNameSet | public SortedSet getFileNameSet()(Code) | | Returns a sorted set of the file names in this file container. Each
element in the set must be a string in which packages/directories are
separated by "/".
a sorted set of file names; must not be null |
getName | public String getName()(Code) | | Returns the name for the file container.
the name for the file container |
removeDuplicates | public void removeDuplicates(FileContainer fileContainer)(Code) | | Removes file entries in the current file container that are already
contained in the given file container.
Parameters: fileContainer - the file container to compare to |
|
|
|