Class NestedFileSystemProvider
java.lang.Object
java.nio.file.spi.FileSystemProvider
org.springframework.boot.loader.nio.file.NestedFileSystemProvider
FileSystemProvider implementation for nested jar files.- Since:
- 3.2.0
- Author:
- Phillip Webb
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidcheckAccess(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) Methods inherited from class java.nio.file.spi.FileSystemProvidercreateLink, createSymbolicLink, deleteIfExists, installedProviders, newAsynchronousFileChannel, newFileChannel, newFileSystem, newInputStream, newOutputStream, readSymbolicLink
- 
Constructor Details- 
NestedFileSystemProviderpublic NestedFileSystemProvider()
 
- 
- 
Method Details- 
getScheme- Specified by:
- getSchemein class- FileSystemProvider
 
- 
newFileSystem- Specified by:
- newFileSystemin class- FileSystemProvider
- Throws:
- IOException
 
- 
getFileSystem- Specified by:
- getFileSystemin class- FileSystemProvider
 
- 
getPath- Specified by:
- getPathin class- FileSystemProvider
 
- 
newByteChannelpublic SeekableByteChannel newByteChannel(Path path, Set<? extends OpenOption> options, FileAttribute<?>... attrs) throws IOException - Specified by:
- newByteChannelin class- FileSystemProvider
- Throws:
- IOException
 
- 
newDirectoryStreampublic DirectoryStream<Path> newDirectoryStream(Path dir, DirectoryStream.Filter<? super Path> filter) throws IOException - Specified by:
- newDirectoryStreamin class- FileSystemProvider
- Throws:
- IOException
 
- 
createDirectory- Specified by:
- createDirectoryin class- FileSystemProvider
- Throws:
- IOException
 
- 
delete- Specified by:
- deletein class- FileSystemProvider
- Throws:
- IOException
 
- 
copy- Specified by:
- copyin class- FileSystemProvider
- Throws:
- IOException
 
- 
move- Specified by:
- movein class- FileSystemProvider
- Throws:
- IOException
 
- 
isSameFile- Specified by:
- isSameFilein class- FileSystemProvider
- Throws:
- IOException
 
- 
isHidden- Specified by:
- isHiddenin class- FileSystemProvider
- Throws:
- IOException
 
- 
getFileStore- Specified by:
- getFileStorein class- FileSystemProvider
- Throws:
- IOException
 
- 
checkAccess- Specified by:
- checkAccessin class- FileSystemProvider
- Throws:
- IOException
 
- 
getFileAttributeViewpublic <V extends FileAttributeView> V getFileAttributeView(Path path, Class<V> type, LinkOption... options) - Specified by:
- getFileAttributeViewin class- FileSystemProvider
 
- 
readAttributespublic <A extends BasicFileAttributes> A readAttributes(Path path, Class<A> type, LinkOption... options) throws IOException - Specified by:
- readAttributesin class- FileSystemProvider
- Throws:
- IOException
 
- 
readAttributespublic Map<String,Object> readAttributes(Path path, String attributes, LinkOption... options) throws IOException - Specified by:
- readAttributesin class- FileSystemProvider
- Throws:
- IOException
 
- 
getJarPath
- 
setAttributepublic void setAttribute(Path path, String attribute, Object value, LinkOption... options) throws IOException - Specified by:
- setAttributein class- FileSystemProvider
- Throws:
- IOException
 
 
-