Package org.ossreviewtoolkit.utils.ort
Class ExtensionsKt
-
- All Implemented Interfaces:
public final class ExtensionsKt
-
-
Method Summary
Modifier and Type Method Description final static FilecreateOrtTempDir(String infixes)Create a temporary directory with a name specific to ORT, and optional infixes. final static FilecreateOrtTempDir(Object $self, String infixes)Create a temporary directory with a name specific to ORT, the calling class, and optional infixes. final static FilecreateOrtTempFile(String prefix, String suffix)Create a temporary file with optionally specified prefix and suffix inside a directory with a name specific to ORT. final static FilecreateOrtTempFile(Object $self, String prefix, String suffix)Create a temporary file with optionally specified prefix and suffix inside a directory with a name specific to ORT and the calling class. final static UnitshowStackTrace(Throwable $self)Print the stack trace of the Throwable if printStackTrace is set to true. -
-
Method Detail
-
createOrtTempDir
final static File createOrtTempDir(String infixes)
Create a temporary directory with a name specific to ORT, and optional infixes.
-
createOrtTempDir
final static File createOrtTempDir(Object $self, String infixes)
Create a temporary directory with a name specific to ORT, the calling class, and optional infixes.
-
createOrtTempFile
final static File createOrtTempFile(String prefix, String suffix)
Create a temporary file with optionally specified prefix and suffix inside a directory with a name specific to ORT.
-
createOrtTempFile
final static File createOrtTempFile(Object $self, String prefix, String suffix)
Create a temporary file with optionally specified prefix and suffix inside a directory with a name specific to ORT and the calling class.
-
showStackTrace
final static Unit showStackTrace(Throwable $self)
Print the stack trace of the Throwable if printStackTrace is set to true.
-
-
-
-