public class DefaultNPropertiesFormat extends DefaultFormatBase<net.thevpc.nuts.format.NPropertiesFormat> implements net.thevpc.nuts.format.NPropertiesFormat
| Modifier and Type | Field and Description |
|---|---|
static String |
OPTION_MULTILINE_PROPERTY |
| Constructor and Description |
|---|
DefaultNPropertiesFormat(net.thevpc.nuts.NWorkspace workspace) |
| Modifier and Type | Method and Description |
|---|---|
DefaultNPropertiesFormat |
addMultilineProperty(String property,
String separator) |
Map |
buildModel() |
boolean |
configureFirst(net.thevpc.nuts.cmdline.NCmdLine cmdLine) |
Map |
getModel() |
String |
getSeparator() |
int |
getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext context) |
Object |
getValue() |
boolean |
isSorted() |
void |
print(net.thevpc.nuts.io.NPrintStream w) |
DefaultNPropertiesFormat |
setSeparator(String separator) |
DefaultNPropertiesFormat |
setSorted(boolean sort) |
net.thevpc.nuts.format.NPropertiesFormat |
setValue(Object value) |
format, formatPlain, getValidPrintStream, getValidPrintStream, print, print, print, print, print, print, print, println, println, println, println, println, println, println, println, toStringconfigure, getName, isNtf, setNtfclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final String OPTION_MULTILINE_PROPERTY
public DefaultNPropertiesFormat(net.thevpc.nuts.NWorkspace workspace)
public boolean configureFirst(net.thevpc.nuts.cmdline.NCmdLine cmdLine)
configureFirst in interface net.thevpc.nuts.cmdline.NCmdLineConfigurablepublic DefaultNPropertiesFormat addMultilineProperty(String property, String separator)
public Map buildModel()
public Map getModel()
getModel in interface net.thevpc.nuts.format.NPropertiesFormatpublic boolean isSorted()
isSorted in interface net.thevpc.nuts.format.NPropertiesFormatpublic String getSeparator()
getSeparator in interface net.thevpc.nuts.format.NPropertiesFormatpublic DefaultNPropertiesFormat setSeparator(String separator)
setSeparator in interface net.thevpc.nuts.format.NPropertiesFormatpublic DefaultNPropertiesFormat setSorted(boolean sort)
setSorted in interface net.thevpc.nuts.format.NPropertiesFormatpublic void print(net.thevpc.nuts.io.NPrintStream w)
print in interface net.thevpc.nuts.format.NFormatprint in class DefaultFormatBase<net.thevpc.nuts.format.NPropertiesFormat>public Object getValue()
getValue in interface net.thevpc.nuts.format.NContentTypeFormatpublic net.thevpc.nuts.format.NPropertiesFormat setValue(Object value)
setValue in interface net.thevpc.nuts.format.NContentTypeFormatsetValue in interface net.thevpc.nuts.format.NPropertiesFormatpublic int getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext context)
getSupportLevel in interface net.thevpc.nuts.spi.NComponentCopyright © 2025 vpc open source initiative. All rights reserved.