|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.millscript.commons.vfs.AbstractVEntry<V>
org.millscript.commons.vfs.AbstractVFolder<HttpVolume>
org.millscript.commons.vfs.protocols.http.HttpFolder
public class HttpFolder
This class implements a virtual filesystem folder for an HTTP filesystem folder.
| Method Summary | |
|---|---|
VEntry |
checkVEntry(java.lang.String segment)
Returns the entry for the child with the specified name, but only if it exists and throws an exception otherwise. |
HttpFile |
checkVFile(java.lang.String segment)
Returns the entry for the child file with the specified name, but only if it exists and throws an exception otherwise. |
HttpFolder |
checkVFolder(java.lang.String segment)
Returns the entry for the child folder with the specified name, but only if it exists and throws an exception otherwise. |
boolean |
exists()
Tests to see if the entry exits. |
HttpFile |
getVFile(java.lang.String segment)
Returns the entry for the child file with the specified name. |
HttpFolder |
getVFolder(java.lang.String segment)
Returns the entry for the child folder with the specified name. |
java.util.List<VEntry> |
listEntries()
Returns a list of all the child entries in this folder. |
java.util.List<VFile> |
listFiles()
Returns a list of all the child files in this folder. |
java.util.List<VFolder> |
listFolders()
Returns a list of all the child folders in this folder. |
VFolder |
make()
Makes this folder in the volume. |
| Methods inherited from class org.millscript.commons.vfs.AbstractVFolder |
|---|
appendRelativePath, appendRelativePathOnVolume, appendURI, chroot, decorate, make, resolveAsFile, resolveAsFolder, resolveAsVolume, toLocal, toString, toVolume |
| Methods inherited from class org.millscript.commons.vfs.AbstractVEntry |
|---|
appendAbsolutePath, appendAbsolutePathOnVolume, getAbsolutePath, getAbsolutePathOnVolume, getMIMEType, getMIMETypeHandler, getName, getParent, getRelativePath, getRelativePathOnVolume, getURI, getVolume |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.millscript.commons.vfs.VEntry |
|---|
appendAbsolutePath, appendAbsolutePathOnVolume, getAbsolutePath, getAbsolutePathOnVolume, getMIMEType, getMIMETypeHandler, getName, getParent, getRelativePath, getRelativePathOnVolume, getURI, getVolume |
| Method Detail |
|---|
public VEntry checkVEntry(java.lang.String segment)
VFolder
segment - the name of the required child
VFolder.checkVEntry(java.lang.String)public HttpFile checkVFile(java.lang.String segment)
VFolder
segment - the name of the required child file
VFolder.checkVFile(java.lang.String)public HttpFolder checkVFolder(java.lang.String segment)
VFolder
segment - the name of the required child folder
VFolder.checkVFolder(java.lang.String)public boolean exists()
VEntry
true if this entry exits and false
otherwiseVEntry.exists()public HttpFile getVFile(java.lang.String segment)
VFolder
segment - the name of the required child file
VFolder.getVFile(java.lang.String)public HttpFolder getVFolder(java.lang.String segment)
VFolder
segment - the name of the required child folder
VFolder.getVFolder(java.lang.String)public java.util.List<VEntry> listEntries()
VFolder
VFolder.listEntries()public java.util.List<VFile> listFiles()
VFolder
VFolder.listFiles()public java.util.List<VFolder> listFolders()
VFolder
VFolder.listFolders()public VFolder make()
VFolder
VFolder.make()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||