public abstract class DefaultSearchFormatBase extends Object implements net.thevpc.nuts.NutsIterableFormat
| Constructor and Description |
|---|
DefaultSearchFormatBase(net.thevpc.nuts.NutsSession session,
net.thevpc.nuts.NutsPrintStream writer,
net.thevpc.nuts.NutsContentType format,
NutsFetchDisplayOptions options) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(boolean skipUnsupported,
net.thevpc.nuts.NutsCommandLine commandLine)
configure the current command with the given arguments.
|
net.thevpc.nuts.NutsIterableFormat |
configure(boolean skipUnsupported,
String... args)
configure the current command with the given arguments.
|
NutsFetchDisplayOptions |
getDisplayOptions() |
net.thevpc.nuts.NutsContentType |
getOutputFormat() |
net.thevpc.nuts.NutsSession |
getSession() |
net.thevpc.nuts.NutsWorkspace |
getWorkspace() |
net.thevpc.nuts.NutsPrintStream |
getWriter() |
public DefaultSearchFormatBase(net.thevpc.nuts.NutsSession session,
net.thevpc.nuts.NutsPrintStream writer,
net.thevpc.nuts.NutsContentType format,
NutsFetchDisplayOptions options)
public net.thevpc.nuts.NutsContentType getOutputFormat()
getOutputFormat in interface net.thevpc.nuts.NutsIterableFormatpublic NutsFetchDisplayOptions getDisplayOptions()
public boolean configure(boolean skipUnsupported,
net.thevpc.nuts.NutsCommandLine commandLine)
configure in interface net.thevpc.nuts.NutsCommandLineConfigurableskipUnsupported - when true, all unsupported options are skipped
silentlycommandLine - arguments to configure withthis instancepublic net.thevpc.nuts.NutsIterableFormat configure(boolean skipUnsupported,
String... args)
NutsCommandLineConfigurable.configure(boolean, java.lang.String...)
to help return a more specific return type;configure in interface net.thevpc.nuts.NutsCommandLineConfigurableconfigure in interface net.thevpc.nuts.NutsIterableFormatargs - argument to configure withthis instancepublic net.thevpc.nuts.NutsWorkspace getWorkspace()
public net.thevpc.nuts.NutsSession getSession()
public net.thevpc.nuts.NutsPrintStream getWriter()
Copyright © 2022 vpc open source initiative. All rights reserved.