public class DefaultPropertiesFormat 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 |
|---|
DefaultPropertiesFormat(net.thevpc.nuts.NutsWorkspace ws) |
| Modifier and Type | Method and Description |
|---|---|
DefaultPropertiesFormat |
addMultilineProperty(String property,
String separator) |
Map |
buildModel() |
boolean |
configureFirst(net.thevpc.nuts.NutsCommandLine commandLine) |
Map |
getModel() |
String |
getSeparator() |
Object |
getValue() |
boolean |
isSorted() |
void |
print(net.thevpc.nuts.NutsPrintStream w) |
DefaultPropertiesFormat |
setSeparator(String separator) |
DefaultPropertiesFormat |
setSorted(boolean sort) |
net.thevpc.nuts.NutsPropertiesFormat |
setValue(Object value) |
format, getValidPrintStream, getValidPrintStream, print, print, print, print, print, print, println, println, println, println, println, println, println, toStringcheckSession, configure, configure, getName, getSession, getWorkspace, isNtf, setNtf, setSessionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final String OPTION_MULTILINE_PROPERTY
public DefaultPropertiesFormat(net.thevpc.nuts.NutsWorkspace ws)
public boolean configureFirst(net.thevpc.nuts.NutsCommandLine commandLine)
configureFirst in interface net.thevpc.nuts.NutsCommandLineConfigurablepublic DefaultPropertiesFormat 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 DefaultPropertiesFormat setSeparator(String separator)
setSeparator in interface net.thevpc.nuts.NutsPropertiesFormatpublic DefaultPropertiesFormat 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.NutsObjectFormatpublic net.thevpc.nuts.NutsPropertiesFormat setValue(Object value)
setValue in interface net.thevpc.nuts.NutsObjectFormatsetValue in interface net.thevpc.nuts.NutsPropertiesFormatCopyright © 2021 vpc open source initiative. All rights reserved.