Skip navigation links
A B C D E F G H I L M O P R S T V W 

A

addColumn() - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
addColumn() - Method in interface org.refcodes.textual.TableBuilder
Adds a column and returns this TableBuilder instance as of the builder pattern.
AlignTextUtility - Class in org.refcodes.textual
 
AsciiArtUtility - Class in org.refcodes.textual
 

B

BannerBuilder - Interface in org.refcodes.textual
 

C

ColumnWidth - Interface in org.refcodes.textual
This interface specifies the method to define a width either as percentage or absolute, e.g. in the number of chars.
ColumnWidthImpl - Class in org.refcodes.textual.impls
Defines a column's width either in char length or in percent; this is most useful when
ColumnWidthImpl(int, WidthType) - Constructor for class org.refcodes.textual.impls.ColumnWidthImpl
Constructs a column's width, either in percent (%) or in number of chars.

D

doStrip(StringBuffer, char) - Static method in class org.refcodes.textual.AlignTextUtility
Removes all leading and trailing chars identical with specified char ch.
doStripLeft(StringBuffer, char) - Static method in class org.refcodes.textual.AlignTextUtility
Removes all leading chars identical with specified char ch.
doStripRight(StringBuffer, char) - Static method in class org.refcodes.textual.AlignTextUtility
Removes all rear chars identical with specified char ch.
DrawTextUtility - Class in org.refcodes.textual
 

E

EscapeTextUtility - Class in org.refcodes.textual
 

F

FindAndReplaceUtility - Class in org.refcodes.textual
 
FontName - Enum in org.refcodes.textual
An enumeration with commonly used font names.
FontStyle - Enum in org.refcodes.textual
An enumeration with commonly used font styles.
fromFontName(String) - Static method in enum org.refcodes.textual.FontName
Retrieves the enumeration element representing the given font name (ignoring the case) or null if none was found.
fromSeparatedValues(String) - Static method in class org.refcodes.textual.SeparatedValuesUtility
Takes the String and creates a List with String instances containing the elements as identified from the String by splitting the String at the delimiter positions and adding those chunks to the List with the according DelimeterConsts.CSV_DELIMETER separator..
fromSeparatedValues(String, char) - Static method in class org.refcodes.textual.SeparatedValuesUtility
Takes the String and creates a List with String instances containing the elements as identified from the String by splitting the String at the delimiter positions and adding those chunks to the List.
fromSplitValues(String) - Static method in class org.refcodes.textual.SeparatedValuesUtility
Takes the String and creates a List with String instances containing the elements as identified from the String by splitting the String at the delimiter positions and adding those chunks to the List with the according DelimeterConsts.CSV_DELIMETER separator..
fromSplitValues(String, char) - Static method in class org.refcodes.textual.SeparatedValuesUtility
Takes the String and creates a List with String instances containing the elements as identified from the String by splitting the String at the delimiter positions and adding those chunks to the List.
fromSplitValues(String, String) - Static method in class org.refcodes.textual.SeparatedValuesUtility
Takes the String and creates a List with String instances containing the elements as identified from the String by splitting the String at the delimiter positions and adding those chunks to the List.
fromStyleCode(int) - Static method in enum org.refcodes.textual.FontStyle
Retrieves the enumeration element representing the given font style code (ignoring the case) or null if none was found.
fromStyleName(String) - Static method in enum org.refcodes.textual.FontStyle
Retrieves the enumeration element representing the given font name (ignoring the case) or null if none was found.
fromTextBlock(String[]) - Static method in class org.refcodes.textual.TextBlockUtility
Concatenates the array of String objects to a single String where the array's String elements are directly appended behind each other.
fromTextBlock(String[], String) - Static method in class org.refcodes.textual.TextBlockUtility
Concatenates the array of String objects to a single String where the array's String elements are separated from each other by the given delimiter.

G

getBody() - Method in enum org.refcodes.textual.TableStyle
Returns the table body's characters.
getFontName() - Method in enum org.refcodes.textual.FontName
Returns the font name of the given enumeration element.
getHeader() - Method in enum org.refcodes.textual.TableStyle
Returns the table header's characters.
getMaxStringLength(Object[]) - Static method in class org.refcodes.textual.TextMetricsUtility
Returns the length of the longest String (maximum length).
getPalette() - Method in enum org.refcodes.textual.TextPalette
Returns the palette for the according enumeration element.
getRowWidth() - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
getStyleCode() - Method in enum org.refcodes.textual.FontStyle
Returns the font style code of the given enumeration element.
getStyleName() - Method in enum org.refcodes.textual.FontStyle
Returns the font style name of the given enumeration element.
getTableStatus() - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
getTableStatus() - Method in interface org.refcodes.textual.TablePrinter
Retrieves the TablePrinter (TableBuilder) status.
getTableStyle() - Method in interface org.refcodes.textual.TableStyleAccessor
Gets the currently set table style being used.
getTail() - Method in enum org.refcodes.textual.TableStyle
Returns the table tail's characters.
getWidth() - Method in interface org.refcodes.textual.ColumnWidth
The width of the column either in percent (%) or in number of chars, depending on the provided WidthType.
getWidth() - Method in class org.refcodes.textual.impls.ColumnWidthImpl
 
getWidthType() - Method in interface org.refcodes.textual.ColumnWidth
The type of the width being provided, either percent (%) or number of chars.
getWidthType() - Method in class org.refcodes.textual.impls.ColumnWidthImpl
 

H

hasStringAt(StringBuffer, String, int) - Static method in class org.refcodes.textual.FindAndReplaceUtility
Finds the position in the given buffer of the given text beginning at the given index position.
HumanReadableUtility - Class in org.refcodes.textual
 

I

indexOf(StringBuffer, String, int) - Static method in class org.refcodes.textual.FindAndReplaceUtility
Finds the position in the given buffer of the given text beginning at the given index position.
isAmbiguousProperty(String, String) - Static method in class org.refcodes.textual.PropertiesUtility
Tests whether two texts are equal when flattened (e.g. no Camel case nor Pascal case any more and no more "_" underscores")

L

LineSplitMode - Enum in org.refcodes.textual
The LineSplitMode specifies for according algorithms on how a line is to be split apart.

M

MoreTextMode - Enum in org.refcodes.textual
The MoreTextMode specifies for according algorithms on how a line is to be split or cut off.
MoreTextUtility - Class in org.refcodes.textual
 

O

org.refcodes.textual - package org.refcodes.textual
 
org.refcodes.textual.impls - package org.refcodes.textual.impls
 

P

printHeader(String...) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
printHeader(String...) - Method in interface org.refcodes.textual.TablePrinter
Prints the table's header to the PrintStream configured for this PrintWriter with the content of the provided columns.
printHeaderBegin() - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
printHeaderBegin() - Method in interface org.refcodes.textual.TablePrinter
Prints out a header begin to the PrintStream configured for this PrintWriter, for convenience reasons, this is being encapsulated by the TablePrinter.printHeader(String...) method.
printHeaderContinue(String...) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
printHeaderContinue(String...) - Method in interface org.refcodes.textual.TablePrinter
Continues to print out a begun header to the PrintStream configured for this PrintWriter, for convenience reasons, this is being encapsulated by the TablePrinter.printHeader(String...) method.
printHeaderEnd(TableBuilder) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
printHeaderEnd() - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
printHeaderEnd(TableBuilder) - Method in interface org.refcodes.textual.TablePrinter
Ends the headers of the provided TableBuilder for this table printer to continue to the PrintStream configured for this PrintWriter; different header widths and column widths are taken care of, so it is a pleasure to mix different TableBuilders, especially when empty columns may result in better using another column layout making better use of the available width.
printHeaderEnd() - Method in interface org.refcodes.textual.TablePrinter
Prints out a header end to the PrintStream configured for this PrintWriter, for convenience reasons, this is being encapsulated by the TablePrinter.printHeader(String...) method.
printLines(String[], PrintStream) - Static method in class org.refcodes.textual.TextOutputUtility
Prints out the collection of lines to the provided PrintStream.
printRow(String...) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
printRow(String...) - Method in interface org.refcodes.textual.TablePrinter
Prints the table's (next) row to the PrintStream configured for this PrintWriter with the content of the provided columns.
printRowBegin() - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
printRowBegin() - Method in interface org.refcodes.textual.TablePrinter
Prints out a row begin to the PrintStream configured for this PrintWriter, for convenience reasons, this is being encapsulated by the TablePrinter.printRow(String...) method.
printRowContinue(String...) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
printRowContinue(String...) - Method in interface org.refcodes.textual.TablePrinter
Continues a print out begun row to the PrintStream configured for this PrintWriter, for convenience reasons, this is being encapsulated by the TablePrinter.printRow(String...) method.
printRowEnd(TableBuilder) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
printRowEnd(TableBuilder) - Method in interface org.refcodes.textual.TablePrinter
Ends the rows of the provided TableBuilder for this table printer to continue to the PrintStream configured for this PrintWriter; different row widths and column widths are taken care of, so it is a pleasure to mix different TableBuilders, especially when empty columns may result in better using another column layout making better use of the available width.
printTail() - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
printTail() - Method in interface org.refcodes.textual.TablePrinter
Finishes off the table by printing its closing to the PrintStream configured for this PrintWriter.
PropertiesUtility - Class in org.refcodes.textual
 

R

RandomTextUtility - Class in org.refcodes.textual
 

S

SeparatedValuesUtility - Class in org.refcodes.textual
 
setTableStatus(TableStatus) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
setTableStatus(TableStatus) - Method in interface org.refcodes.textual.TablePrinter
Set the TablePrinter (TableBuilder) status.
setTableStyle(TableStyle) - Method in interface org.refcodes.textual.TableStyleAccessor.TableStyleMutator
Sets the table style to be used.

T

TableBuilder - Interface in org.refcodes.textual
The table printer has the builder pattern applied to configure a text (ASCII) table for later printing custom tables with a title, the table rows and if required a table tail.
TableBuilderImpl - Class in org.refcodes.textual.impls
An implementation of the TableBuilder interface.
TableBuilderImpl() - Constructor for class org.refcodes.textual.impls.TableBuilderImpl
 
TableBuilderImpl(int) - Constructor for class org.refcodes.textual.impls.TableBuilderImpl
Initializes the TableBuilder with the given row width.
TablePrinter - Interface in org.refcodes.textual
In comparison to the TableBuilder, the TablePrinter just provides the methods required to print a table.
TableStatus - Enum in org.refcodes.textual
The TableStatus provides the status of the table, e.g. whether it has begin printing the header, whether it has continued to print a row or whether it has printed the tail.
TableStyle - Enum in org.refcodes.textual
 
TableStyleAccessor - Interface in org.refcodes.textual
Provides an accessor for a table style property.
TableStyleAccessor.TableStyleBuilder<B extends TableStyleAccessor.TableStyleBuilder<?>> - Interface in org.refcodes.textual
Provides a mutator for an output stream property.
TableStyleAccessor.TableStyleMutator - Interface in org.refcodes.textual
Provides a mutator for an output stream property.
TableStyleAccessor.TableStyleProperty - Interface in org.refcodes.textual
Provides a table style property.
TextAlignMode - Enum in org.refcodes.textual
The TextAlignMode specifies for according algorithms on how a line is to be aligned.
TextBlockMode - Enum in org.refcodes.textual
The TextBlockMode specifies how to arrange a text block in an available area.
TextBlockUtility - Class in org.refcodes.textual
 
TextFormatMode - Enum in org.refcodes.textual
Determines how to format a text (in a table), e.g. do not format anything, format the text only or format the whole cell containing the text, even blank lines (important for the background).
TextMetricsUtility - Class in org.refcodes.textual
 
TextOutputUtility - Class in org.refcodes.textual
 
TextPalette - Enum in org.refcodes.textual
An enumeration for text palette definitions to make it easy working with such default palettes.
toAlign(String, int, char, TextAlignMode) - Static method in class org.refcodes.textual.AlignTextUtility
Fills a text up on by appending the given char to the left and the right till the given length is reached.
toAlign(String[], int, char, TextAlignMode) - Static method in class org.refcodes.textual.AlignTextUtility
 
toAlignBlock(String, int, char) - Static method in class org.refcodes.textual.AlignTextUtility
Fills a text up on by adding the given char to occurrences of the given char round robin till given length is reached (block mode).
toAlignBlock(String[], int, char) - Static method in class org.refcodes.textual.AlignTextUtility
 
toAlignCenter(String, int, char) - Static method in class org.refcodes.textual.AlignTextUtility
Fills a text up on by appending the given char to the left and the right till the given length is reached (align center).
toAlignCenter(String[], int, char) - Static method in class org.refcodes.textual.AlignTextUtility
 
toAlignLeft(String, int, char) - Static method in class org.refcodes.textual.AlignTextUtility
Fills a text up on by appending the given char to the right till the given length is reached (align left).
toAlignLeft(String[], int, char) - Static method in class org.refcodes.textual.AlignTextUtility
 
toAlignRight(String, int, char) - Static method in class org.refcodes.textual.AlignTextUtility
Fills a text up by prepending the given char to the left till the given length is reached (align right).
toAlignRight(String[], int, char) - Static method in class org.refcodes.textual.AlignTextUtility
 
toAscii(int, char[]) - Static method in class org.refcodes.textual.AsciiArtUtility
Converts an RGB value to an ASCII character from a palette if characters as provided.
toAscii(int) - Static method in class org.refcodes.textual.AsciiArtUtility
Converts an RGB value to an ASCII character from a palette if characters as provided.
toAsciiArt(String, int, String, int, char[]) - Static method in class org.refcodes.textual.AsciiArtUtility
This method creates an array of String instances containing the given text as so called ASCII art rendered with the given Font name and Font SOAPBinding.Style to fit into the given width.
toAsciiArt(String, int, String, int) - Static method in class org.refcodes.textual.AsciiArtUtility
This method creates an array of String instances containing the given text as so called ASCII art rendered with the given Font name and Font SOAPBinding.Style to fit into the given width.
toAsciiArt(String, Font) - Static method in class org.refcodes.textual.AsciiArtUtility
This method creates an array of String instances containing the given text rendered with the given Font as so called ASCII art.
toAsciiArt(String, Font, char[]) - Static method in class org.refcodes.textual.AsciiArtUtility
This method creates an array of String instances containing the given text rendered with the given Font as so called ASCII art.
toAsciiBorder(String[]) - Static method in class org.refcodes.textual.DrawTextUtility
Adds a predefined "single-line" border to the provided text.
toBorder(String[], int, char) - Static method in class org.refcodes.textual.DrawTextUtility
Adds the according border with the given char and the provided witdh to the provided text.
toBorder(String[], char, char, char, char, char, char) - Static method in class org.refcodes.textual.DrawTextUtility
Adds a predefined border according border to the provided text.
toBottomBorder(String[], int, char) - Static method in class org.refcodes.textual.DrawTextUtility
Adds the according border with the given char and the provided witdh to the provided text.
toColumns(String[][], TextBlockMode) - Static method in class org.refcodes.textual.TextBlockUtility
Creates an array of String arrays where all the arrays are of the same length and where the arrays are all aligned as specified by the passed TextBlockMode
toColumnWidths() - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
toColumnWidths() - Method in interface org.refcodes.textual.TableBuilder
Returns the currently calculated or configured column widths.
toColumnWidths(int, ColumnWidth...) - Static method in class org.refcodes.textual.TextMetricsUtility
Calculates the columns widths in "number of chars" according to the provided ColumnWidthImpl instances in relation to the provided total (available) width; the provided column widths can be a mix of "number of char" widths (WidthType.ABSOLUTE) and percent (%) widths (WidthType.RELATIVE).
toDebugPasswordText(String) - Static method in class org.refcodes.textual.HumanReadableUtility
This method provides a password hint by keeping the first and the last characters of the password and exchanging the rest by an asterisk "*".
toDoubleBorder(String[]) - Static method in class org.refcodes.textual.DrawTextUtility
Adds a predefined "double-line" border to the provided text.
toEffictiveLength(String) - Static method in class org.refcodes.textual.PropertiesUtility
Calculates the effective length ignoring any ANSI escape sequences.
toEscaped(String, String[][]) - Static method in class org.refcodes.textual.EscapeTextUtility
Escapes a text using the provided escape matrix which must be a two dimensional array with two elements per line and where the element at position 0 (of a line) represents the character and the element at position 1 (of a line) the escaped character.
toHeader(String...) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
toHeader(String...) - Method in interface org.refcodes.textual.TablePrinter
Prints the table's header with the content of the provided columns.
toHeaderBegin() - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
toHeaderBegin() - Method in interface org.refcodes.textual.TablePrinter
Begins a header, for convenience reasons, this is being encapsulated by the TablePrinter.toHeader(String...) method.
toHeaderContinue(String...) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
toHeaderContinue(String...) - Method in interface org.refcodes.textual.TablePrinter
Continues a begun header, for convenience reasons, this is being encapsulated by the TablePrinter.toHeader(String...) method.
toHeaderEnd(TableBuilder) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
toHeaderEnd() - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
toHeaderEnd(TableBuilder) - Method in interface org.refcodes.textual.TablePrinter
Ends the headers of the provided TableBuilder for this table printer to continue; different header widths and column widths are taken care of, so it is a pleasure to mix different TableBuilders, especially when empty columns may result in better using another column layout making better use of the available width.
toHeaderEnd() - Method in interface org.refcodes.textual.TablePrinter
Ends a header, for convenience reasons, this is being encapsulated by the TablePrinter.toHeader(String...) method.
toInverseAsciiArt(String, int, String, int, char[]) - Static method in class org.refcodes.textual.AsciiArtUtility
Same as toAsciiArt with inverted colors (black = white, dark = bright, bright = dark, white = black).
toInverseAsciiArt(String, int, String, int) - Static method in class org.refcodes.textual.AsciiArtUtility
Same as toAsciiArt with inverted colors (black = white, dark = bright, bright = dark, white = black).
toInverseAsciiArt(String, Font) - Static method in class org.refcodes.textual.AsciiArtUtility
Same as toAsciiArt with inverted colors (black = white, dark = bright, bright = dark, white = black).
toInverseAsciiArt(String, Font, char[]) - Static method in class org.refcodes.textual.AsciiArtUtility
Same as toAsciiArt with inverted colors (black = white, dark = bright, bright = dark, white = black).
toLeftBorder(String[], int, char) - Static method in class org.refcodes.textual.DrawTextUtility
Adds the according border with the given char and the provided witdh to the provided text.
toLine(int, char) - Static method in class org.refcodes.textual.DrawTextUtility
Returns a String with the given length and containing only the provided fill character.
toMore(String, int, String, MoreTextMode) - Static method in class org.refcodes.textual.MoreTextUtility
the text is "mored" depending on the provided MoreTextMode.
toMoreCenter(String, int, String) - Static method in class org.refcodes.textual.MoreTextUtility
Truncates a text by cutting the text from left to the right and from right to left one by one to reach the given length.
toMoreLeft(String, int, String) - Static method in class org.refcodes.textual.MoreTextUtility
Truncates a text by cutting the text from left to the right to reach the given length.
toMoreRight(String, int, String) - Static method in class org.refcodes.textual.MoreTextUtility
Truncates a text by cutting the text from left to the right to reach the given length.
toNonBreakingLine(String) - Static method in class org.refcodes.textual.TextBlockUtility
Creates a single line by replacing all new lines, line feeds and tabulators from the given String by full stops or spaces (heuristic) so that it is displayed in one single line.
toNormalizedProperty(String) - Static method in class org.refcodes.textual.PropertiesUtility
Converts a Pascal case or camel case property to an "_" underscore separated upper case property.
toOverwriteLeft(String, String) - Static method in class org.refcodes.textual.AlignTextUtility
Overwrites a text starting at the left hand side with the given "overwriting" text.
toOverwriteRight(String, String) - Static method in class org.refcodes.textual.AlignTextUtility
Overwrites a text starting at the right hand side with the given "overwriting" text.
toProperties(String, char) - Static method in class org.refcodes.textual.PropertiesUtility
Similar to SeparatedValuesUtility.fromSeparatedValues(String, char) with the difference, that additionally properties with key and value are extracted from the separated values.
toRandomAlphabetic(int) - Static method in class org.refcodes.textual.RandomTextUtility
Creates random alphabetic text with the given length.
toRandomAlphanumeric(int) - Static method in class org.refcodes.textual.RandomTextUtility
Creates random alphanumeric text with the given length.
toRandomAscii(int) - Static method in class org.refcodes.textual.RandomTextUtility
Creates random ASCII text with the given length.
toRandomNumeric(int) - Static method in class org.refcodes.textual.RandomTextUtility
Creates random numeric text with the given length.
toReplaced(String, String, String) - Static method in class org.refcodes.textual.FindAndReplaceUtility
Replaces all occurrences of a find-String with a replace- String in a text and returns the find-and-replace String.
toReplaced(StringBuffer, String, String) - Static method in class org.refcodes.textual.FindAndReplaceUtility
Replaces a text by an other text in a StringBuffer.
toRightBorder(String[], int, char) - Static method in class org.refcodes.textual.DrawTextUtility
Adds the according border with the given char and the provided witdh to the provided text.
toRow(String...) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
toRow(String...) - Method in interface org.refcodes.textual.TablePrinter
Prints the table's (next) row with the content of the provided columns.
toRowBegin() - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
toRowBegin() - Method in interface org.refcodes.textual.TablePrinter
Begins a row, for convenience reasons, this is being encapsulated by the TablePrinter.toRow(String...) method.
toRowContinue(String...) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
toRowContinue(String...) - Method in interface org.refcodes.textual.TablePrinter
Continues a begun row, for convenience reasons, this is being encapsulated by the TablePrinter.toRow(String...) method.
toRowEnd(TableBuilder) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
toRowEnd(TableBuilder) - Method in interface org.refcodes.textual.TablePrinter
Ends the rows of the provided TableBuilder for this table printer to continue; different row widths and column widths are taken care of, so it is a pleasure to mix different TableBuilders, especially when empty columns may result in better using another column layout making better use of the available width.
toSeparatedValue(Object) - Static method in class org.refcodes.textual.SeparatedValuesUtility
Escapes a single value according to the rules of CSV like separated values with the according DelimeterConsts.CSV_DELIMETER separator.
toSeparatedValue(Object, char) - Static method in class org.refcodes.textual.SeparatedValuesUtility
Escapes a single value according to the rules of CSV like separated values.
toSeparatedValues(Collection<?>) - Static method in class org.refcodes.textual.SeparatedValuesUtility
Takes the collection and creates a single String with the according DelimeterConsts.CSV_DELIMETER separator.
toSeparatedValues(Collection<?>, char) - Static method in class org.refcodes.textual.SeparatedValuesUtility
Takes the collection and creates a single String with the provided separator.
toSeparatedValues(Object[]) - Static method in class org.refcodes.textual.SeparatedValuesUtility
Takes the array's String representation and creates a single String with the according DelimeterConsts.CSV_DELIMETER separator.
toSeparatedValues(Object[], char) - Static method in class org.refcodes.textual.SeparatedValuesUtility
Takes the array's String representation and creates a single String with the provided separator.
toSingleBorder(String[]) - Static method in class org.refcodes.textual.DrawTextUtility
Adds a predefined "single-line" border to the provided text.
toSplitValue(Object, char) - Static method in class org.refcodes.textual.SeparatedValuesUtility
Creates the String representation of a single split value not applying any escaping.
toSplitValues(Object[]) - Static method in class org.refcodes.textual.SeparatedValuesUtility
Takes the array's String representation and creates a single String with the according DelimeterConsts.CSV_DELIMETER separator.
toSplitValues(Object[], char) - Static method in class org.refcodes.textual.SeparatedValuesUtility
Takes the array's String representation and creates a single String with the provided separator.
toSplitValues(Collection<?>) - Static method in class org.refcodes.textual.SeparatedValuesUtility
Takes the collection and creates a single String with the according DelimeterConsts.CSV_DELIMETER separator.
toSplitValues(Collection<?>, char) - Static method in class org.refcodes.textual.SeparatedValuesUtility
Takes the collection and creates a single String with the provided separator.
toString() - Method in enum org.refcodes.textual.FontName
 
toString() - Method in enum org.refcodes.textual.FontStyle
 
toString(Map<?, ?>) - Static method in class org.refcodes.textual.HumanReadableUtility
Generates a human readable String from the content of the map.
toString(Collection<?>) - Static method in class org.refcodes.textual.HumanReadableUtility
Generates a human readable String from the content of the collection.
toString(Object[]) - Static method in class org.refcodes.textual.HumanReadableUtility
Generates a human readable String from the content of the array.
toString(int[]) - Static method in class org.refcodes.textual.HumanReadableUtility
Generates a human readable String from the content of the array.
toString(long[]) - Static method in class org.refcodes.textual.HumanReadableUtility
Generates a human readable String from the content of the array.
toString(double[]) - Static method in class org.refcodes.textual.HumanReadableUtility
Generates a human readable String from the content of the array.
toString(float[]) - Static method in class org.refcodes.textual.HumanReadableUtility
Generates a human readable String from the content of the array.
toString(byte[]) - Static method in class org.refcodes.textual.HumanReadableUtility
Generates a human readable String from the content of the array.
toString(char[]) - Static method in class org.refcodes.textual.HumanReadableUtility
Generates a human readable String from the content of the array.
toString() - Method in class org.refcodes.textual.impls.ColumnWidthImpl
 
toStrip(String, char[]) - Static method in class org.refcodes.textual.AlignTextUtility
Returns a new String without leading nor trailing chars.
toStripLeft(String, char[]) - Static method in class org.refcodes.textual.AlignTextUtility
Returns a new String without leading chars.
toStripRight(String, char[]) - Static method in class org.refcodes.textual.AlignTextUtility
Returns a new String without trailing chars.
toTail() - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
toTail() - Method in interface org.refcodes.textual.TablePrinter
Finishes off the table by closing it.
toTextBlock(String, int) - Static method in class org.refcodes.textual.TextBlockUtility
Cuts the String into subString instances with the maximum given length.
toTextBlock(String, int, LineSplitMode) - Static method in class org.refcodes.textual.TextBlockUtility
Cuts the String into subString instances with the maximum given length.
toTextBlock(String, int, TextAlignMode) - Static method in class org.refcodes.textual.TextBlockUtility
Cuts the String into subString instances with the maximum given length.
toTextBlock(String, int, TextAlignMode, LineSplitMode) - Static method in class org.refcodes.textual.TextBlockUtility
Cuts the String into subString instances with the maximum given length.
toTextBlock(String[], int, TextBlockMode) - Static method in class org.refcodes.textual.TextBlockUtility
Fills up or truncates a given text block to the provided height; filling up or truncating depends on the TextBlockMode specified, the default is TextBlockMode.TOP.
toTopBorder(String[], int, char) - Static method in class org.refcodes.textual.DrawTextUtility
Adds the according border with the given char and the provided witdh to the provided text.
toUnEscaped(String, String[][]) - Static method in class org.refcodes.textual.EscapeTextUtility
Unescapes a text using the provided escape matrix which must be a two dimensional array with two elements per line and where the element at position 0 (of a line) represents the character and the element at position 1 (of a line) the escaped character.

V

valueOf(String) - Static method in enum org.refcodes.textual.FontName
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.refcodes.textual.FontStyle
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.refcodes.textual.LineSplitMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.refcodes.textual.MoreTextMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.refcodes.textual.TableStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.refcodes.textual.TableStyle
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.refcodes.textual.TextAlignMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.refcodes.textual.TextBlockMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.refcodes.textual.TextFormatMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.refcodes.textual.TextPalette
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.refcodes.textual.WidthType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.refcodes.textual.FontName
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.refcodes.textual.FontStyle
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.refcodes.textual.LineSplitMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.refcodes.textual.MoreTextMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.refcodes.textual.TableStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.refcodes.textual.TableStyle
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.refcodes.textual.TextAlignMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.refcodes.textual.TextBlockMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.refcodes.textual.TextFormatMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.refcodes.textual.TextPalette
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.refcodes.textual.WidthType
Returns an array containing the constants of this enum type, in the order they are declared.

W

WidthType - Enum in org.refcodes.textual
Determines the type of width being specified, either relative where the sum of all relative widths represents 100%; or absolute in number of chars.
withAlignMode(TextAlignMode) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withAlignMode(TextAlignMode) - Method in interface org.refcodes.textual.TableBuilder
Sets an overall alignment mode for the header and the rows and returns this TableBuilder instance as of the builder pattern.
withBorderEscCode(String) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withBorderEscCode(String) - Method in interface org.refcodes.textual.TableBuilder
Sets an overall ANSI escape code for the borders and returns this TableBuilder instance as of the builder pattern.
withColumnAlignMode(TextAlignMode) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withColumnAlignMode(TextAlignMode) - Method in interface org.refcodes.textual.TableBuilder
Sets the column's alignment mode for the header and the rows and returns this TableBuilder instance as of the builder pattern.
withColumnEscCode(String) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withColumnEscCode(String) - Method in interface org.refcodes.textual.TableBuilder
Sets the column's ANSI escape code for the header and the rows and returns this TableBuilder instance as of the builder pattern.
withColumnFormatMode(TextFormatMode) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withColumnFormatMode(TextFormatMode) - Method in interface org.refcodes.textual.TableBuilder
Sets the column's format mode for the header and the rows and returns this TableBuilder instance as of the builder pattern.
withColumnMoreMode(MoreTextMode) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withColumnMoreMode(MoreTextMode) - Method in interface org.refcodes.textual.TableBuilder
Sets the column's "more" mode for the header and the rows and returns this TableBuilder instance as of the builder pattern.
withColumnSplitMode(LineSplitMode) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withColumnSplitMode(LineSplitMode) - Method in interface org.refcodes.textual.TableBuilder
Sets the column's line split mode for the header and the rows and returns this TableBuilder instance as of the builder pattern.
withColumnWidth(int, WidthType) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withColumnWidth(ColumnWidth) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withColumnWidth(int, WidthType) - Method in interface org.refcodes.textual.TableBuilder
Sets the current column's (the last added one with the TableBuilder.addColumn() method) width and returns this TableBuilder instance as of the builder pattern.
withColumnWidth(ColumnWidth) - Method in interface org.refcodes.textual.TableBuilder
Sets the current column's (the last added one with the TableBuilder.addColumn() method) width and returns this TableBuilder instance as of the builder pattern.
withEscCodes(boolean) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withEscCodes(boolean) - Method in interface org.refcodes.textual.TableBuilder
Sets an overall ANSI escape code support for the TableBuilder, for the rows as well as the borders; and returns this TableBuilder instance as of the builder pattern.
withFormatMode(TextFormatMode) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withFormatMode(TextFormatMode) - Method in interface org.refcodes.textual.TableBuilder
Sets an overall format mode for the header and the rows and returns this TableBuilder instance as of the builder pattern.
withHeaderAlignMode(TextAlignMode) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withHeaderAlignMode(TextAlignMode) - Method in interface org.refcodes.textual.TableBuilder
Sets an overall alignment mode for the header and returns this TableBuilder instance as of the builder pattern.
withHeaderColumnAlignMode(TextAlignMode) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withHeaderColumnAlignMode(TextAlignMode) - Method in interface org.refcodes.textual.TableBuilder
Sets the column's header alignment mode for the header and the rows and returns this TableBuilder instance as of the builder pattern.
withHeaderColumnEscCode(String) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withHeaderColumnEscCode(String) - Method in interface org.refcodes.textual.TableBuilder
Sets the column's header ANSI escape code for the header and the rows and returns this TableBuilder instance as of the builder pattern.
withHeaderColumnFormatMode(TextFormatMode) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withHeaderColumnFormatMode(TextFormatMode) - Method in interface org.refcodes.textual.TableBuilder
Sets the column's header format mode for the header and the rows and returns this TableBuilder instance as of the builder pattern.
withHeaderColumnMoreMode(MoreTextMode) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withHeaderColumnMoreMode(MoreTextMode) - Method in interface org.refcodes.textual.TableBuilder
Sets the column's header "more" mode for the header and the rows and returns this TableBuilder instance as of the builder pattern.
withHeaderColumnSplitMode(LineSplitMode) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withHeaderColumnSplitMode(LineSplitMode) - Method in interface org.refcodes.textual.TableBuilder
Sets the column's header line split mode for the header and the rows and returns this TableBuilder instance as of the builder pattern.
withHeaderEscCode(String) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withHeaderEscCode(String) - Method in interface org.refcodes.textual.TableBuilder
Sets an overall ANSI escape code for the header and returns this TableBuilder instance as of the builder pattern.
withHeaderFormatMode(TextFormatMode) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withHeaderFormatMode(TextFormatMode) - Method in interface org.refcodes.textual.TableBuilder
Sets an overall format mode for the header and returns this TableBuilder instance as of the builder pattern.
withHeaderMoreMode(MoreTextMode) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withHeaderMoreMode(MoreTextMode) - Method in interface org.refcodes.textual.TableBuilder
Sets an overall "more" mode for the header and returns this TableBuilder instance as of the builder pattern.
withHeaderSplitMode(LineSplitMode) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withHeaderSplitMode(LineSplitMode) - Method in interface org.refcodes.textual.TableBuilder
Sets an overall line split mode for the header and returns this TableBuilder instance as of the builder pattern.
withLeftBorder(boolean) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withLeftBorder(boolean) - Method in interface org.refcodes.textual.TableBuilder
Sets whether to print the left border and returns this TableBuilder instance as of the builder pattern.
withLineBreak(String) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withLineBreak(String) - Method in interface org.refcodes.textual.TableBuilder
Sets the required line break and returns this TableBuilder instance as of the builder pattern.
withMoreMode(MoreTextMode) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withMoreMode(MoreTextMode) - Method in interface org.refcodes.textual.TableBuilder
Sets an overall "more" mode for the header and the rows and returns this TableBuilder instance as of the builder pattern.
withPrintStream(PrintStream) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withPrintStream(PrintStream) - Method in interface org.refcodes.textual.TableBuilder
Sets the print stream to be used when using the print methods of the TableBuilder and returns this TableBuilder instance as of the builder pattern.
withResetEscCode(String) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withResetEscCode(String) - Method in interface org.refcodes.textual.TableBuilder
Sets the ANSI reset escape code for this TableBuilder instance as of the builder pattern.
withRightBorder(boolean) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withRightBorder(boolean) - Method in interface org.refcodes.textual.TableBuilder
Sets whether to print the right border and returns this TableBuilder instance as of the builder pattern.
withRowAlignMode(TextAlignMode) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withRowAlignMode(TextAlignMode) - Method in interface org.refcodes.textual.TableBuilder
Sets an overall alignment mode for the rows and returns this TableBuilder instance as of the builder pattern.
withRowColumnAlignMode(TextAlignMode) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withRowColumnAlignMode(TextAlignMode) - Method in interface org.refcodes.textual.TableBuilder
Sets the column's header alignment mode for the header and the rows and returns this TableBuilder instance as of the builder pattern.
withRowColumnEscCode(String) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withRowColumnEscCode(String) - Method in interface org.refcodes.textual.TableBuilder
Sets the column's header ANSI escape code for the header and the rows and returns this TableBuilder instance as of the builder pattern.
withRowColumnFormatMode(TextFormatMode) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withRowColumnFormatMode(TextFormatMode) - Method in interface org.refcodes.textual.TableBuilder
Sets the column's header format mode for the header and the rows and returns this TableBuilder instance as of the builder pattern.
withRowColumnMoreMode(MoreTextMode) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withRowColumnMoreMode(MoreTextMode) - Method in interface org.refcodes.textual.TableBuilder
Sets the column's header "more" mode for the header and the rows and returns this TableBuilder instance as of the builder pattern.
withRowColumnSplitMode(LineSplitMode) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withRowColumnSplitMode(LineSplitMode) - Method in interface org.refcodes.textual.TableBuilder
Sets the column's header line split mode for the header and the rows and returns this TableBuilder instance as of the builder pattern.
withRowEscCode(String) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withRowEscCode(String) - Method in interface org.refcodes.textual.TableBuilder
Sets an overall ANSI escape code for the rows and returns this TableBuilder instance as of the builder pattern.
withRowFormatMode(TextFormatMode) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withRowFormatMode(TextFormatMode) - Method in interface org.refcodes.textual.TableBuilder
Sets an overall format mode for the rows and returns this TableBuilder instance as of the builder pattern.
withRowMoreMode(MoreTextMode) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withRowMoreMode(MoreTextMode) - Method in interface org.refcodes.textual.TableBuilder
Sets an overall "more" mode for the rows and returns this TableBuilder instance as of the builder pattern.
withRowSplitMode(LineSplitMode) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withRowSplitMode(LineSplitMode) - Method in interface org.refcodes.textual.TableBuilder
Sets an overall line split mode for the rows and returns this TableBuilder instance as of the builder pattern.
withRowWidth(int) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withSplitMode(LineSplitMode) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withSplitMode(LineSplitMode) - Method in interface org.refcodes.textual.TableBuilder
Sets an overall line split mode for the header and the rows and returns this TableBuilder instance as of the builder pattern.
withTableEscCode(String) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withTableEscCode(String) - Method in interface org.refcodes.textual.TableBuilder
Sets an overall ANSI escape code for the header, the rows as well as the borders; and returns this TableBuilder instance as of the builder pattern.
withTableStyle(TableStyle) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withTableStyle(TableStyle) - Method in interface org.refcodes.textual.TableBuilder
Sets the TableStyle to use when printing and returns this TableBuilder instance as of the builder pattern.
withTableStyle(TableStyle) - Method in interface org.refcodes.textual.TableStyleAccessor.TableStyleBuilder
Sets the rows table style to use returns this builder as of the builder pattern.
withTextEscCode(String) - Method in class org.refcodes.textual.impls.TableBuilderImpl
 
withTextEscCode(String) - Method in interface org.refcodes.textual.TableBuilder
Sets an overall ANSI escape code for the header and the rows and returns this TableBuilder instance as of the builder pattern.
A B C D E F G H I L M O P R S T V W 
Skip navigation links

Copyright © 2015. All rights reserved.