|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rbnb.api.Directory
public final class Directory
Directory class.
This class allows a user to work with a java.io.File object
that represents a directory.
This class exists because some early versions of Java do not support the
java.io.File.listFiles method.
File| Constructor Summary | |
|---|---|
Directory(File directoryI)
Class constructor to build a Directory for a
java.io.File. |
|
| Method Summary | |
|---|---|
File[] |
listFiles()
Gets a list of files in the directory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Directory(File directoryI)
Directory for a
java.io.File.
directoryI - the java.io.File representing the
directory.| Method Detail |
|---|
public final File[] listFiles()
throws IOException
File objects.
IOException - if an I/O exception occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||