org.millscript.commons.vfs.util
Class SimpleVolume

java.lang.Object
  extended by org.millscript.commons.vfs.AbstractVVolume
      extended by org.millscript.commons.vfs.util.SimpleVolume
All Implemented Interfaces:
org.millscript.commons.alert.AlertDecorator, VVolume

public class SimpleVolume
extends AbstractVVolume

This class provides a simple volume, which is a non-existant volume using a virtual filesystem folder as its root.


Constructor Summary
SimpleVolume(VFolder rootFolder)
          Constructs a new simple volume for the specified folder.
 
Method Summary
 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.
 
Methods inherited from class org.millscript.commons.vfs.AbstractVVolume
appendBaseURI, decorate, getParentVFS, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleVolume

public SimpleVolume(VFolder rootFolder)
Constructs a new simple volume for the specified folder.

Parameters:
rootFolder - the VFolder that is the root of this volume
Method Detail

getURI

public java.net.URI getURI()
Description copied from interface: VVolume
Returns the URI for the root of this virtual filesystem volume.

Returns:
a URI for this volume
See Also:
VVolume.getURI()

getRootVFolder

public VFolder getRootVFolder()
Description copied from interface: VVolume
Returns the root VFolder for this virtual volume.

Returns:
the VFolder for the root of this volume
See Also:
VVolume.getRootVFolder()


Copyright © 2005-2007 Open World Ltd. All Rights Reserved.