DefaultPrettyPrinter.Lf2SpacesIndenter (Jackson JSON Processor)
Date: 2013-07-14

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 Object
      implements Indenter

  Default linefeed-based indenter uses system-specific linefeeds and 2 spaces for indentation per level.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultPrettyPrinter.Lf2SpacesIndenter()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isInline()`
    `void` | `writeIndentation(JsonGenerator jg, int level)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DefaultPrettyPrinter.Lf2SpacesIndenter

          public DefaultPrettyPrinter.Lf2SpacesIndenter()

  - ### Method Detail

    - #### isInline

          public boolean isInline()

      Specified by:
        `isInline` in interface `Indenter`
      Returns:
        True if indenter is considered inline (does not add linefeeds), false otherwise

    - #### writeIndentation

          public void writeIndentation(JsonGenerator jg,
                              int level)
                                throws IOException,
                                       JsonGenerationException

      Specified by:
        `writeIndentation` in interface `Indenter`
      Throws:
        `IOException`
        `JsonGenerationException`