Class MetadataFormat

All Implemented Interfaces:
Serializable, Cloneable, Localized

final class MetadataFormat extends TreeTableFormat
Default format for AbstractMetadata objects.
Since:
1.0
Version:
1.0
  • Field Details

    • INSTANCE

      static final MetadataFormat INSTANCE
      The shared instance to use for the TreeTableView.toString() method implementation. Would need to be reset to null on locale or timezone changes, but we do not yet have any listener for such information.
  • Constructor Details

    • MetadataFormat

      private MetadataFormat()
      Creates a new format.
  • Method Details

    • writeColumnSeparator

      protected void writeColumnSeparator(int nextColumn, TableAppender out)
      Override the default behavior for not moving to next column before writing remarks. Doing so put too many spaces for large metadata tree. Instead, we add spaces in the current column.
      Overrides:
      writeColumnSeparator in class TreeTableFormat
      Parameters:
      nextColumn - zero-based index of the column to be written after the separator.
      out - where to write the column separator.
      See Also: