public class DefaultNPropertiesObjectWriter extends DefaultObjectWriterBase<net.thevpc.nuts.text.NPropertiesWriter> implements net.thevpc.nuts.text.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(net.thevpc.nuts.cmdline.NCmdLine cmdLine) |
Map |
getModel(Object aValue) |
boolean |
isSorted() |
void |
print(Object aValue,
net.thevpc.nuts.io.NPrintStream w) |
String |
separator() |
DefaultNPropertiesObjectWriter |
separator(String separator) |
DefaultNPropertiesObjectWriter |
sorted(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, ntfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitformat, 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, writelnpublic static final String OPTION_MULTILINE_PROPERTY
public boolean configureFirst(net.thevpc.nuts.cmdline.NCmdLine cmdLine)
configureFirst in interface net.thevpc.nuts.cmdline.NCmdLineConfigurablepublic DefaultNPropertiesObjectWriter addMultilineProperty(String property, String separator)
public Map getModel(Object aValue)
getModel in interface net.thevpc.nuts.text.NPropertiesWriterpublic boolean isSorted()
isSorted in interface net.thevpc.nuts.text.NPropertiesWriterpublic String separator()
separator in interface net.thevpc.nuts.text.NPropertiesWriterpublic DefaultNPropertiesObjectWriter separator(String separator)
separator in interface net.thevpc.nuts.text.NPropertiesWriterpublic DefaultNPropertiesObjectWriter sorted(boolean sort)
sorted in interface net.thevpc.nuts.text.NPropertiesWriterpublic void print(Object aValue, net.thevpc.nuts.io.NPrintStream w)
print in interface net.thevpc.nuts.text.NObjectWriterprint in class DefaultObjectWriterBase<net.thevpc.nuts.text.NPropertiesWriter>Copyright © 2026 vpc open source initiative. All rights reserved.