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