public class RootedSecureDirectoryStream extends RootedDirectoryStream implements SecureDirectoryStream<Path>
RootedFileSystem
DirectoryStream.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, root
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
iterator
forEach, spliterator
public RootedSecureDirectoryStream(RootedFileSystem rfs, SecureDirectoryStream<Path> delegate)
public SecureDirectoryStream<Path> newDirectoryStream(Path path, LinkOption... options) throws IOException
newDirectoryStream
in interface SecureDirectoryStream<Path>
IOException
public SeekableByteChannel newByteChannel(Path path, Set<? extends OpenOption> options, FileAttribute<?>... attrs) throws IOException
newByteChannel
in interface SecureDirectoryStream<Path>
IOException
public void deleteFile(Path path) throws IOException
deleteFile
in interface SecureDirectoryStream<Path>
IOException
public void deleteDirectory(Path path) throws IOException
deleteDirectory
in interface SecureDirectoryStream<Path>
IOException
public void move(Path srcpath, SecureDirectoryStream<Path> targetdir, Path targetpath) throws IOException
move
in interface SecureDirectoryStream<Path>
IOException
public <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 © 2008–2024 The Apache Software Foundation. All rights reserved.