|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.vfs.filebrowser.VFSBrowsingAdapter
public class VFSBrowsingAdapter
| Constructor Summary | |
|---|---|
VFSBrowsingAdapter()
|
|
| Method Summary | |
|---|---|
java.util.List<VFSDirectoryDescriptor> |
getChildDirectories(DirectoryDescriptor d, User u)
returns the DirectoryDescriptors for the given DirectoryDescriptor. |
VFSDirectoryDescriptor |
getDirectoryDescriptor(java.net.URI dirUri, User u)
returns a DirectoryDescriptor for the given URI . |
FileDescriptor |
getFileDescriptor(java.net.URI fileUri, User u)
returns a FileDescriptor for the given URI. |
java.util.List<? extends FileDescriptor> |
getFiles(DirectoryDescriptor d, User u)
returns the FileDescriptors for the DirectoryDescriptor. |
java.util.List<VFSDirectoryDescriptor> |
getRootDirectories(User u)
returns the root directories of the VFSBrowsingAdapter. |
void |
setBaseURI(java.net.URI uri)
sets the base URI for the VFSBrowsingAdapter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VFSBrowsingAdapter()
| Method Detail |
|---|
public final void setBaseURI(java.net.URI uri)
VFSBrowsingAdapter.
setBaseURI in interface BrowsingAdapteruri - the base URI for the VFSBrowsingAdapterBrowsingAdapter.setBaseURI(java.net.URI)
public final java.util.List<VFSDirectoryDescriptor> getRootDirectories(User u)
throws java.io.IOException
VFSBrowsingAdapter.
getRootDirectories in interface BrowsingAdapteru - the User used for access
VFSBrowsingAdapter
java.io.IOException - on I/O errorspublic final java.util.List<VFSDirectoryDescriptor> getChildDirectories(DirectoryDescriptor d, User u)
DirectoryDescriptors for the given DirectoryDescriptor.
getChildDirectories in interface BrowsingAdapterd - the directoryu - the user for access checks
DirectoryDescriptors for the given DirectoryDescriptorpublic final java.util.List<? extends FileDescriptor> getFiles(DirectoryDescriptor d, User u)
FileDescriptors for the DirectoryDescriptor.
getFiles in interface BrowsingAdapterd - the directoryu - the user for access checks
FileDescriptors for the DirectoryDescriptor.public final VFSDirectoryDescriptor getDirectoryDescriptor(java.net.URI dirUri, User u)
DirectoryDescriptor for the given URI .
getDirectoryDescriptor in interface BrowsingAdapterdirUri - the URIu - the user for access checks
DirectoryDescriptor for the given URI , or
null, if either the URI does not denote a
directory, the URI does not exist or the URI is
not below the base path.public final FileDescriptor getFileDescriptor(java.net.URI fileUri, User u)
FileDescriptor for the given URI.
getFileDescriptor in interface BrowsingAdapterfileUri - the URIu - the User used for access
FileDescriptor for the given URI, or null, if either the URI does not denote a file, the
URI does not exist or the URI is not below the
base path.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||