|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectspin.demo.complex.FileService
public class FileService
Implementation of a file service.
| Constructor Summary | |
|---|---|
FileService()
Constructor. |
|
FileService(java.io.File root)
Constructor. |
|
FileService(java.io.File root,
java.io.FileFilter filter)
Constructor. |
|
FileService(java.lang.String root)
Constructor. |
|
| Method Summary | |
|---|---|
Directory[] |
getChildren(Directory directory)
Get the children of a directory. |
Directory |
getRoot()
Get the root directory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileService()
public FileService(java.lang.String root)
root - root of this file servicepublic FileService(java.io.File root)
root - root of this file service
public FileService(java.io.File root,
java.io.FileFilter filter)
root - root of this file servicefilter - filter of this file service| Method Detail |
|---|
public Directory getRoot()
getRoot in interface DirectoryService
public Directory[] getChildren(Directory directory)
throws DirectoryServiceException
getChildren in interface DirectoryServicedirectory - directory to get children for
DirectoryServiceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||