public class PdfFileSystemProvider extends FileSystemProvider
| Constructor and Description |
|---|
PdfFileSystemProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkAccess(Path path,
AccessMode... modes) |
void |
copy(Path fileFrom,
Path fileTo,
CopyOption... options) |
void |
createDirectory(Path dir,
FileAttribute<?>... attrs) |
void |
delete(Path dir) |
boolean |
deleteIfExists(Path path)
The default implementation in FileSystemProvider will simply call
delete() in deleteIfExists() and silently ignore any NoSuchFileException.
|
<V extends FileAttributeView> |
getFileAttributeView(Path path,
Class<V> type,
LinkOption... options)
Unsupported
|
FileStore |
getFileStore(Path path)
Unsupported
|
FileSystem |
getFileSystem(URI uri) |
Path |
getPath(URI uri) |
String |
getScheme() |
boolean |
isHidden(Path path)
Unsupported
|
boolean |
isSameFile(Path path,
Path path2)
Unsupported
|
void |
move(Path source,
Path target,
CopyOption... options)
Unsupported
|
SeekableByteChannel |
newByteChannel(Path path,
Set<? extends OpenOption> options,
FileAttribute<?>... attrs) |
DirectoryStream<Path> |
newDirectoryStream(Path arg0,
DirectoryStream.Filter<? super Path> arg1)
Unsupported
|
FileSystem |
newFileSystem(URI uri,
Map<String,?> env) |
<A extends BasicFileAttributes> |
readAttributes(Path path,
Class<A> type,
LinkOption... options) |
Map<String,Object> |
readAttributes(Path arg0,
String arg1,
LinkOption... arg2)
Unsupported
|
void |
setAttribute(Path arg0,
String arg1,
Object arg2,
LinkOption... arg3)
Unsupported
|
createLink, createSymbolicLink, installedProviders, newAsynchronousFileChannel, newFileChannel, newFileSystem, newInputStream, newOutputStream, readSymbolicLinkpublic void copy(Path fileFrom, Path fileTo, CopyOption... options) throws IOException
copy in class FileSystemProviderIOExceptionpublic void createDirectory(Path dir, FileAttribute<?>... attrs) throws IOException
createDirectory in class FileSystemProviderIOExceptionpublic void delete(Path dir) throws IOException
delete in class FileSystemProviderIOExceptionpublic boolean deleteIfExists(Path path) throws IOException
deleteIfExists in class FileSystemProviderIOExceptionpublic FileSystem getFileSystem(URI uri)
getFileSystem in class FileSystemProviderpublic Path getPath(URI uri)
getPath in class FileSystemProviderpublic String getScheme()
getScheme in class FileSystemProviderpublic <V extends FileAttributeView> V getFileAttributeView(Path path, Class<V> type, LinkOption... options)
getFileAttributeView in class FileSystemProviderpublic FileStore getFileStore(Path path) throws IOException
getFileStore in class FileSystemProviderIOExceptionpublic void checkAccess(Path path, AccessMode... modes) throws IOException
checkAccess in class FileSystemProviderIOExceptionpublic boolean isHidden(Path path) throws IOException
isHidden in class FileSystemProviderIOExceptionpublic boolean isSameFile(Path path, Path path2) throws IOException
isSameFile in class FileSystemProviderIOExceptionpublic void move(Path source, Path target, CopyOption... options) throws IOException
move in class FileSystemProviderIOExceptionpublic SeekableByteChannel newByteChannel(Path path, Set<? extends OpenOption> options, FileAttribute<?>... attrs) throws IOException
newByteChannel in class FileSystemProviderIOExceptionpublic DirectoryStream<Path> newDirectoryStream(Path arg0, DirectoryStream.Filter<? super Path> arg1) throws IOException
newDirectoryStream in class FileSystemProviderIOExceptionpublic FileSystem newFileSystem(URI uri, Map<String,?> env) throws IOException
newFileSystem in class FileSystemProviderIOExceptionpublic <A extends BasicFileAttributes> A readAttributes(Path path, Class<A> type, LinkOption... options) throws IOException
readAttributes in class FileSystemProviderIOExceptionpublic Map<String,Object> readAttributes(Path arg0, String arg1, LinkOption... arg2) throws IOException
readAttributes in class FileSystemProviderIOExceptionpublic void setAttribute(Path arg0, String arg1, Object arg2, LinkOption... arg3) throws IOException
setAttribute in class FileSystemProviderIOExceptionCopyright © 2020. All rights reserved.