public class ShrinkWrapFileSystemProvider extends FileSystemProvider
FileSystemProvider
implementation for ShrinkWrap Archive
s.Constructor and Description |
---|
ShrinkWrapFileSystemProvider() |
createLink, createSymbolicLink, deleteIfExists, installedProviders, newAsynchronousFileChannel, newFileSystem, newInputStream, newOutputStream, readSymbolicLink
public String getScheme()
getScheme
in class FileSystemProvider
FileSystemProvider.getScheme()
public FileSystem newFileSystem(URI uri, Map<String,?> env) throws IOException
newFileSystem
in class FileSystemProvider
IOException
FileSystemProvider.newFileSystem(java.net.URI, java.util.Map)
public FileSystem getFileSystem(URI uri)
getFileSystem
in class FileSystemProvider
FileSystemProvider.getFileSystem(java.net.URI)
public Path getPath(URI uri)
getPath
in class FileSystemProvider
FileSystemProvider.getPath(java.net.URI)
public FileChannel newFileChannel(Path path, Set<? extends OpenOption> options, FileAttribute<?>... attrs) throws IOException
newFileChannel
in class FileSystemProvider
IOException
FileSystemProvider.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 FileSystemProvider
IOException
FileSystemProvider.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 FileSystemProvider
IOException
FileSystemProvider.newDirectoryStream(java.nio.file.Path,
java.nio.file.DirectoryStream.Filter)
public void createDirectory(Path dir, FileAttribute<?>... attrs) throws IOException
createDirectory
in class FileSystemProvider
IOException
FileSystemProvider.createDirectory(java.nio.file.Path,
java.nio.file.attribute.FileAttribute<?>[])
public void delete(Path path) throws IOException
delete
in class FileSystemProvider
IOException
FileSystemProvider.delete(java.nio.file.Path)
public void copy(Path source, Path target, CopyOption... options) throws IOException
copy
in class FileSystemProvider
IOException
public void move(Path source, Path target, CopyOption... options) throws IOException
move
in class FileSystemProvider
IOException
FileSystemProvider.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 FileSystemProvider
IOException
FileSystemProvider.isSameFile(java.nio.file.Path, java.nio.file.Path)
public boolean isHidden(Path path) throws IOException
isHidden
in class FileSystemProvider
IOException
FileSystemProvider.isHidden(java.nio.file.Path)
public FileStore getFileStore(Path path) throws IOException
getFileStore
in class FileSystemProvider
IOException
FileSystemProvider.getFileStore(java.nio.file.Path)
public void checkAccess(Path path, AccessMode... modes) throws IOException
checkAccess
in class FileSystemProvider
IOException
FileSystemProvider.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 FileSystemProvider
IOException
FileSystemProvider.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 FileSystemProvider
IOException
FileSystemProvider.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 FileSystemProvider
IOException
FileSystemProvider.setAttribute(java.nio.file.Path, java.lang.String, java.lang.Object,
java.nio.file.LinkOption[])
Copyright © 2016 JBoss by Red Hat. All rights reserved.