Package de.tu_bs.isbs.util.io.print
Class CsvStringFormatter
java.lang.Object
de.tu_bs.isbs.util.io.print.CsvStringFormatter
- All Implemented Interfaces:
MessageStringFormatter
public class CsvStringFormatter extends java.lang.Object implements MessageStringFormatter
Bequemes Formatieren einer Anzahl von Objekten als CSV-String.
- Author:
- reiser
-
Field Summary
Fields Modifier and Type Field Description static java.lang.Character
DEFAULT_QUOTE_CHAR
static char
DEFAULT_SEP_CHAR
-
Constructor Summary
Constructors Constructor Description CsvStringFormatter()
CsvStringFormatter(char separator, java.lang.Character quoteChar)
-
Method Summary
Modifier and Type Method Description java.lang.String
format(java.lang.Object... args)
-
Field Details
-
DEFAULT_SEP_CHAR
public static final char DEFAULT_SEP_CHAR- See Also:
- Constant Field Values
-
DEFAULT_QUOTE_CHAR
public static final java.lang.Character DEFAULT_QUOTE_CHAR
-
-
Constructor Details
-
CsvStringFormatter
public CsvStringFormatter() -
CsvStringFormatter
public CsvStringFormatter(char separator, java.lang.Character quoteChar)
-
-
Method Details
-
format
public java.lang.String format(java.lang.Object... args)- Specified by:
format
in interfaceMessageStringFormatter
-