public class DefaultNPropertiesFormat extends DefaultFormatBase<NPropertiesFormat> implements NPropertiesFormat
| Modifier and Type | Field and Description |
|---|---|
static String |
OPTION_MULTILINE_PROPERTY |
| Constructor and Description |
|---|
DefaultNPropertiesFormat(NWorkspace workspace) |
| Modifier and Type | Method and Description |
|---|---|
DefaultNPropertiesFormat |
addMultilineProperty(String property,
String separator) |
Map |
buildModel() |
boolean |
configureFirst(NCmdLine cmdLine) |
Map |
getModel() |
String |
getSeparator() |
int |
getSupportLevel(NSupportLevelContext context) |
Object |
getValue() |
boolean |
isSorted() |
void |
print(NPrintStream w) |
DefaultNPropertiesFormat |
setSeparator(String separator) |
DefaultNPropertiesFormat |
setSorted(boolean sort) |
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, waitconfigure, of, setNtfofformat, formatPlain, isNtf, of, of, print, print, print, print, print, print, print, println, println, println, println, println, println, println, println, toStringconfigure, configure, configureLastpublic static final String OPTION_MULTILINE_PROPERTY
public DefaultNPropertiesFormat(NWorkspace workspace)
public boolean configureFirst(NCmdLine cmdLine)
configureFirst in interface NCmdLineConfigurablepublic DefaultNPropertiesFormat addMultilineProperty(String property, String separator)
public Map buildModel()
public Map getModel()
getModel in interface NPropertiesFormatpublic boolean isSorted()
isSorted in interface NPropertiesFormatpublic String getSeparator()
getSeparator in interface NPropertiesFormatpublic DefaultNPropertiesFormat setSeparator(String separator)
setSeparator in interface NPropertiesFormatpublic DefaultNPropertiesFormat setSorted(boolean sort)
setSorted in interface NPropertiesFormatpublic void print(NPrintStream w)
print in interface NFormatprint in class DefaultFormatBase<NPropertiesFormat>public Object getValue()
getValue in interface NContentTypeFormatpublic NPropertiesFormat setValue(Object value)
setValue in interface NContentTypeFormatsetValue in interface NPropertiesFormatpublic int getSupportLevel(NSupportLevelContext context)
getSupportLevel in interface NComponentCopyright © 2025 vpc open source initiative. All rights reserved.