| Package | Description |
|---|---|
| net.openhft.chronicle.core.io |
The resource management package provides classes and interfaces for managing the lifecycle of
resources such as files, streams, and memory buffers.
|
| net.openhft.chronicle.core.util |
| Modifier and Type | Class and Description |
|---|---|
class |
ClosedIORuntimeException
ClosedIORuntimeException is thrown to indicate that an I/O operation has been
attempted on a closed I/O resource, such as a file or network connection. |
| Modifier and Type | Method and Description |
|---|---|
static IORuntimeException |
IORuntimeException.newIORuntimeException(Exception e)
Creates a new
IORuntimeException based on the provided exception. |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
IOTools.deleteDirWithFiles(@NotNull File dir)
Attempts to delete directories and their files.
|
static boolean |
IOTools.deleteDirWithFiles(@NotNull File dir,
int maxDepth)
Attempts to delete directories and their files.
|
static boolean |
IOTools.deleteDirWithFiles(String... dirs) |
static boolean |
IOTools.deleteDirWithFiles(@NotNull String dir,
int maxDepth)
Attempts to delete the specified directory and its files recursively up to a
given depth.
|
static void |
IOTools.deleteDirWithFilesOrThrow(File... dirs)
Canonical usage is to call this *before* your test, so you fail fast if you can't delete
|
static void |
IOTools.deleteDirWithFilesOrThrow(String... dirs)
Canonical usage is to call this *before* your test, so you fail fast if you can't delete
|
static boolean |
IOTools.shallowDeleteDirWithFiles(@NotNull File dir)
Attempts to delete a directory with its files.
|
static boolean |
IOTools.shallowDeleteDirWithFiles(@NotNull String directory)
Attempts to delete a directory with its files.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ThrowingBiConsumer.accept(I in,
J i2)
Performs this operation on the given arguments.
|
Copyright © 2024. All rights reserved.