Class LogFileCompressor

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

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

    • LOGGER

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

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

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

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

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

    • LogFileCompressor

      private LogFileCompressor(Path directory, String extension)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbdb;<init>(Ljava/nio/file/Path;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_7929;<init>(Ljava/nio/file/Path;Ljava/lang/String;)V
      named <init> Lnet/minecraft/util/logging/LogFileCompressor;<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
      official a Lbdb;a(Ljava/nio/file/Path;Ljava/lang/String;)Lbdb;
      intermediary method_47552 Lnet/minecraft/class_7929;method_47552(Ljava/nio/file/Path;Ljava/lang/String;)Lnet/minecraft/class_7929;
      named create Lnet/minecraft/util/logging/LogFileCompressor;create(Ljava/nio/file/Path;Ljava/lang/String;)Lnet/minecraft/util/logging/LogFileCompressor;
    • getAll

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

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

      static void compress(Path from, Path to) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lbdb;a(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
      named compress Lnet/minecraft/util/logging/LogFileCompressor;compress(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
      official a Lbdb;a(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
      named compress Lnet/minecraft/util/logging/LogFileCompressor;compress(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
      official a Lbdb;a(Ljava/time/LocalDate;)Lbdb$e;
      intermediary method_47554 Lnet/minecraft/class_7929;method_47554(Ljava/time/LocalDate;)Lnet/minecraft/class_7929$class_7934;
      named createLogFile Lnet/minecraft/util/logging/LogFileCompressor;createLogFile(Ljava/time/LocalDate;)Lnet/minecraft/util/logging/LogFileCompressor$Uncompressed;