public class FileSystemImplementation extends java.lang.Object implements FileSystem
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
adaptorName |
private Credential |
credential |
private RelativePath |
entryPath |
private java.lang.String |
location |
private XenonProperties |
properties |
private java.lang.String |
scheme |
private java.lang.String |
uniqueID |
Constructor and Description |
---|
FileSystemImplementation(java.lang.String adaptorName,
java.lang.String identifier,
java.lang.String scheme,
java.lang.String location,
RelativePath entryPath,
Credential credential,
XenonProperties properties) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAdaptorName()
Get the name of the adaptor that created this FileSystem.
|
Credential |
getCredential() |
Path |
getEntryPath()
Get the entry path of this file system.
|
java.lang.String |
getLocation()
Get the location of the FileSystem.
|
java.util.Map<java.lang.String,java.lang.String> |
getProperties()
Get the properties used to create this FileSystem.
|
java.lang.String |
getScheme()
Get the scheme used to access the FileSystem.
|
java.lang.String |
getUniqueID() |
int |
hashCode() |
java.lang.String |
toString() |
private final java.lang.String adaptorName
private final java.lang.String scheme
private final java.lang.String location
private final java.lang.String uniqueID
private final Credential credential
private final XenonProperties properties
private final RelativePath entryPath
public FileSystemImplementation(java.lang.String adaptorName, java.lang.String identifier, java.lang.String scheme, java.lang.String location, RelativePath entryPath, Credential credential, XenonProperties properties)
public Credential getCredential()
public java.lang.String getUniqueID()
public Path getEntryPath()
FileSystem
"/home/username"
.getEntryPath
in interface FileSystem
public java.lang.String getScheme()
FileSystem
getScheme
in interface FileSystem
public java.lang.String getLocation()
FileSystem
getLocation
in interface FileSystem
public java.util.Map<java.lang.String,java.lang.String> getProperties()
FileSystem
getProperties
in interface FileSystem
public java.lang.String getAdaptorName()
FileSystem
getAdaptorName
in interface FileSystem
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object