org.apache.commons.vfs.provider.url
Class UrlFileName
java.lang.Object
org.apache.commons.vfs.provider.AbstractFileName
org.apache.commons.vfs.provider.GenericFileName
org.apache.commons.vfs.provider.URLFileName
org.apache.commons.vfs.provider.url.UrlFileName
- All Implemented Interfaces:
- java.lang.Comparable, FileName
public class UrlFileName
- extends URLFileName
Created by IntelliJ IDEA.
User: im
Date: 28.06.2005
Time: 16:00:19
To change this template use File | Settings | File Templates.
Constructor Summary |
UrlFileName(java.lang.String scheme,
java.lang.String hostName,
int port,
int defaultPort,
java.lang.String userName,
java.lang.String password,
java.lang.String path,
FileType type,
java.lang.String queryString)
|
Method Summary |
protected void |
appendRootUri(java.lang.StringBuffer buffer,
boolean addPassword)
Builds the root URI for this file name. |
Methods inherited from class org.apache.commons.vfs.provider.AbstractFileName |
checkName, compareTo, equals, getBaseName, getDepth, getExtension, getFriendlyURI, getParent, getPath, getPathDecoded, getRelativeName, getRoot, getRootURI, getScheme, getType, getURI, getUriTrailer, hashCode, isAncestor, isDescendent, isDescendent, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
UrlFileName
public UrlFileName(java.lang.String scheme,
java.lang.String hostName,
int port,
int defaultPort,
java.lang.String userName,
java.lang.String password,
java.lang.String path,
FileType type,
java.lang.String queryString)
appendRootUri
protected void appendRootUri(java.lang.StringBuffer buffer,
boolean addPassword)
- Description copied from class:
GenericFileName
- Builds the root URI for this file name.
- Overrides:
appendRootUri
in class GenericFileName
- Parameters:
buffer
- A StringBuffer to use to construct the URI.addPassword
- true if the password should be added, false otherwise.
Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.