Class DataPrinter

java.lang.Object
org.basex.data.DataPrinter

public final class DataPrinter extends Object
Serializes the database table to a string representation.
Author:
BaseX Team 2005-21, BSD License, Christian Gruen
  • Constructor Details

    • DataPrinter

      public DataPrinter(Data data)
      Constructor.
      Parameters:
      data - data reference
  • Method Details

    • add

      public void add(int start, int end)
      Adds the specified table entries.
      Parameters:
      start - first node to be added
      end - last node to be added
    • finish

      public byte[] finish()
      Returns the token representation.
      Returns:
      table
    • toString

      public String toString()
      Overrides:
      toString in class Object