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