public class DefaultNutsPropertiesFormat extends DefaultFormatBase<net.thevpc.nuts.NutsPropertiesFormat> implements net.thevpc.nuts.NutsPropertiesFormat
| Modifier and Type | Field and Description |
|---|---|
static String |
OPTION_MULTILINE_PROPERTY |
| Constructor and Description |
|---|
DefaultNutsPropertiesFormat(net.thevpc.nuts.NutsSession session) |
| Modifier and Type | Method and Description |
|---|---|
DefaultNutsPropertiesFormat |
addMultilineProperty(String property,
String separator) |
Map |
buildModel() |
boolean |
configureFirst(net.thevpc.nuts.NutsCommandLine commandLine) |
Map |
getModel() |
String |
getSeparator() |
int |
getSupportLevel(net.thevpc.nuts.spi.NutsSupportLevelContext context) |
Object |
getValue() |
boolean |
isSorted() |
void |
print(net.thevpc.nuts.NutsPrintStream w) |
DefaultNutsPropertiesFormat |
setSeparator(String separator) |
DefaultNutsPropertiesFormat |
setSorted(boolean sort) |
net.thevpc.nuts.NutsPropertiesFormat |
setValue(Object value) |
format, getValidPrintStream, getValidPrintStream, print, print, print, print, print, print, print, println, println, println, println, println, println, println, println, toStringcheckSession, configure, configure, getName, getSession, getWorkspace, isNtf, setNtf, setSessionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitconfigure, of, setNtf, setSessionpublic static final String OPTION_MULTILINE_PROPERTY
public DefaultNutsPropertiesFormat(net.thevpc.nuts.NutsSession session)
public boolean configureFirst(net.thevpc.nuts.NutsCommandLine commandLine)
configureFirst in interface net.thevpc.nuts.NutsCommandLineConfigurablepublic DefaultNutsPropertiesFormat addMultilineProperty(String property, String separator)
public Map buildModel()
public Map getModel()
getModel in interface net.thevpc.nuts.NutsPropertiesFormatpublic boolean isSorted()
isSorted in interface net.thevpc.nuts.NutsPropertiesFormatpublic String getSeparator()
getSeparator in interface net.thevpc.nuts.NutsPropertiesFormatpublic DefaultNutsPropertiesFormat setSeparator(String separator)
setSeparator in interface net.thevpc.nuts.NutsPropertiesFormatpublic DefaultNutsPropertiesFormat setSorted(boolean sort)
setSorted in interface net.thevpc.nuts.NutsPropertiesFormatpublic void print(net.thevpc.nuts.NutsPrintStream w)
print in interface net.thevpc.nuts.NutsFormatprint in class DefaultFormatBase<net.thevpc.nuts.NutsPropertiesFormat>public Object getValue()
getValue in interface net.thevpc.nuts.NutsContentTypeFormatpublic net.thevpc.nuts.NutsPropertiesFormat setValue(Object value)
setValue in interface net.thevpc.nuts.NutsContentTypeFormatsetValue in interface net.thevpc.nuts.NutsPropertiesFormatpublic int getSupportLevel(net.thevpc.nuts.spi.NutsSupportLevelContext context)
getSupportLevel in interface net.thevpc.nuts.spi.NutsComponentCopyright © 2022 vpc open source initiative. All rights reserved.