public class ShrinkWrapFileSystemProvider extends FileSystemProvider
FileSystemProvider implementation for ShrinkWrap Archives.| Constructor and Description |
|---|
ShrinkWrapFileSystemProvider() |
createLink, createSymbolicLink, deleteIfExists, installedProviders, newAsynchronousFileChannel, newFileSystem, newInputStream, newOutputStream, readSymbolicLinkpublic String getScheme()
getScheme in class FileSystemProviderFileSystemProvider.getScheme()public FileSystem newFileSystem(URI uri, Map<String,?> env)
newFileSystem in class FileSystemProviderFileSystemProvider.newFileSystem(java.net.URI, java.util.Map)public FileSystem getFileSystem(URI uri)
getFileSystem in class FileSystemProviderFileSystemProvider.getFileSystem(java.net.URI)public Path getPath(URI uri)
getPath in class FileSystemProviderFileSystemProvider.getPath(java.net.URI)public FileChannel newFileChannel(Path path, Set<? extends OpenOption> options, FileAttribute<?>... attrs) throws IOException
newFileChannel in class FileSystemProviderIOExceptionFileSystemProvider.newFileChannel(Path, Set, FileAttribute[])public SeekableByteChannel newByteChannel(Path path, Set<? extends OpenOption> options, FileAttribute<?>... attrs) throws IOException
newByteChannel in class FileSystemProviderIOExceptionFileSystemProvider.newByteChannel(Path, Set, FileAttribute[])public DirectoryStream<Path> newDirectoryStream(Path dir, DirectoryStream.Filter<? super Path> filter)
newDirectoryStream in class FileSystemProviderFileSystemProvider.newDirectoryStream(java.nio.file.Path,
java.nio.file.DirectoryStream.Filter)public void createDirectory(Path dir, FileAttribute<?>... attrs) throws IOException
createDirectory in class FileSystemProviderIOExceptionFileSystemProvider.createDirectory(Path, FileAttribute[])public void delete(Path path) throws IOException
delete in class FileSystemProviderIOExceptionFileSystemProvider.delete(java.nio.file.Path)public void copy(Path source, Path target, CopyOption... options)
copy in class FileSystemProviderpublic void move(Path source, Path target, CopyOption... options) throws IOException
move in class FileSystemProviderIOExceptionFileSystemProvider.move(java.nio.file.Path, java.nio.file.Path,
java.nio.file.CopyOption[])public boolean isSameFile(Path path1, Path path2)
isSameFile in class FileSystemProviderFileSystemProvider.isSameFile(java.nio.file.Path, java.nio.file.Path)public boolean isHidden(Path path)
isHidden in class FileSystemProviderFileSystemProvider.isHidden(java.nio.file.Path)public FileStore getFileStore(Path path)
getFileStore in class FileSystemProviderFileSystemProvider.getFileStore(java.nio.file.Path)public void checkAccess(Path path, AccessMode... modes) throws IOException
checkAccess in class FileSystemProviderIOExceptionFileSystemProvider.checkAccess(java.nio.file.Path, java.nio.file.AccessMode[])public <V extends FileAttributeView> V getFileAttributeView(Path path, Class<V> type, LinkOption... options)
public <A extends BasicFileAttributes> A readAttributes(Path path, Class<A> type, LinkOption... options) throws IOException
readAttributes in class FileSystemProviderIOExceptionFileSystemProvider.readAttributes(java.nio.file.Path, java.lang.Class,
java.nio.file.LinkOption[])public Map<String,Object> readAttributes(Path path, String attributes, LinkOption... options)
readAttributes in class FileSystemProviderFileSystemProvider.readAttributes(java.nio.file.Path, java.lang.String,
java.nio.file.LinkOption[])public void setAttribute(Path path, String attribute, Object value, LinkOption... options)
Copyright © 2024 JBoss by Red Hat. All rights reserved.