Class LogFileCompressor

java.lang.Object
net.minecraft.util.logging.LogFileCompressor

public class LogFileCompressor extends Object
Mappings:
Namespace Name
named net/minecraft/util/logging/LogFileCompressor
intermediary net/minecraft/class_7929
official boj
  • Field Details

    • LOGGER

      static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/util/logging/LogFileCompressor;LOGGER:Lorg/slf4j/Logger;
      intermediary field_41288 Lnet/minecraft/class_7929;field_41288:Lorg/slf4j/Logger;
      official a Lboj;a:Lorg/slf4j/Logger;
    • COMPRESSION_BUFFER_SIZE

      private static final int COMPRESSION_BUFFER_SIZE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named COMPRESSION_BUFFER_SIZE Lnet/minecraft/util/logging/LogFileCompressor;COMPRESSION_BUFFER_SIZE:I
      intermediary field_41289 Lnet/minecraft/class_7929;field_41289:I
      official b Lboj;b:I
    • GZ_EXTENSION

      private static final String GZ_EXTENSION
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named GZ_EXTENSION Lnet/minecraft/util/logging/LogFileCompressor;GZ_EXTENSION:Ljava/lang/String;
      intermediary field_41290 Lnet/minecraft/class_7929;field_41290:Ljava/lang/String;
      official c Lboj;c:Ljava/lang/String;
    • directory

      private final Path directory
      Mappings:
      Namespace Name Mixin selector
      named directory Lnet/minecraft/util/logging/LogFileCompressor;directory:Ljava/nio/file/Path;
      intermediary field_41291 Lnet/minecraft/class_7929;field_41291:Ljava/nio/file/Path;
      official d Lboj;d:Ljava/nio/file/Path;
    • extension

      private final String extension
      Mappings:
      Namespace Name Mixin selector
      named extension Lnet/minecraft/util/logging/LogFileCompressor;extension:Ljava/lang/String;
      intermediary field_41292 Lnet/minecraft/class_7929;field_41292:Ljava/lang/String;
      official e Lboj;e:Ljava/lang/String;
  • Constructor Details

    • LogFileCompressor

      private LogFileCompressor(Path directory, String extension)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/util/logging/LogFileCompressor;<init>(Ljava/nio/file/Path;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_7929;<init>(Ljava/nio/file/Path;Ljava/lang/String;)V
      official <init> Lboj;<init>(Ljava/nio/file/Path;Ljava/lang/String;)V
  • Method Details

    • create

      public static LogFileCompressor create(Path directory, String extension) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/util/logging/LogFileCompressor;create(Ljava/nio/file/Path;Ljava/lang/String;)Lnet/minecraft/util/logging/LogFileCompressor;
      intermediary method_47552 Lnet/minecraft/class_7929;method_47552(Ljava/nio/file/Path;Ljava/lang/String;)Lnet/minecraft/class_7929;
      official a Lboj;a(Ljava/nio/file/Path;Ljava/lang/String;)Lboj;
    • getAll

      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named getAll Lnet/minecraft/util/logging/LogFileCompressor;getAll()Lnet/minecraft/util/logging/LogFileCompressor$LogFileIterable;
      intermediary method_47549 Lnet/minecraft/class_7929;method_47549()Lnet/minecraft/class_7929$class_7933;
      official a Lboj;a()Lboj$d;
    • get

      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/util/logging/LogFileCompressor;get(Ljava/nio/file/Path;)Lnet/minecraft/util/logging/LogFileCompressor$LogFile;
      intermediary method_47551 Lnet/minecraft/class_7929;method_47551(Ljava/nio/file/Path;)Lnet/minecraft/class_7929$class_7931;
      official a Lboj;a(Ljava/nio/file/Path;)Lboj$b;
    • compress

      static void compress(Path from, Path to) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named compress Lnet/minecraft/util/logging/LogFileCompressor;compress(Ljava/nio/file/Path;Ljava/nio/file/Path;)V
      intermediary method_47553 Lnet/minecraft/class_7929;method_47553(Ljava/nio/file/Path;Ljava/nio/file/Path;)V
      official a Lboj;a(Ljava/nio/file/Path;Ljava/nio/file/Path;)V
    • compress

      private static void compress(ReadableByteChannel source, Path outputPath) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named compress Lnet/minecraft/util/logging/LogFileCompressor;compress(Ljava/nio/channels/ReadableByteChannel;Ljava/nio/file/Path;)V
      intermediary method_47550 Lnet/minecraft/class_7929;method_47550(Ljava/nio/channels/ReadableByteChannel;Ljava/nio/file/Path;)V
      official a Lboj;a(Ljava/nio/channels/ReadableByteChannel;Ljava/nio/file/Path;)V
    • createLogFile

      public LogFileCompressor.Uncompressed createLogFile(LocalDate date) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named createLogFile Lnet/minecraft/util/logging/LogFileCompressor;createLogFile(Ljava/time/LocalDate;)Lnet/minecraft/util/logging/LogFileCompressor$Uncompressed;
      intermediary method_47554 Lnet/minecraft/class_7929;method_47554(Ljava/time/LocalDate;)Lnet/minecraft/class_7929$class_7934;
      official a Lboj;a(Ljava/time/LocalDate;)Lboj$e;