public class RemoteFilesystem
extends java.lang.Object
Constructor and Description |
---|
RemoteFilesystem(java.lang.String url,
Path dbDirectory,
java.lang.String tableName) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected com.caucho.vfs.remote.RemoteFilesystem.RemoteConnection |
getRemoteConnection() |
Stat |
getRemoteStat(java.lang.String file,
Stat stat)
Returns the file's stats
|
Stat |
getStat(java.lang.String file)
Returns the file's stats
|
java.lang.String[] |
list(java.lang.String file)
Returns the directory list
|
java.io.InputStream |
read(java.lang.String file)
Reads a file
|
java.lang.String |
toString() |
public RemoteFilesystem(java.lang.String url, Path dbDirectory, java.lang.String tableName) throws java.lang.Exception
java.lang.Exception
public Stat getStat(java.lang.String file) throws java.io.IOException
java.io.IOException
public java.lang.String[] list(java.lang.String file) throws java.io.IOException
java.io.IOException
public java.io.InputStream read(java.lang.String file) throws java.io.IOException
java.io.IOException
public Stat getRemoteStat(java.lang.String file, Stat stat) throws java.io.IOException
java.io.IOException
protected com.caucho.vfs.remote.RemoteFilesystem.RemoteConnection getRemoteConnection() throws java.io.IOException
java.io.IOException
public void close()
public java.lang.String toString()
toString
in class java.lang.Object