public class DefinitionPrinter extends Object
| Constructor and Description |
|---|
DefinitionPrinter(BundleDef def)
Deprecated.
this constructor will be hidden for external usage. Please use preferred static fabric methods.
|
| Modifier and Type | Method and Description |
|---|---|
static DefinitionPrinter |
prettyPrinter(BundleDef def)
Creates pretty printer with support for better formatting.
|
String |
print() |
String |
print(boolean pretty)
Deprecated.
this method will be removed in the future. Please use
prettyPrinter(pl.decerto.hyperon.persistence.model.def.BundleDef) and then normal print() method. |
static DefinitionPrinter |
standardPrinter(BundleDef def)
Creates standard printer without support for better formatting.
|
@Deprecated public DefinitionPrinter(BundleDef def)
def - bundle def that is used to create definition printerpublic static DefinitionPrinter standardPrinter(BundleDef def)
def - bundle def that is used to create definition printerpublic static DefinitionPrinter prettyPrinter(BundleDef def)
def - bundle def that is used to create definition printer@Deprecated public String print(boolean pretty)
prettyPrinter(pl.decerto.hyperon.persistence.model.def.BundleDef) and then normal print() method.pretty - indicates whether printer should print in 'pretty' way (using spaces etc)public String print()
Copyright © 2021. All rights reserved.