Class UrlFileName
java.lang.Object
org.apache.commons.vfs2.provider.AbstractFileName
org.apache.commons.vfs2.provider.GenericFileName
org.apache.commons.vfs2.provider.URLFileName
org.apache.commons.vfs2.provider.url.UrlFileName
- All Implemented Interfaces:
- Comparable<FileName>,- FileName
A URL FileName.
- 
Field SummaryFields inherited from interface org.apache.commons.vfs2.FileNameEMPTY_ARRAY, ROOT_PATH, SEPARATOR, SEPARATOR_CHAR
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidappendRootUri(StringBuilder buffer, boolean addPassword) Builds the root URI for this file name.Methods inherited from class org.apache.commons.vfs2.provider.URLFileNamecreateName, createURI, getPathQuery, getPathQueryEncoded, getQueryString, getURIEncodedMethods inherited from class org.apache.commons.vfs2.provider.GenericFileNameappendCredentials, getDefaultPort, getHostName, getPassword, getPort, getUserNameMethods inherited from class org.apache.commons.vfs2.provider.AbstractFileNamecheckName, compareTo, equals, getBaseName, getDepth, getExtension, getFriendlyURI, getParent, getPath, getPathDecoded, getRelativeName, getRoot, getRootURI, getScheme, getType, getURI, getUriTrailer, hashCode, isAncestor, isDescendent, isDescendent, isFile, toString
- 
Constructor Details- 
UrlFileNamepublic UrlFileName(String scheme, String hostName, int port, int defaultPort, String userName, String password, String path, FileType type, String queryString) The constructor.- Parameters:
- scheme- The scheme to use.
- hostName- The host name.
- port- The port.
- defaultPort- The default port.
- userName- The user's login id.
- password- The user's credentials.
- path- The file path.
- type- The file type.
- queryString- Parameters to use when locating or creating the file name.
 
 
- 
- 
Method Details- 
appendRootUriDescription copied from class:GenericFileNameBuilds the root URI for this file name.- Overrides:
- appendRootUriin class- GenericFileName
- Parameters:
- buffer- A StringBuilder to use to construct the URI.
- addPassword- true if the password should be added, false otherwise.
 
 
-