Class CsvWriter

java.lang.Object
net.minecraft.util.CsvWriter

public class CsvWriter extends Object
Mappings:
Namespace Name
official aob
intermediary net/minecraft/class_4456
named net/minecraft/util/CsvWriter
  • Field Details

    • CRLF

      private static final String CRLF
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Laob;a:Ljava/lang/String;
      intermediary field_29836 Lnet/minecraft/class_4456;field_29836:Ljava/lang/String;
      named CRLF Lnet/minecraft/util/CsvWriter;CRLF:Ljava/lang/String;
    • COMMA

      private static final String COMMA
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Laob;b:Ljava/lang/String;
      intermediary field_29837 Lnet/minecraft/class_4456;field_29837:Ljava/lang/String;
      named COMMA Lnet/minecraft/util/CsvWriter;COMMA:Ljava/lang/String;
    • writer

      private final Writer writer
      Mappings:
      Namespace Name Mixin selector
      official c Laob;c:Ljava/io/Writer;
      intermediary field_20284 Lnet/minecraft/class_4456;field_20284:Ljava/io/Writer;
      named writer Lnet/minecraft/util/CsvWriter;writer:Ljava/io/Writer;
    • column

      private final int column
      Mappings:
      Namespace Name Mixin selector
      official d Laob;d:I
      intermediary field_20285 Lnet/minecraft/class_4456;field_20285:I
      named column Lnet/minecraft/util/CsvWriter;column:I
  • Constructor Details

    • CsvWriter

      CsvWriter(Writer writer, List<String> columns) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official <init> Laob;<init>(Ljava/io/Writer;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_4456;<init>(Ljava/io/Writer;Ljava/util/List;)V
      named <init> Lnet/minecraft/util/CsvWriter;<init>(Ljava/io/Writer;Ljava/util/List;)V
  • Method Details

    • makeHeader

      public static CsvWriter.Header makeHeader()
      Mappings:
      Namespace Name Mixin selector
      official a Laob;a()Laob$a;
      intermediary method_21627 Lnet/minecraft/class_4456;method_21627()Lnet/minecraft/class_4456$class_4457;
      named makeHeader Lnet/minecraft/util/CsvWriter;makeHeader()Lnet/minecraft/util/CsvWriter$Header;
    • printRow

      public void printRow(Object[] columns) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Laob;a([Ljava/lang/Object;)V
      intermediary method_21630 Lnet/minecraft/class_4456;method_21630([Ljava/lang/Object;)V
      named printRow Lnet/minecraft/util/CsvWriter;printRow([Ljava/lang/Object;)V
    • printRow

      private void printRow(Stream<?> columns) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Laob;a(Ljava/util/stream/Stream;)V
      intermediary method_21629 Lnet/minecraft/class_4456;method_21629(Ljava/util/stream/Stream;)V
      named printRow Lnet/minecraft/util/CsvWriter;printRow(Ljava/util/stream/Stream;)V
    • escape

      private static String escape(@Nullable @Nullable Object o)
      Mappings:
      Namespace Name Mixin selector
      official a Laob;a(Ljava/lang/Object;)Ljava/lang/String;
      intermediary method_21628 Lnet/minecraft/class_4456;method_21628(Ljava/lang/Object;)Ljava/lang/String;
      named escape Lnet/minecraft/util/CsvWriter;escape(Ljava/lang/Object;)Ljava/lang/String;