Record Class LogFileCompressor.Uncompressed

java.lang.Object
java.lang.Record
net.minecraft.util.logging.LogFileCompressor.Uncompressed
Record Components:
path -
id -
All Implemented Interfaces:
LogFileCompressor.LogFile
Enclosing class:
LogFileCompressor

public static record LogFileCompressor.Uncompressed(Path path, LogFileCompressor.LogId id) extends Record implements LogFileCompressor.LogFile
Mappings:
Namespace Name
official azy$e
intermediary net/minecraft/class_7929$class_7934
named net/minecraft/util/logging/LogFileCompressor$Uncompressed
official a
intermediary comp_1156
named path
official b
intermediary comp_1157
named id
  • Field Details

  • Constructor Details

  • Method Details

    • open

      public FileChannel open() throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official e Lazy$e;e()Ljava/nio/channels/FileChannel;
      intermediary method_47565 Lnet/minecraft/class_7929$class_7934;method_47565()Ljava/nio/channels/FileChannel;
      named open Lnet/minecraft/util/logging/LogFileCompressor$Uncompressed;open()Ljava/nio/channels/FileChannel;
    • getReader

      @Nullable public @Nullable Reader getReader() throws IOException
      Specified by:
      getReader in interface LogFileCompressor.LogFile
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lazy$b;a()Ljava/io/Reader;
      intermediary method_47556 Lnet/minecraft/class_7929$class_7931;method_47556()Ljava/io/Reader;
      named getReader Lnet/minecraft/util/logging/LogFileCompressor$LogFile;getReader()Ljava/io/Reader;
    • compress

      public LogFileCompressor.Compressed compress() throws IOException
      Specified by:
      compress in interface LogFileCompressor.LogFile
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lazy$b;b()Lazy$a;
      intermediary method_47557 Lnet/minecraft/class_7929$class_7931;method_47557()Lnet/minecraft/class_7929$class_7930;
      named compress Lnet/minecraft/util/logging/LogFileCompressor$LogFile;compress()Lnet/minecraft/util/logging/LogFileCompressor$Compressed;
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • path

      public Path path()
      Specified by:
      path in interface LogFileCompressor.LogFile
      Mappings:
      Namespace Name Mixin selector
      official c Lazy$b;c()Ljava/nio/file/Path;
      intermediary comp_1156 Lnet/minecraft/class_7929$class_7931;comp_1156()Ljava/nio/file/Path;
      named path Lnet/minecraft/util/logging/LogFileCompressor$LogFile;path()Ljava/nio/file/Path;
    • id

      Specified by:
      id in interface LogFileCompressor.LogFile
      Mappings:
      Namespace Name Mixin selector
      official d Lazy$b;d()Lazy$c;
      intermediary comp_1157 Lnet/minecraft/class_7929$class_7931;comp_1157()Lnet/minecraft/class_7929$class_7932;
      named id Lnet/minecraft/util/logging/LogFileCompressor$LogFile;id()Lnet/minecraft/util/logging/LogFileCompressor$LogId;