Package org.codehaus.jackson.util
Class DefaultPrettyPrinter.Lf2SpacesIndenter
java.lang.Object
org.codehaus.jackson.util.DefaultPrettyPrinter.Lf2SpacesIndenter
- All Implemented Interfaces:
Indenter
- Enclosing class:
- DefaultPrettyPrinter
Default linefeed-based indenter uses system-specific linefeeds and
2 spaces for indentation per level.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isInline()
void
writeIndentation
(JsonGenerator jg, int level)
-
Constructor Details
-
Lf2SpacesIndenter
public Lf2SpacesIndenter()
-
-
Method Details
-
isInline
public boolean isInline() -
writeIndentation
public void writeIndentation(JsonGenerator jg, int level) throws IOException, JsonGenerationException - Specified by:
writeIndentation
in interfaceIndenter
- Throws:
IOException
JsonGenerationException
-