Class WindowsFileName
- java.lang.Object
-
- org.apache.commons.vfs.provider.AbstractFileName
-
- org.apache.commons.vfs.provider.local.LocalFileName
-
- org.apache.commons.vfs.provider.local.WindowsFileName
-
- All Implemented Interfaces:
java.lang.Comparable
,FileName
public class WindowsFileName extends LocalFileName
A local file URI.- Version:
- $Revision: 480428 $ $Date: 2006-11-29 07:15:24 +0100 (Wed, 29 Nov 2006) $
- Author:
- Adam Murdoch
-
-
Field Summary
-
Fields inherited from interface org.apache.commons.vfs.FileName
ROOT_PATH, SEPARATOR, SEPARATOR_CHAR
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
WindowsFileName(java.lang.String scheme, java.lang.String rootFile, java.lang.String path, FileType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
appendRootUri(java.lang.StringBuffer buffer, boolean addPassword)
Builds the root URI for this file name.FileName
createName(java.lang.String path, FileType type)
Factory method for creating name instances.-
Methods inherited from class org.apache.commons.vfs.provider.local.LocalFileName
getRootFile
-
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
-
-
-
-
Constructor Detail
-
WindowsFileName
protected WindowsFileName(java.lang.String scheme, java.lang.String rootFile, java.lang.String path, FileType type)
-
-
Method Detail
-
createName
public FileName createName(java.lang.String path, FileType type)
Factory method for creating name instances.- Overrides:
createName
in classLocalFileName
-
appendRootUri
protected void appendRootUri(java.lang.StringBuffer buffer, boolean addPassword)
Builds the root URI for this file name.- Overrides:
appendRootUri
in classLocalFileName
-
-