|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.millscript.commons.vfs.util.ChrootVolume
public class ChrootVolume
This class implements a Unix style chroot volume, which can have its real root at any virtual folder.
| Constructor Summary | |
|---|---|
ChrootVolume(VFolder root)
Constructs a new chroot volume with the specified folder as its root. |
|
| Method Summary | |
|---|---|
java.lang.StringBuffer |
appendBaseURI(java.lang.StringBuffer buffer)
Appends the base URI of this volume to the specified string buffer. |
VFS |
getParentVFS()
Returns the parent VFS, that which created this URI scheme handler. |
VFolder |
getRootVFolder()
Returns the root VFolder for this virtual volume. |
java.net.URI |
getURI()
Returns the URI for the root of this virtual filesystem volume. |
ChrootFolder |
makeRootVFolder(VFolder parent)
Constructs the root folder for this volume, with the specified parent folder and returns it. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ChrootVolume(VFolder root)
root - the root folder for the chroot volume| Method Detail |
|---|
public java.lang.StringBuffer appendBaseURI(java.lang.StringBuffer buffer)
VVolume
appendBaseURI in interface VVolumebuffer - the string buffer to append the base URI to
VVolume.appendBaseURI(java.lang.StringBuffer)public VFolder getRootVFolder()
VVolume
getRootVFolder in interface VVolumeVVolume.getRootVFolder()public java.net.URI getURI()
VVolume
getURI in interface VVolumeVVolume.getURI()public ChrootFolder makeRootVFolder(VFolder parent)
parent - the virtual folder for the source of this volume
public VFS getParentVFS()
VVolume
getParentVFS in interface VVolumeVVolume.getParentVFS()public final java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||