Package de.sfuhrm.sudoku.output
Interface GameMatrixFormatter
-
- All Known Implementing Classes:
JsonArrayFormatter,LatexTableFormatter,MarkdownTableFormatter,PlainTextFormatter
public interface GameMatrixFormatterFormats the game matrix to a text representation. The text representation has a- Author:
- Stephan Fuhrmann
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringdocumentEnd()Formats the document end part.java.lang.StringdocumentStart()Formats the document start part.java.lang.Stringformat(GameMatrix matrix)Formats the input game matrix to a text representation.
-
-
-
Method Detail
-
format
java.lang.String format(GameMatrix matrix)
Formats the input game matrix to a text representation.- Parameters:
matrix- the matrix to format to String format.- Returns:
- a String representation of the game matrix.
-
documentStart
java.lang.String documentStart()
Formats the document start part.- Returns:
- a String representation of the document start.
-
documentEnd
java.lang.String documentEnd()
Formats the document end part.- Returns:
- a String representation of the document end.
-
-