类 NestedFileSystemProvider
java.lang.Object
java.nio.file.spi.FileSystemProvider
org.springframework.boot.loader.nio.file.NestedFileSystemProvider
FileSystemProvider
implementation for nested
jar files.- 从以下版本开始:
- 3.2.0
- 作者:
- Phillip Webb
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
checkAccess
(Path path, AccessMode... modes) void
copy
(Path source, Path target, CopyOption... options) void
createDirectory
(Path dir, FileAttribute<?>... attrs) void
<V extends FileAttributeView>
VgetFileAttributeView
(Path path, Class<V> type, LinkOption... options) getFileStore
(Path path) getFileSystem
(URI uri) protected Path
getJarPath
(Path path) boolean
boolean
isSameFile
(Path path, Path path2) void
move
(Path source, Path target, CopyOption... options) newByteChannel
(Path path, Set<? extends OpenOption> options, FileAttribute<?>... attrs) newDirectoryStream
(Path dir, DirectoryStream.Filter<? super Path> filter) newFileSystem
(URI uri, Map<String, ?> env) <A extends BasicFileAttributes>
AreadAttributes
(Path path, Class<A> type, LinkOption... options) readAttributes
(Path path, String attributes, LinkOption... options) void
setAttribute
(Path path, String attribute, Object value, LinkOption... options)
-
构造器详细资料
-
NestedFileSystemProvider
public NestedFileSystemProvider()
-
-
方法详细资料
-
getScheme
- 指定者:
getScheme
在类中FileSystemProvider
-
newFileSystem
- 指定者:
newFileSystem
在类中FileSystemProvider
- 抛出:
IOException
-
getFileSystem
- 指定者:
getFileSystem
在类中FileSystemProvider
-
getPath
- 指定者:
getPath
在类中FileSystemProvider
-
newByteChannel
public SeekableByteChannel newByteChannel(Path path, Set<? extends OpenOption> options, FileAttribute<?>... attrs) throws IOException - 指定者:
newByteChannel
在类中FileSystemProvider
- 抛出:
IOException
-
newDirectoryStream
public DirectoryStream<Path> newDirectoryStream(Path dir, DirectoryStream.Filter<? super Path> filter) throws IOException - 指定者:
newDirectoryStream
在类中FileSystemProvider
- 抛出:
IOException
-
createDirectory
- 指定者:
createDirectory
在类中FileSystemProvider
- 抛出:
IOException
-
delete
- 指定者:
delete
在类中FileSystemProvider
- 抛出:
IOException
-
copy
- 指定者:
copy
在类中FileSystemProvider
- 抛出:
IOException
-
move
- 指定者:
move
在类中FileSystemProvider
- 抛出:
IOException
-
isSameFile
- 指定者:
isSameFile
在类中FileSystemProvider
- 抛出:
IOException
-
isHidden
- 指定者:
isHidden
在类中FileSystemProvider
- 抛出:
IOException
-
getFileStore
- 指定者:
getFileStore
在类中FileSystemProvider
- 抛出:
IOException
-
checkAccess
- 指定者:
checkAccess
在类中FileSystemProvider
- 抛出:
IOException
-
getFileAttributeView
public <V extends FileAttributeView> V getFileAttributeView(Path path, Class<V> type, LinkOption... options) - 指定者:
getFileAttributeView
在类中FileSystemProvider
-
readAttributes
public <A extends BasicFileAttributes> A readAttributes(Path path, Class<A> type, LinkOption... options) throws IOException - 指定者:
readAttributes
在类中FileSystemProvider
- 抛出:
IOException
-
readAttributes
public Map<String,Object> readAttributes(Path path, String attributes, LinkOption... options) throws IOException - 指定者:
readAttributes
在类中FileSystemProvider
- 抛出:
IOException
-
getJarPath
-
setAttribute
public void setAttribute(Path path, String attribute, Object value, LinkOption... options) throws IOException - 指定者:
setAttribute
在类中FileSystemProvider
- 抛出:
IOException
-