public class JSchFileSystem
extends org.eclipse.core.filesystem.provider.FileSystem
Constructor and Description |
---|
JSchFileSystem()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
attributes() |
boolean |
canDelete() |
boolean |
canWrite() |
static java.lang.String |
getConnectionNameFor(java.net.URI uri)
Return the connection name encoded in the URI.
|
org.eclipse.core.filesystem.IFileStore |
getStore(org.eclipse.core.runtime.IPath path) |
org.eclipse.core.filesystem.IFileStore |
getStore(java.net.URI uri) |
static java.net.URI |
getURIFor(java.lang.String connectionName,
java.lang.String path)
Return an URI uniquely naming a remote tools remote resource.
|
fetchFileTree, fromLocalFile, getScheme, initialize, isCaseSensitive
public static java.lang.String getConnectionNameFor(java.net.URI uri)
uri
- URI specifying a remote tools connectionpublic static java.net.URI getURIFor(java.lang.String connectionName, java.lang.String path)
connectionName
- remote tools connection namepath
- absolute path to resource as valid on the remote systempublic int attributes()
attributes
in interface org.eclipse.core.filesystem.IFileSystem
attributes
in class org.eclipse.core.filesystem.provider.FileSystem
public boolean canDelete()
canDelete
in interface org.eclipse.core.filesystem.IFileSystem
canDelete
in class org.eclipse.core.filesystem.provider.FileSystem
public boolean canWrite()
canWrite
in interface org.eclipse.core.filesystem.IFileSystem
canWrite
in class org.eclipse.core.filesystem.provider.FileSystem
public org.eclipse.core.filesystem.IFileStore getStore(org.eclipse.core.runtime.IPath path)
getStore
in interface org.eclipse.core.filesystem.IFileSystem
getStore
in class org.eclipse.core.filesystem.provider.FileSystem
public org.eclipse.core.filesystem.IFileStore getStore(java.net.URI uri)
getStore
in interface org.eclipse.core.filesystem.IFileSystem
getStore
in class org.eclipse.core.filesystem.provider.FileSystem