Package org.junit.platform.commons.util
Class CloseablePath
java.lang.Object
org.junit.platform.commons.util.CloseablePath
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Since:
- 1.0
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Closeable
private static final String
private static final String
private static final String
private static final String
private static final ConcurrentMap
<URI, CloseablePath.ManagedFileSystem> private static final Closeable
private final Path
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
(package private) static CloseablePath
private static CloseablePath
createForJarFileSystem
(URI jarUri, Function<FileSystem, Path> pathProvider) getPath()
-
Field Details
-
FILE_URI_SCHEME
- See Also:
-
JAR_URI_SCHEME
- See Also:
-
JAR_FILE_EXTENSION
- See Also:
-
JAR_URI_SEPARATOR
- See Also:
-
NULL_CLOSEABLE
-
MANAGED_FILE_SYSTEMS
-
path
-
delegate
-
-
Constructor Details
-
CloseablePath
-
-
Method Details
-
create
- Throws:
URISyntaxException
-
createForJarFileSystem
private static CloseablePath createForJarFileSystem(URI jarUri, Function<FileSystem, Path> pathProvider) -
getPath
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-