org.das2.util.filesystem.VFSFileSystem

FileSystem provides additional abstraction to Apache VFS to implement das2 FileSystems, and provide SFTP access.


close

close( ) → void

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


createVFSFileSystem

createVFSFileSystem( java.net.URI root ) → VFSFileSystem

Parameters

root - an URI

Returns:

org.das2.util.filesystem.VFSFileSystem

[search for examples] [view on GitHub] [view on old javadoc] [view source]

createVFSFileSystem( java.net.URI root, boolean createFolder ) → VFSFileSystem

getFileObject

getFileObject( String filename ) → FileObject

Parameters

filename - a String

Returns:

org.das2.util.filesystem.FileObject

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getLocalRoot

getLocalRoot( ) → File

Returns:

java.io.File

[search for examples] [view on GitHub] [view on old javadoc] [view source]


isDirectory

isDirectory( String filename ) → boolean

Parameters

filename - a String

Returns:

boolean

[search for examples] [view on GitHub] [view on old javadoc] [view source]


isLocal

isLocal( ) → boolean

Returns:

boolean

[search for examples] [view on GitHub] [view on old javadoc] [view source]


listDirectory

listDirectory( String directory ) → String

return a list of files and folders in the directory. Conventionally, folders are identified with a trailing slash.

Parameters

directory - a String

Returns:

a java.lang.String[]

[search for examples] [view on GitHub] [view on old javadoc] [view source]

listDirectory( String directory, String regex ) → String