|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.vfs.provider.AbstractFileName
org.apache.commons.vfs.provider.GenericFileName
org.apache.commons.vfs.provider.smb.SmbFileName
An SMB URI. Adds a share name to the generic URI.
Field Summary |
Fields inherited from interface org.apache.commons.vfs.FileName |
ROOT_PATH, SEPARATOR, SEPARATOR_CHAR |
Constructor Summary | |
protected |
SmbFileName(String scheme,
String hostName,
int port,
String userName,
String password,
String domain,
String share,
String path)
|
Method Summary | |
protected void |
appendCredentials(StringBuffer buffer)
put domain before username if both are set |
protected void |
appendRootUri(StringBuffer buffer)
Builds the root URI for this file name. |
FileName |
createName(String path)
Factory method for creating name instances. |
String |
getDomain()
returns the domain name |
String |
getShare()
Returns the share name. |
String |
getUriWithoutAuth()
Construct the path suitable for SmbFile when used with NtlmPasswordAuthentication |
Methods inherited from class org.apache.commons.vfs.provider.GenericFileName |
getDefaultPort, getHostName, getPassword, getPort, getUserName |
Methods inherited from class org.apache.commons.vfs.provider.AbstractFileName |
checkName, compareTo, createURI, equals, getBaseName, getDepth, getExtension, getParent, getPath, getPathDecoded, getRelativeName, getRoot, getRootURI, getScheme, getURI, hashCode, isAncestor, isDescendent, isDescendent, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
protected SmbFileName(String scheme, String hostName, int port, String userName, String password, String domain, String share, String path)
Method Detail |
public String getShare()
protected void appendRootUri(StringBuffer buffer)
appendRootUri
in class GenericFileName
protected void appendCredentials(StringBuffer buffer)
appendCredentials
in class GenericFileName
public FileName createName(String path)
createName
in class GenericFileName
public String getUriWithoutAuth() throws FileSystemException
FileSystemException
public String getDomain()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |