file
Class FileGroup
java.lang.Object
file.FileGroup
public class FileGroup
- extends java.lang.Object
Constructor Summary |
FileGroup(java.io.File dir,
java.io.FileFilter fltr)
new FileGroup(dir, fltr) returns a new FileGroup containing the
files in dir that are accepted by fltr. |
FileGroup(java.io.File dir,
FileType ftyp)
new FileGroup(dir, ftyp) returns a new FileGroup containing the
files in dir of type ftyp. |
FileGroup(FileType ftyp)
new FileGroup(ftyp) returns a new FileGroup containing the
files in the current working directory of type ftyp. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileGroup
public FileGroup(FileType ftyp)
- new FileGroup(ftyp) returns a new FileGroup containing the
files in the current working directory of type ftyp.
FileGroup
public FileGroup(java.io.File dir,
FileType ftyp)
- new FileGroup(dir, ftyp) returns a new FileGroup containing the
files in dir of type ftyp.
FileGroup
public FileGroup(java.io.File dir,
java.io.FileFilter fltr)
- new FileGroup(dir, fltr) returns a new FileGroup containing the
files in dir that are accepted by fltr.
refresh
public void refresh()
setDirectory
public void setDirectory(java.io.File dir)
getFileCount
public int getFileCount()
getFile
public java.io.File getFile(int i)
getMaxWidth
public int getMaxWidth()
getMaxHeight
public int getMaxHeight()