public class DefaultNPropertiesObjectWriter extends DefaultObjectWriterBase<NPropertiesWriter> implements NPropertiesWriter
| Modifier and Type | Field and Description |
|---|---|
static String |
OPTION_MULTILINE_PROPERTY |
| Constructor and Description |
|---|
DefaultNPropertiesObjectWriter() |
| Modifier and Type | Method and Description |
|---|---|
DefaultNPropertiesObjectWriter |
addMultilineProperty(String property,
String separator) |
Map |
buildModel(Object aValue) |
boolean |
configureFirst(NCmdLine cmdLine) |
Map |
getModel(Object aValue) |
String |
getSeparator() |
boolean |
isSorted() |
void |
print(Object aValue,
NPrintStream w) |
DefaultNPropertiesObjectWriter |
setSeparator(String separator) |
DefaultNPropertiesObjectWriter |
setSorted(boolean sort) |
format, formatPlain, getValidPrintStream, getValidPrintStream, print, print, print, print, print, print, print, println, println, println, println, println, println, println, println, write, write, write, write, write, write, write, write, writeln, writeln, writeln, writeln, writeln, writeln, writeln, writelnconfigure, getName, isNtf, setNtfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigure, of, setNtfformat, formatPlain, get, isNtf, of, print, print, print, print, print, print, print, println, println, println, println, println, println, println, println, write, write, write, write, write, write, write, write, writeln, writeln, writeln, writeln, writeln, writeln, writeln, writelnconfigure, configure, configureLastpublic static final String OPTION_MULTILINE_PROPERTY
public boolean configureFirst(NCmdLine cmdLine)
configureFirst in interface NCmdLineConfigurablepublic DefaultNPropertiesObjectWriter addMultilineProperty(String property, String separator)
public Map getModel(Object aValue)
getModel in interface NPropertiesWriterpublic boolean isSorted()
isSorted in interface NPropertiesWriterpublic String getSeparator()
getSeparator in interface NPropertiesWriterpublic DefaultNPropertiesObjectWriter setSeparator(String separator)
setSeparator in interface NPropertiesWriterpublic DefaultNPropertiesObjectWriter setSorted(boolean sort)
setSorted in interface NPropertiesWriterpublic void print(Object aValue, NPrintStream w)
print in interface NObjectWriterprint in class DefaultObjectWriterBase<NPropertiesWriter>Copyright © 2026 vpc open source initiative. All rights reserved.