public class DefaultNutsObjectFormat extends DefaultFormatBase<net.thevpc.nuts.NutsObjectFormat> implements net.thevpc.nuts.NutsObjectFormat
| Constructor and Description |
|---|
DefaultNutsObjectFormat(net.thevpc.nuts.NutsSession session) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configureFirst(net.thevpc.nuts.NutsCommandLine commandLine) |
net.thevpc.nuts.NutsContentTypeFormat |
createObjectFormat() |
net.thevpc.nuts.NutsString |
format() |
net.thevpc.nuts.NutsContentTypeFormat |
getBase() |
int |
getSupportLevel(net.thevpc.nuts.spi.NutsSupportLevelContext context) |
Object |
getValue() |
boolean |
isCompact() |
void |
print() |
void |
print(File out) |
void |
print(net.thevpc.nuts.NutsPrintStream out) |
void |
print(net.thevpc.nuts.NutsSessionTerminal terminal) |
void |
print(Path out) |
void |
print(Writer out) |
void |
println() |
void |
println(File file) |
void |
println(net.thevpc.nuts.NutsPrintStream out) |
void |
println(net.thevpc.nuts.NutsSessionTerminal terminal) |
void |
println(Path path) |
void |
println(Writer w) |
DefaultNutsObjectFormat |
setCompact(boolean compact) |
net.thevpc.nuts.NutsObjectFormat |
setValue(Object value) |
getValidPrintStream, getValidPrintStream, print, print, println, println, toStringcheckSession, configure, configure, getName, getSession, getWorkspace, isNtf, setNtf, setSessionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic DefaultNutsObjectFormat(net.thevpc.nuts.NutsSession session)
public Object getValue()
getValue in interface net.thevpc.nuts.NutsContentTypeFormatgetValue in interface net.thevpc.nuts.NutsObjectFormatpublic net.thevpc.nuts.NutsObjectFormat setValue(Object value)
setValue in interface net.thevpc.nuts.NutsContentTypeFormatsetValue in interface net.thevpc.nuts.NutsObjectFormatpublic boolean isCompact()
isCompact in interface net.thevpc.nuts.NutsObjectFormatpublic DefaultNutsObjectFormat setCompact(boolean compact)
setCompact in interface net.thevpc.nuts.NutsObjectFormatpublic net.thevpc.nuts.NutsContentTypeFormat getBase()
public net.thevpc.nuts.NutsContentTypeFormat createObjectFormat()
public net.thevpc.nuts.NutsString format()
format in interface net.thevpc.nuts.NutsFormatformat in class DefaultFormatBase<net.thevpc.nuts.NutsObjectFormat>public void print()
print in interface net.thevpc.nuts.NutsFormatprint in class DefaultFormatBase<net.thevpc.nuts.NutsObjectFormat>public void println()
println in interface net.thevpc.nuts.NutsFormatprintln in class DefaultFormatBase<net.thevpc.nuts.NutsObjectFormat>public void print(net.thevpc.nuts.NutsPrintStream out)
print in interface net.thevpc.nuts.NutsFormatprint in class DefaultFormatBase<net.thevpc.nuts.NutsObjectFormat>public void print(Writer out)
print in interface net.thevpc.nuts.NutsFormatprint in class DefaultFormatBase<net.thevpc.nuts.NutsObjectFormat>public void print(Path out)
print in interface net.thevpc.nuts.NutsFormatprint in class DefaultFormatBase<net.thevpc.nuts.NutsObjectFormat>public void print(File out)
print in interface net.thevpc.nuts.NutsFormatprint in class DefaultFormatBase<net.thevpc.nuts.NutsObjectFormat>public void print(net.thevpc.nuts.NutsSessionTerminal terminal)
print in interface net.thevpc.nuts.NutsFormatprint in class DefaultFormatBase<net.thevpc.nuts.NutsObjectFormat>public void println(Writer w)
println in interface net.thevpc.nuts.NutsFormatprintln in class DefaultFormatBase<net.thevpc.nuts.NutsObjectFormat>public void println(net.thevpc.nuts.NutsPrintStream out)
println in interface net.thevpc.nuts.NutsFormatprintln in class DefaultFormatBase<net.thevpc.nuts.NutsObjectFormat>public void println(Path path)
println in interface net.thevpc.nuts.NutsFormatprintln in class DefaultFormatBase<net.thevpc.nuts.NutsObjectFormat>public void println(net.thevpc.nuts.NutsSessionTerminal terminal)
println in interface net.thevpc.nuts.NutsFormatprintln in class DefaultFormatBase<net.thevpc.nuts.NutsObjectFormat>public void println(File file)
println in interface net.thevpc.nuts.NutsFormatprintln in class DefaultFormatBase<net.thevpc.nuts.NutsObjectFormat>public boolean configureFirst(net.thevpc.nuts.NutsCommandLine commandLine)
configureFirst in interface net.thevpc.nuts.NutsCommandLineConfigurablepublic int getSupportLevel(net.thevpc.nuts.spi.NutsSupportLevelContext context)
getSupportLevel in interface net.thevpc.nuts.spi.NutsComponentCopyright © 2022 vpc open source initiative. All rights reserved.