org.apache.commons.vfs.impl
Class VirtualFileName

java.lang.Object
  extended byorg.apache.commons.vfs.provider.AbstractFileName
      extended byorg.apache.commons.vfs.impl.VirtualFileName
All Implemented Interfaces:
Comparable, FileName

public class VirtualFileName
extends AbstractFileName

A simple Filename to hold the scheme for to be created virtual filesytsem.

Version:
$Revision: 191547 $ $Date: 2005-06-20 21:50:28 +0200 (Mon, 20 Jun 2005) $
Author:
imario@apache.org

Field Summary
 
Fields inherited from interface org.apache.commons.vfs.FileName
ROOT_PATH, SEPARATOR, SEPARATOR_CHAR
 
Constructor Summary
VirtualFileName(String scheme, String absPath)
           
 
Method Summary
protected  void appendRootUri(StringBuffer buffer)
          Builds the root URI for this file name.
 FileName createName(String absPath)
          Factory method for creating name instances.
 
Methods inherited from class org.apache.commons.vfs.provider.AbstractFileName
checkName, compareTo, createURI, equals, getBaseName, getDepth, getExtension, getParent, getPath, getPathDecoded, getRelativeName, getRoot, getRootURI, getScheme, getURI, hashCode, isAncestor, isDescendent, isDescendent, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VirtualFileName

public VirtualFileName(String scheme,
                       String absPath)
Method Detail

createName

public FileName createName(String absPath)
Description copied from class: AbstractFileName
Factory method for creating name instances.

Specified by:
createName in class AbstractFileName

appendRootUri

protected void appendRootUri(StringBuffer buffer)
Description copied from class: AbstractFileName
Builds the root URI for this file name. Note that the root URI must not end with a separator character.

Specified by:
appendRootUri in class AbstractFileName


Copyright © 2002-2005 The Apache Software Foundation. All Rights Reserved.