public class PrettyPrinterManager extends Object
Modifier and Type | Field and Description |
---|---|
protected DefaultPrettyPrinter |
defaultPrettyPrinter |
protected ArrayList<PrettyPrinter> |
prettyPrinters |
Constructor and Description |
---|
PrettyPrinterManager() |
Modifier and Type | Method and Description |
---|---|
void |
addPrettyPrinter(PrettyPrinter prettyPrinter) |
PrettyPrinter |
getPrettyPrinterFor(Object o)
Deprecated.
External clients should use print(Object object) instead
|
List<PrettyPrinter> |
getPrettyPrinters() |
String |
print(Object object) |
String |
toString(Object o) |
protected ArrayList<PrettyPrinter> prettyPrinters
protected DefaultPrettyPrinter defaultPrettyPrinter
public List<PrettyPrinter> getPrettyPrinters()
public void addPrettyPrinter(PrettyPrinter prettyPrinter)
public PrettyPrinter getPrettyPrinterFor(Object o)
o
- Copyright © 2016. All rights reserved.