java.lang.Object
org.jooq.impl.DefaultFormattingProvider
- All Implemented Interfaces:
FormattingProvider
A default implementation for the
FormattingProvider.- Author:
- Lukas Eder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTheChartFormatto use when callingFormattable.formatChart()and related methods, defaulting toChartFormat.DEFAULT.TheCSVFormatto use when callingFormattable.formatCSV()and related methods, defaulting toCSVFormat.DEFAULT.TheJSONFormatto use when callingFormattable.formatJSON()and related methods on records, defaulting toJSONFormat.DEFAULT_FOR_RECORDS.TheJSONFormatto use when callingFormattable.formatJSON()and related methods on results, defaulting toJSONFormat.DEFAULT_FOR_RESULTS.TheTXTFormatto use when callingFormattable.format()and related methods, defaulting toTXTFormat.DEFAULT.intThe formatting display width in a monospaced font, which may diverge fromString.length()e.g.TheXMLFormatto use when callingFormattable.formatXML()and related methods on records, defaulting toXMLFormat.DEFAULT_FOR_RECORDS.TheXMLFormatto use when callingFormattable.formatXML()and related methods on results, defaulting toXMLFormat.DEFAULT_FOR_RESULTS.
-
Constructor Details
-
DefaultFormattingProvider
public DefaultFormattingProvider()
-
-
Method Details
-
txtFormat
Description copied from interface:FormattingProviderTheTXTFormatto use when callingFormattable.format()and related methods, defaulting toTXTFormat.DEFAULT.- Specified by:
txtFormatin interfaceFormattingProvider
-
csvFormat
Description copied from interface:FormattingProviderTheCSVFormatto use when callingFormattable.formatCSV()and related methods, defaulting toCSVFormat.DEFAULT.- Specified by:
csvFormatin interfaceFormattingProvider
-
jsonFormatForResults
Description copied from interface:FormattingProviderTheJSONFormatto use when callingFormattable.formatJSON()and related methods on results, defaulting toJSONFormat.DEFAULT_FOR_RESULTS.- Specified by:
jsonFormatForResultsin interfaceFormattingProvider
-
jsonFormatForRecords
Description copied from interface:FormattingProviderTheJSONFormatto use when callingFormattable.formatJSON()and related methods on records, defaulting toJSONFormat.DEFAULT_FOR_RECORDS.- Specified by:
jsonFormatForRecordsin interfaceFormattingProvider
-
xmlFormatForResults
Description copied from interface:FormattingProviderTheXMLFormatto use when callingFormattable.formatXML()and related methods on results, defaulting toXMLFormat.DEFAULT_FOR_RESULTS.- Specified by:
xmlFormatForResultsin interfaceFormattingProvider
-
xmlFormatForRecords
Description copied from interface:FormattingProviderTheXMLFormatto use when callingFormattable.formatXML()and related methods on records, defaulting toXMLFormat.DEFAULT_FOR_RECORDS.- Specified by:
xmlFormatForRecordsin interfaceFormattingProvider
-
chartFormat
Description copied from interface:FormattingProviderTheChartFormatto use when callingFormattable.formatChart()and related methods, defaulting toChartFormat.DEFAULT.- Specified by:
chartFormatin interfaceFormattingProvider
-
width
Description copied from interface:FormattingProviderThe formatting display width in a monospaced font, which may diverge fromString.length()e.g. if the string contains aCharacter.isIdeographic(int)character.- Specified by:
widthin interfaceFormattingProvider
-