Package de.sfuhrm.sudoku.output
Interface GameMatrixFormatter
- All Known Implementing Classes:
JsonArrayFormatter,LatexTableFormatter,MarkdownTableFormatter,PlainTextFormatter
public interface GameMatrixFormatter
Formats the game matrix to a text representation.
The text representation has a
- Author:
- Stephan Fuhrmann
-
Method Summary
Modifier and TypeMethodDescriptionFormats the document end part.Formats the document start part.format(de.sfuhrm.sudoku.GameMatrix matrix) Formats the input game matrix to a text representation.
-
Method Details
-
format
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
String documentStart()Formats the document start part.- Returns:
- a String representation of the document start.
-
documentEnd
String documentEnd()Formats the document end part.- Returns:
- a String representation of the document end.
-