Class RSVFSFileSystem
<any>
net.datenwerke.rs.terminal.service.terminal.vfs.rsvfs.RSVFSFileSystem
public class RSVFSFileSystem
extends <any>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()copy(RSVFSPath source, RSVFSPath target, CopyOption[] options) createDirectory(Path dir, FileAttribute<?>[] attrs) booleanisOpen()move(RSVFSPath source, RSVFSPath target, CopyOption[] options) newByteChannel(Path path, Set<? extends OpenOption> options, FileAttribute<?>[] attrs) newDirectoryStream(Path dir, DirectoryStream.Filter<? super Path> filter) newFileChannel(Path path, Set<? extends OpenOption> options, FileAttribute<?>[] attrs) newInputStream(Path path, OpenOption... options) <A extends BasicFileAttributes>
AreadAttributes(Path path, Class<A> clazz, LinkOption... options) upload(VFSLocation loc, Path tmpFile)
-
Field Details
-
VFS
- See Also:
-
SESSION_CONTEXT
- See Also:
-
TEMPFILESERVICE_PROVIDER
- See Also:
-
-
Constructor Details
-
RSVFSFileSystem
-
-
Method Details
-
close
- Throws:
IOException
-
isOpen
public boolean isOpen() -
supportedFileAttributeViews
-
getUserPrincipalLookupService
-
newInputStream
public InputStream newInputStream(Path path, OpenOption... options) throws IOException, VFSException - Throws:
IOExceptionVFSException
-
readAttributes
public <A extends BasicFileAttributes> A readAttributes(Path path, Class<A> clazz, LinkOption... options) throws IOException, VFSException - Throws:
IOExceptionVFSException
-
newDirectoryStream
public DirectoryStream<Path> newDirectoryStream(Path dir, DirectoryStream.Filter<? super Path> filter) throws IOException, VFSException - Throws:
IOExceptionVFSException
-
newByteChannel
public SeekableByteChannel newByteChannel(Path path, Set<? extends OpenOption> options, FileAttribute<?>[] attrs) throws IOException, VFSException - Throws:
IOExceptionVFSException
-
newFileChannel
public FileChannel newFileChannel(Path path, Set<? extends OpenOption> options, FileAttribute<?>[] attrs) throws IOException - Throws:
IOException
-
createDirectory
- Throws:
IOException
-
delete
- Throws:
IOException
-
move
- Throws:
IOException
-
copy
- Throws:
IOException
-
upload
- Throws:
IOException
-