Package net.minecraft.util.eventlog
Class EventLogDirectory
java.lang.Object
net.minecraft.util.eventlog.EventLogDirectory
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
static interface
static final record
static class
static final record
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateNewFile
(LocalDate p_261865_) static EventLogDirectory
private EventLogDirectory.File
(package private) static void
tryCompress
(Path p_261741_, Path p_262101_) private static void
writeCompressed
(ReadableByteChannel p_262066_, Path p_262054_)
-
Field Details
-
LOGGER
static final org.slf4j.Logger LOGGER -
COMPRESS_BUFFER_SIZE
private static final int COMPRESS_BUFFER_SIZE- See Also:
-
COMPRESSED_EXTENSION
- See Also:
-
root
-
extension
-
-
Constructor Details
-
EventLogDirectory
-
-
Method Details
-
open
- Throws:
IOException
-
listFiles
- Throws:
IOException
-
parseFile
-
tryCompress
- Throws:
IOException
-
writeCompressed
private static void writeCompressed(ReadableByteChannel p_262066_, Path p_262054_) throws IOException - Throws:
IOException
-
createNewFile
- Throws:
IOException
-