Package org.apache.nutch.crawl
Class CrawlDbReader.JsonIndenter
java.lang.Object
com.fasterxml.jackson.core.util.MinimalPrettyPrinter
org.apache.nutch.crawl.CrawlDbReader.JsonIndenter
- All Implemented Interfaces:
com.fasterxml.jackson.core.PrettyPrinter,Serializable
- Enclosing class:
- CrawlDbReader
public static class CrawlDbReader.JsonIndenter
extends com.fasterxml.jackson.core.util.MinimalPrettyPrinter
- See Also:
-
Field Summary
Fields inherited from class com.fasterxml.jackson.core.util.MinimalPrettyPrinter
_rootValueSeparator, _separatorsFields inherited from interface com.fasterxml.jackson.core.PrettyPrinter
DEFAULT_ROOT_VALUE_SEPARATOR, DEFAULT_SEPARATORS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwriteObjectEntrySeparator(com.fasterxml.jackson.core.JsonGenerator jg) voidwriteObjectFieldValueSeparator(com.fasterxml.jackson.core.JsonGenerator jg) Methods inherited from class com.fasterxml.jackson.core.util.MinimalPrettyPrinter
beforeArrayValues, beforeObjectEntries, setRootValueSeparator, setSeparators, writeArrayValueSeparator, writeEndArray, writeEndObject, writeRootValueSeparator, writeStartArray, writeStartObject
-
Constructor Details
-
JsonIndenter
public JsonIndenter()
-
-
Method Details
-
writeObjectFieldValueSeparator
public void writeObjectFieldValueSeparator(com.fasterxml.jackson.core.JsonGenerator jg) throws IOException, com.fasterxml.jackson.core.JsonGenerationException - Specified by:
writeObjectFieldValueSeparatorin interfacecom.fasterxml.jackson.core.PrettyPrinter- Overrides:
writeObjectFieldValueSeparatorin classcom.fasterxml.jackson.core.util.MinimalPrettyPrinter- Throws:
IOExceptioncom.fasterxml.jackson.core.JsonGenerationException
-
writeObjectEntrySeparator
public void writeObjectEntrySeparator(com.fasterxml.jackson.core.JsonGenerator jg) throws IOException, com.fasterxml.jackson.core.JsonGenerationException - Specified by:
writeObjectEntrySeparatorin interfacecom.fasterxml.jackson.core.PrettyPrinter- Overrides:
writeObjectEntrySeparatorin classcom.fasterxml.jackson.core.util.MinimalPrettyPrinter- Throws:
IOExceptioncom.fasterxml.jackson.core.JsonGenerationException
-