java.lang.Object
io.xpipe.core.store.ConnectionFileSystem
- All Implemented Interfaces:
FileSystem,Closeable,AutoCloseable
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.xpipe.core.store.FileSystem
FileSystem.FileEntry, FileSystem.LinkFileEntry -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidvoidvoiddirectoryAccessible(String file) booleandirectoryExists(String file) booleanfileExists(String file) longgetFileSize(String file) getShell()voidvoidopen()openOutput(String file, long totalBytes) voidsymbolicLink(String linkFile, String targetFile) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.xpipe.core.store.FileSystem
listFilesRecursively
-
Field Details
-
shellControl
-
-
Constructor Details
-
ConnectionFileSystem
-
-
Method Details
-
getFileSize
- Specified by:
getFileSizein interfaceFileSystem- Throws:
Exception
-
getShell
- Specified by:
getShellin interfaceFileSystem
-
open
- Specified by:
openin interfaceFileSystem- Throws:
Exception
-
openInput
- Specified by:
openInputin interfaceFileSystem- Throws:
Exception
-
openOutput
- Specified by:
openOutputin interfaceFileSystem- Throws:
Exception
-
fileExists
- Specified by:
fileExistsin interfaceFileSystem- Throws:
Exception
-
delete
- Specified by:
deletein interfaceFileSystem- Throws:
Exception
-
copy
- Specified by:
copyin interfaceFileSystem- Throws:
Exception
-
move
- Specified by:
movein interfaceFileSystem- Throws:
Exception
-
mkdirs
- Specified by:
mkdirsin interfaceFileSystem- Throws:
Exception
-
touch
- Specified by:
touchin interfaceFileSystem- Throws:
Exception
-
symbolicLink
- Specified by:
symbolicLinkin interfaceFileSystem- Throws:
Exception
-
directoryExists
- Specified by:
directoryExistsin interfaceFileSystem- Throws:
Exception
-
directoryAccessible
- Specified by:
directoryAccessiblein interfaceFileSystem- Throws:
Exception
-
listFiles
- Specified by:
listFilesin interfaceFileSystem- Throws:
Exception
-
listRoots
- Specified by:
listRootsin interfaceFileSystem- Throws:
Exception
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-