public class DefaultNObjectFormat extends DefaultFormatBase<net.thevpc.nuts.format.NObjectFormat> implements net.thevpc.nuts.format.NObjectFormat
| Constructor and Description |
|---|
DefaultNObjectFormat(net.thevpc.nuts.NWorkspace workspace) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configureFirst(net.thevpc.nuts.cmdline.NCmdLine cmdLine) |
net.thevpc.nuts.format.NContentTypeFormat |
createObjectFormat() |
net.thevpc.nuts.text.NText |
format() |
net.thevpc.nuts.format.NContentTypeFormat |
getBase() |
String |
getFormatMode() |
Map<String,Object> |
getFormatParams() |
String |
getFormatString() |
net.thevpc.nuts.format.NContentType |
getOutputFormat() |
int |
getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext context) |
Object |
getValue() |
boolean |
isCompact() |
void |
print() |
void |
print(File out) |
void |
print(net.thevpc.nuts.io.NPrintStream out) |
void |
print(net.thevpc.nuts.io.NTerminal terminal) |
void |
print(Path out) |
void |
print(Writer out) |
void |
println() |
void |
println(File file) |
void |
println(net.thevpc.nuts.io.NPrintStream out) |
void |
println(net.thevpc.nuts.io.NTerminal terminal) |
void |
println(Path path) |
void |
println(Writer w) |
DefaultNObjectFormat |
setCompact(boolean compact) |
net.thevpc.nuts.format.NObjectFormat |
setFormatMode(String formatMode) |
net.thevpc.nuts.format.NObjectFormat |
setFormatParam(String name,
Object value) |
net.thevpc.nuts.format.NObjectFormat |
setFormatParams(Map<String,Object> formatParams) |
net.thevpc.nuts.format.NObjectFormat |
setFormatString(String formatString) |
net.thevpc.nuts.format.NObjectFormat |
setOutputFormat(net.thevpc.nuts.format.NContentType outputFormat) |
net.thevpc.nuts.format.NObjectFormat |
setValue(Object value) |
formatPlain, getValidPrintStream, getValidPrintStream, print, print, println, println, toStringconfigure, getName, isNtf, setNtfclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic DefaultNObjectFormat(net.thevpc.nuts.NWorkspace workspace)
public String getFormatMode()
getFormatMode in interface net.thevpc.nuts.format.NObjectFormatpublic net.thevpc.nuts.format.NObjectFormat setFormatMode(String formatMode)
setFormatMode in interface net.thevpc.nuts.format.NObjectFormatpublic String getFormatString()
getFormatString in interface net.thevpc.nuts.format.NObjectFormatpublic net.thevpc.nuts.format.NObjectFormat setFormatString(String formatString)
setFormatString in interface net.thevpc.nuts.format.NObjectFormatpublic Map<String,Object> getFormatParams()
getFormatParams in interface net.thevpc.nuts.format.NObjectFormatpublic net.thevpc.nuts.format.NObjectFormat setFormatParams(Map<String,Object> formatParams)
setFormatParams in interface net.thevpc.nuts.format.NObjectFormatpublic net.thevpc.nuts.format.NObjectFormat setFormatParam(String name, Object value)
setFormatParam in interface net.thevpc.nuts.format.NObjectFormatpublic net.thevpc.nuts.format.NContentType getOutputFormat()
getOutputFormat in interface net.thevpc.nuts.format.NObjectFormatpublic net.thevpc.nuts.format.NObjectFormat setOutputFormat(net.thevpc.nuts.format.NContentType outputFormat)
setOutputFormat in interface net.thevpc.nuts.format.NObjectFormatpublic Object getValue()
getValue in interface net.thevpc.nuts.format.NContentTypeFormatgetValue in interface net.thevpc.nuts.format.NObjectFormatpublic net.thevpc.nuts.format.NObjectFormat setValue(Object value)
setValue in interface net.thevpc.nuts.format.NContentTypeFormatsetValue in interface net.thevpc.nuts.format.NObjectFormatpublic boolean isCompact()
isCompact in interface net.thevpc.nuts.format.NObjectFormatpublic DefaultNObjectFormat setCompact(boolean compact)
setCompact in interface net.thevpc.nuts.format.NObjectFormatpublic net.thevpc.nuts.format.NContentTypeFormat getBase()
public net.thevpc.nuts.format.NContentTypeFormat createObjectFormat()
public net.thevpc.nuts.text.NText format()
format in interface net.thevpc.nuts.format.NFormatformat in class DefaultFormatBase<net.thevpc.nuts.format.NObjectFormat>public void print()
print in interface net.thevpc.nuts.format.NFormatprint in class DefaultFormatBase<net.thevpc.nuts.format.NObjectFormat>public void println()
println in interface net.thevpc.nuts.format.NFormatprintln in class DefaultFormatBase<net.thevpc.nuts.format.NObjectFormat>public void print(net.thevpc.nuts.io.NPrintStream out)
print in interface net.thevpc.nuts.format.NFormatprint in class DefaultFormatBase<net.thevpc.nuts.format.NObjectFormat>public void print(Writer out)
print in interface net.thevpc.nuts.format.NFormatprint in class DefaultFormatBase<net.thevpc.nuts.format.NObjectFormat>public void print(Path out)
print in interface net.thevpc.nuts.format.NFormatprint in class DefaultFormatBase<net.thevpc.nuts.format.NObjectFormat>public void print(File out)
print in interface net.thevpc.nuts.format.NFormatprint in class DefaultFormatBase<net.thevpc.nuts.format.NObjectFormat>public void print(net.thevpc.nuts.io.NTerminal terminal)
print in interface net.thevpc.nuts.format.NFormatprint in class DefaultFormatBase<net.thevpc.nuts.format.NObjectFormat>public void println(Writer w)
println in interface net.thevpc.nuts.format.NFormatprintln in class DefaultFormatBase<net.thevpc.nuts.format.NObjectFormat>public void println(net.thevpc.nuts.io.NPrintStream out)
println in interface net.thevpc.nuts.format.NFormatprintln in class DefaultFormatBase<net.thevpc.nuts.format.NObjectFormat>public void println(Path path)
println in interface net.thevpc.nuts.format.NFormatprintln in class DefaultFormatBase<net.thevpc.nuts.format.NObjectFormat>public void println(net.thevpc.nuts.io.NTerminal terminal)
println in interface net.thevpc.nuts.format.NFormatprintln in class DefaultFormatBase<net.thevpc.nuts.format.NObjectFormat>public void println(File file)
println in interface net.thevpc.nuts.format.NFormatprintln in class DefaultFormatBase<net.thevpc.nuts.format.NObjectFormat>public boolean configureFirst(net.thevpc.nuts.cmdline.NCmdLine cmdLine)
configureFirst in interface net.thevpc.nuts.cmdline.NCmdLineConfigurablepublic int getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext context)
getSupportLevel in interface net.thevpc.nuts.spi.NComponentCopyright © 2025 vpc open source initiative. All rights reserved.