public class UrlFileName extends URLFileName
ROOT_PATH, SEPARATOR, SEPARATOR_CHAR| Constructor and Description |
|---|
UrlFileName(String scheme,
String hostName,
int port,
int defaultPort,
String userName,
String password,
String path,
FileType type,
String queryString)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendRootUri(StringBuilder buffer,
boolean addPassword)
Builds the root URI for this file name.
|
createName, createURI, getPathQuery, getPathQueryEncoded, getQueryString, getURIEncodedappendCredentials, getDefaultPort, getHostName, getPassword, getPort, getUserNamecheckName, compareTo, equals, getBaseName, getDepth, getExtension, getFriendlyURI, getParent, getPath, getPathDecoded, getRelativeName, getRoot, getRootURI, getScheme, getType, getURI, getUriTrailer, hashCode, isAncestor, isDescendent, isDescendent, isFile, toStringpublic UrlFileName(String scheme, String hostName, int port, int defaultPort, String userName, String password, String path, FileType type, String queryString)
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.protected void appendRootUri(StringBuilder buffer, boolean addPassword)
GenericFileNameappendRootUri in class GenericFileNamebuffer - A StringBuilder to use to construct the URI.addPassword - true if the password should be added, false otherwise.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.