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) throws IOException
newFileSystem in class FileSystemProviderIOExceptionFileSystemProvider.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(java.nio.file.Path, java.util.Set,
java.nio.file.attribute.FileAttribute<?>[])public SeekableByteChannel newByteChannel(Path path, Set<? extends OpenOption> options, FileAttribute<?>... attrs) throws IOException
newByteChannel in class FileSystemProviderIOExceptionFileSystemProvider.newByteChannel(java.nio.file.Path, java.util.Set,
java.nio.file.attribute.FileAttribute<?>[])public DirectoryStream<Path> newDirectoryStream(Path dir, DirectoryStream.Filter<? super Path> filter) throws IOException
newDirectoryStream in class FileSystemProviderIOExceptionFileSystemProvider.newDirectoryStream(java.nio.file.Path,
java.nio.file.DirectoryStream.Filter)public void createDirectory(Path dir, FileAttribute<?>... attrs) throws IOException
createDirectory in class FileSystemProviderIOExceptionFileSystemProvider.createDirectory(java.nio.file.Path,
java.nio.file.attribute.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) throws IOException
copy in class FileSystemProviderIOExceptionpublic 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) throws IOException
isSameFile in class FileSystemProviderIOExceptionFileSystemProvider.isSameFile(java.nio.file.Path, java.nio.file.Path)public boolean isHidden(Path path) throws IOException
isHidden in class FileSystemProviderIOExceptionFileSystemProvider.isHidden(java.nio.file.Path)public FileStore getFileStore(Path path) throws IOException
getFileStore in class FileSystemProviderIOExceptionFileSystemProvider.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) throws IOException
readAttributes in class FileSystemProviderIOExceptionFileSystemProvider.readAttributes(java.nio.file.Path, java.lang.String,
java.nio.file.LinkOption[])public void setAttribute(Path path, String attribute, Object value, LinkOption... options) throws IOException
setAttribute in class FileSystemProviderIOExceptionFileSystemProvider.setAttribute(java.nio.file.Path, java.lang.String, java.lang.Object,
java.nio.file.LinkOption[])Copyright © 2016 JBoss by Red Hat. All rights reserved.