Returns true
if output producers should pretty print their output,
when possible.
Returns a copy of these settings with the given isPretty
flag.
Returns true
if output producers should style their output,
when possible.
Returns a copy of these settings with the given isStyled
flag.
Returns the code point sequence used to separate lines of text. Defaults to the operating system's line separator.
Returns a copy of these settings with the given lineSeparator
.
Returns OutputSettings
configured with the given lineSeparator
, pretty
rinting enabled if isPretty
is true
, and styling enabled if isStyled
is true
.
Converts the loosely typed settings
to an instance of OutputSettings
.
Returns OutputSettings
configured with the system line separator,
pretty printing enabled, and styling disabled.
Returns OutputSettings
configured with the system line separator,
pretty printing enabled, and styling enabled.
Returns OutputSettings
configured with the system line separator,
pretty printing disabled, and styling disabled.
Returns OutputSettings
configured with the system line separator,
pretty printing disabled, and styling enabled.
Output production parameters.
OutputSettings
provide contextual configuration parameters to output producers, such as Writers. Uses include enabling pretty printing and styling generated output. Subclasses can provide additional parameters understood by specialized output producers.