public class RootedSecureDirectoryStream extends RootedDirectoryStream implements SecureDirectoryStream<Path>
RootedFileSystemDirectoryStream.Filter<T>delegate, rfs| Constructor and Description |
|---|
RootedSecureDirectoryStream(RootedFileSystem rfs,
SecureDirectoryStream<Path> delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteDirectory(Path path) |
void |
deleteFile(Path path) |
protected Path |
fixPath(Path p) |
<V extends FileAttributeView> |
getFileAttributeView(Class<V> type) |
<V extends FileAttributeView> |
getFileAttributeView(Path path,
Class<V> type,
LinkOption... options) |
void |
move(Path srcpath,
SecureDirectoryStream<Path> targetdir,
Path targetpath) |
SeekableByteChannel |
newByteChannel(Path path,
Set<? extends OpenOption> options,
FileAttribute<?>... attrs) |
SecureDirectoryStream<Path> |
newDirectoryStream(Path path,
LinkOption... options) |
close, iterator, rootclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waititeratorforEach, spliteratorpublic RootedSecureDirectoryStream(RootedFileSystem rfs, SecureDirectoryStream<Path> delegate)
public SecureDirectoryStream<Path> newDirectoryStream(Path path, LinkOption... options) throws IOException
newDirectoryStream in interface SecureDirectoryStream<Path>IOExceptionpublic SeekableByteChannel newByteChannel(Path path, Set<? extends OpenOption> options, FileAttribute<?>... attrs) throws IOException
newByteChannel in interface SecureDirectoryStream<Path>IOExceptionpublic void deleteFile(Path path) throws IOException
deleteFile in interface SecureDirectoryStream<Path>IOExceptionpublic void deleteDirectory(Path path) throws IOException
deleteDirectory in interface SecureDirectoryStream<Path>IOExceptionpublic void move(Path srcpath, SecureDirectoryStream<Path> targetdir, Path targetpath) throws IOException
move in interface SecureDirectoryStream<Path>IOExceptionpublic <V extends FileAttributeView> V getFileAttributeView(Class<V> type)
getFileAttributeView in interface SecureDirectoryStream<Path>public <V extends FileAttributeView> V getFileAttributeView(Path path, Class<V> type, LinkOption... options)
getFileAttributeView in interface SecureDirectoryStream<Path>Copyright © 2018–2024 The Apache Software Foundation. All rights reserved.