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) |
boolean |
isSorted() |
void |
print(Object aValue,
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, waitconfigure, ntf, offormat, 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 separator()
separator in interface NPropertiesWriterpublic DefaultNPropertiesObjectWriter separator(String separator)
separator in interface NPropertiesWriterpublic DefaultNPropertiesObjectWriter sorted(boolean sort)
sorted 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.