Top Constructors Methods
io.github.kusoroadeolu.clique.internal.utils

public Class TableUtils

extends Object
Class Inheritance
Annotations
@InternalApi
since:3.2.0
Imports
io.github.kusoroadeolu.clique.configuration.CellAlign, io.github.kusoroadeolu.clique.internal.WidthAwareList, io.github.kusoroadeolu.clique.internal.documentation.InternalApi, java.util.List, .Map

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static String
align(CellAlign align, StringBuilder sb, int offset, String styled, String vLine)

public static CellAlign
chooseColAlignment(int colIdx, CellAlign defAlign, Map<Integer, CellAlign> cAlign)

public static String
handleNulls(String val, String nullReplacement)

public static void
public static void
validateHeaders(int idx)

public static void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

TableUtilsback to summary
private TableUtils()

Method Detail

alignback to summary
public static String align(CellAlign align, StringBuilder sb, int offset, String styled, String vLine)
chooseColAlignmentback to summary
public static CellAlign chooseColAlignment(int colIdx, CellAlign defAlign, Map<Integer, CellAlign> cAlign)
handleNullsback to summary
public static String handleNulls(String val, String nullReplacement)
validateColumnIndexback to summary
public static void validateColumnIndex(int colIdx, List<WidthAwareList> cols)
validateHeadersback to summary
public static void validateHeaders(int idx)
validateRowIndexback to summary
public static void validateRowIndex(int rowIdx, List<WidthAwareList> rows)