类 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
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidcheckAccess(Path path, AccessMode... modes) voidcopy(Path source, Path target, CopyOption... options) voidcreateDirectory(Path dir, FileAttribute<?>... attrs) void<V extends FileAttributeView>
VgetFileAttributeView(Path path, Class<V> type, LinkOption... options) getFileStore(Path path) getFileSystem(URI uri) protected PathgetJarPath(Path path) booleanbooleanisSameFile(Path path, Path path2) voidmove(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) voidsetAttribute(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
-