Class WindowsFileName
java.lang.Object
org.apache.commons.vfs2.provider.AbstractFileName
org.apache.commons.vfs2.provider.local.LocalFileName
org.apache.commons.vfs2.provider.local.WindowsFileName
- All Implemented Interfaces:
- Comparable<FileName>,- FileName
A local file URI.
- 
Field SummaryFields inherited from interface org.apache.commons.vfs2.FileNameEMPTY_ARRAY, ROOT_PATH, SEPARATOR, SEPARATOR_CHAR
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedWindowsFileName(String scheme, String rootFile, String path, FileType type) Constructs a new instance.
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidappendRootUri(StringBuilder buffer, boolean addPassword) Builds the root URI for this file name.createName(String path, FileType type) Factory method for creating name instances.Methods inherited from class org.apache.commons.vfs2.provider.local.LocalFileNamegetRootFile, toStringMethods inherited from class org.apache.commons.vfs2.provider.AbstractFileNamecheckName, compareTo, createURI, equals, getBaseName, getDepth, getExtension, getFriendlyURI, getParent, getPath, getPathDecoded, getRelativeName, getRoot, getRootURI, getScheme, getType, getURI, getUriTrailer, hashCode, isAncestor, isDescendent, isDescendent, isFile
- 
Constructor Details- 
WindowsFileNameConstructs a new instance.- Parameters:
- scheme- the scheme.
- rootFile- the root file.
- path- the absolute path, maybe empty or null.
- type- the file type.
 
 
- 
- 
Method Details- 
appendRootUriBuilds the root URI for this file name.- Overrides:
- appendRootUriin class- LocalFileName
- Parameters:
- buffer- A StringBuilder to use to construct the URI.
- addPassword- true if the password should be added, false otherwise.
 
- 
createNameFactory method for creating name instances.- Overrides:
- createNamein class- LocalFileName
- Parameters:
- path- The file path.
- type- The file type.
- Returns:
- The FileName.
 
 
-