net.minecraft.util.logging

public class LogFileCompressor

net.minecraft.util.eventlog.EventLogDirectory
net.minecraft.class_7929
net.minecraft.util.logging.LogFileCompressor

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
LOGGER
field_41288
LOGGER
private static final int
COMPRESS_BUFFER_SIZE
field_41289
COMPRESSION_BUFFER_SIZE
private static final String
COMPRESSED_EXTENSION
field_41290
GZ_EXTENSION
private final Path
root
field_41291
directory
private final String
extension
field_41292
extension

Constructor summary

ModifierConstructor
private (Path directory, String extension)

Method summary

Modifier and TypeMethod
public static LogFileCompressor
open(Path root, String extension)
method_47552(Path arg0, String arg1)
create(Path directory, String extension)
public LogFileCompressor$LogFileIterable
listFiles()
method_47549()
getAll()
private LogFileCompressor$LogFile
parseFile(Path path)
method_47551(Path arg0)
get(Path path)
private static void
tryCompress(Path raw, Path compressed)
method_47553(Path arg0, Path arg1)
compress(Path from, Path to)
private static void
writeCompressed(ReadableByteChannel channel, Path target)
method_47550(ReadableByteChannel arg0, Path arg1)
compress(ReadableByteChannel source, Path outputPath)
public LogFileCompressor$Uncompressed
createNewFile(LocalDate date)
method_47554(LocalDate arg0)
createLogFile(LocalDate date)
private static boolean
lambda$listFiles$0(Path arg0)
method_47555(Path arg0)
method_47555(Path arg0)