Package net.minecraft.util.eventlog
Class EventLogDirectory
java.lang.Object
net.minecraft.util.eventlog.EventLogDirectory
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic interfacestatic final recordstatic classstatic final record -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateNewFile(LocalDate date) static EventLogDirectoryprivate EventLogDirectory.File(package private) static voidtryCompress(Path path, Path outputPath) private static voidwriteCompressed(ReadableByteChannel channel, Path outputPath)
-
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 channel, Path outputPath) throws IOException - Throws:
IOException
-
createNewFile
- Throws:
IOException
-