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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()(package private) static CloseablePathprivate static CloseablePathcreateForJarFileSystem(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
-
path
-
delegate
-
-
Constructor Details
-
CloseablePath
-
-
Method Details
-
create
- Throws:
IOExceptionURISyntaxException
-
createForJarFileSystem
private static CloseablePath createForJarFileSystem(URI jarUri, Function<FileSystem, Path> pathProvider) throws IOException- Throws:
IOException
-
getPath
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-