spin.demo.complex

Interface DirectoryService

public interface DirectoryService

A common interface for a directory service.

Method Summary

Directory[]
getChildren(Directory directory)
Get the children of a directory.
Directory
getRoot()
Get the root directory.

Method Details

getChildren

public Directory[] getChildren(Directory directory)
            throws DirectoryServiceException
Get the children of a directory.
Parameters:
directory - directory to get children for
Returns:
children

getRoot

public Directory getRoot()
Get the root directory.
Returns:
the root directory