org.apache.commons.vfs.provider.local
Class LocalFileName
java.lang.Object
org.apache.commons.vfs.provider.AbstractFileName
org.apache.commons.vfs.provider.local.LocalFileName
- All Implemented Interfaces:
- Comparable, FileName
- Direct Known Subclasses:
- WindowsFileName
- public class LocalFileName
- extends AbstractFileName
A local file URI.
- Version:
- $Revision: 480428 $ $Date: 2006-11-29 07:15:24 +0100 (Mi, 29 Nov 2006) $
- Author:
- Adam Murdoch
Methods inherited from class org.apache.commons.vfs.provider.AbstractFileName |
checkName, compareTo, createURI, equals, getBaseName, getDepth, getExtension, getFriendlyURI, getParent, getPath, getPathDecoded, getRelativeName, getRoot, getRootURI, getScheme, getType, getURI, getUriTrailer, hashCode, isAncestor, isDescendent, isDescendent, toString |
LocalFileName
protected LocalFileName(String scheme,
String rootFile,
String path,
FileType type)
getRootFile
public String getRootFile()
- Returns the root file for this file.
createName
public FileName createName(String path,
FileType type)
- Factory method for creating name instances.
- Specified by:
createName
in class AbstractFileName
appendRootUri
protected void appendRootUri(StringBuffer buffer,
boolean addPassword)
- Builds the root URI for this file name.
- Specified by:
appendRootUri
in class AbstractFileName
Copyright © 2002-2006 The Apache Software Foundation. All Rights Reserved.