Class ApplicationProperties
java.lang.Object
org.refcodes.properties.AbstractPropertiesDecorator<org.refcodes.properties.Properties>
org.refcodes.properties.ext.application.ApplicationProperties
- All Implemented Interfaces:
org.refcodes.cli.ArgsParserBuilder<org.refcodes.cli.ParseArgs>,org.refcodes.cli.ArgsProcessorBuilder<org.refcodes.cli.ParseArgs>,org.refcodes.cli.ArgsSyntaxAccessor,org.refcodes.cli.ArgsSyntaxAccessor.ArgsSyntaxBuilder<org.refcodes.cli.ParseArgs>,org.refcodes.cli.ArgsSyntaxAccessor.ArgsSyntaxMutator,org.refcodes.cli.ArgsSyntaxAccessor.ArgsSyntaxProperty,org.refcodes.cli.ArgumentEscapeCodeAccessor,org.refcodes.cli.ArgumentEscapeCodeAccessor.ArgumentEscapeCodeBuilder<org.refcodes.cli.ParseArgs>,org.refcodes.cli.ArgumentEscapeCodeAccessor.ArgumentEscapeCodeMutator,org.refcodes.cli.ArgumentEscapeCodeAccessor.ArgumentEscapeCodeProperty,org.refcodes.cli.BannerBorderEscapeCodeAccessor,org.refcodes.cli.BannerBorderEscapeCodeAccessor.BannerBorderEscapeCodeBuilder<org.refcodes.cli.ParseArgs>,org.refcodes.cli.BannerBorderEscapeCodeAccessor.BannerBorderEscapeCodeMutator,org.refcodes.cli.BannerBorderEscapeCodeAccessor.BannerBorderEscapeCodeProperty,org.refcodes.cli.BannerEscapeCodeAccessor,org.refcodes.cli.BannerEscapeCodeAccessor.BannerEscapeCodeBuilder<org.refcodes.cli.ParseArgs>,org.refcodes.cli.BannerEscapeCodeAccessor.BannerEscapeCodeMutator,org.refcodes.cli.BannerEscapeCodeAccessor.BannerEscapeCodeProperty,org.refcodes.cli.BannerFontAccessor,org.refcodes.cli.BannerFontAccessor.BannerFontBuilder<org.refcodes.cli.ParseArgs>,org.refcodes.cli.BannerFontAccessor.BannerFontMutator,org.refcodes.cli.BannerFontAccessor.BannerFontProperty,org.refcodes.cli.BannerFontPaletteAccessor,org.refcodes.cli.BannerFontPaletteAccessor.BannerFontPaletteBuilder<org.refcodes.cli.ParseArgs>,org.refcodes.cli.BannerFontPaletteAccessor.BannerFontPaletteMutator,org.refcodes.cli.BannerFontPaletteAccessor.BannerFontPaletteProperty,org.refcodes.cli.CliMetrics,org.refcodes.cli.CommandEscapeCodeAccessor,org.refcodes.cli.CommandEscapeCodeAccessor.CommandEscapeCodeBuilder<org.refcodes.cli.ParseArgs>,org.refcodes.cli.CommandEscapeCodeAccessor.CommandEscapeCodeMutator,org.refcodes.cli.CommandEscapeCodeAccessor.CommandEscapeCodeProperty,org.refcodes.cli.CopyrightAccessor,org.refcodes.cli.CopyrightAccessor.CopyrightBuilder<org.refcodes.cli.ParseArgs>,org.refcodes.cli.CopyrightAccessor.CopyrightMutator,org.refcodes.cli.CopyrightAccessor.CopyrightProperty,org.refcodes.cli.DescriptionEscapeCodeAccessor,org.refcodes.cli.DescriptionEscapeCodeAccessor.DescriptionEscapeCodeBuilder<org.refcodes.cli.ParseArgs>,org.refcodes.cli.DescriptionEscapeCodeAccessor.DescriptionEscapeCodeMutator,org.refcodes.cli.DescriptionEscapeCodeAccessor.DescriptionEscapeCodeProperty,org.refcodes.cli.ExamplesAccessor,org.refcodes.cli.ExamplesAccessor.ExamplesBuilder<org.refcodes.cli.ParseArgs>,org.refcodes.cli.ExamplesAccessor.ExamplesMutator,org.refcodes.cli.ExamplesAccessor.ExamplesProperty,org.refcodes.cli.LicenseAccessor,org.refcodes.cli.LicenseAccessor.LicenseBuilder<org.refcodes.cli.ParseArgs>,org.refcodes.cli.LicenseAccessor.LicenseMutator,org.refcodes.cli.LicenseAccessor.LicenseProperty,org.refcodes.cli.LineSeparatorEscapeCodeAccessor,org.refcodes.cli.LineSeparatorEscapeCodeAccessor.LineSeparatorEscapeCodeBuilder<org.refcodes.cli.ParseArgs>,org.refcodes.cli.LineSeparatorEscapeCodeAccessor.LineSeparatorEscapeCodeMutator,org.refcodes.cli.LineSeparatorEscapeCodeAccessor.LineSeparatorEscapeCodeProperty,org.refcodes.cli.LongOptionPrefixAccessor,org.refcodes.cli.LongOptionPrefixAccessor.LongOptionPrefixBuilder<org.refcodes.cli.ParseArgs>,org.refcodes.cli.LongOptionPrefixAccessor.LongOptionPrefixMutator,org.refcodes.cli.LongOptionPrefixAccessor.LongOptionPrefixProperty,org.refcodes.cli.Optionable,org.refcodes.cli.OptionEscapeCodeAccessor,org.refcodes.cli.OptionEscapeCodeAccessor.OptionEscapeCodeBuilder<org.refcodes.cli.ParseArgs>,org.refcodes.cli.OptionEscapeCodeAccessor.OptionEscapeCodeMutator,org.refcodes.cli.OptionEscapeCodeAccessor.OptionEscapeCodeProperty,org.refcodes.cli.ParseArgs,org.refcodes.cli.ShortOptionPrefixAccessor,org.refcodes.cli.ShortOptionPrefixAccessor.ShortOptionPrefixBuilder<org.refcodes.cli.ParseArgs>,org.refcodes.cli.ShortOptionPrefixAccessor.ShortOptionPrefixMutator,org.refcodes.cli.ShortOptionPrefixAccessor.ShortOptionPrefixProperty,org.refcodes.cli.SyntaxMetricsAccessor,org.refcodes.cli.SyntaxMetricsAccessor.SyntaxMetricsBuilder<org.refcodes.cli.ParseArgs>,org.refcodes.cli.SyntaxMetricsAccessor.SyntaxMetricsMutator,org.refcodes.cli.SyntaxMetricsAccessor.SyntaxMetricsProperty,org.refcodes.mixin.AnnotatorAccessor,org.refcodes.mixin.ConsoleWidthAccessor,org.refcodes.mixin.ConsoleWidthAccessor.ConsoleWidthBuilder<org.refcodes.cli.ParseArgs>,org.refcodes.mixin.ConsoleWidthAccessor.ConsoleWidthMutator,org.refcodes.mixin.ConsoleWidthAccessor.ConsoleWidthProperty,org.refcodes.mixin.DelimiterAccessor,org.refcodes.mixin.DescriptionAccessor,org.refcodes.mixin.DescriptionAccessor.DescriptionBuilder<org.refcodes.cli.ParseArgs>,org.refcodes.mixin.DescriptionAccessor.DescriptionMutator,org.refcodes.mixin.DescriptionAccessor.DescriptionProperty,org.refcodes.mixin.Dumpable,org.refcodes.mixin.EmptyAccessor,org.refcodes.mixin.EscapeCodesStatusAccessor,org.refcodes.mixin.EscapeCodesStatusAccessor.EscapeCodeStatusBuilder<org.refcodes.cli.ParseArgs>,org.refcodes.mixin.EscapeCodesStatusAccessor.EscapeCodeStatusMutator,org.refcodes.mixin.EscapeCodesStatusAccessor.EscapeCodeStatusProperty,org.refcodes.mixin.LineBreakAccessor,org.refcodes.mixin.LineBreakAccessor.LineBreakBuilder<org.refcodes.cli.ParseArgs>,org.refcodes.mixin.LineBreakAccessor.LineBreakMutator,org.refcodes.mixin.LineBreakAccessor.LineBreakProperty,org.refcodes.mixin.MaxConsoleWidthAccessor,org.refcodes.mixin.MaxConsoleWidthAccessor.MaxConsoleWidthBuilder<org.refcodes.cli.ParseArgs>,org.refcodes.mixin.MaxConsoleWidthAccessor.MaxConsoleWidthMutator,org.refcodes.mixin.MaxConsoleWidthAccessor.MaxConsoleWidthProperty,org.refcodes.mixin.NameAccessor,org.refcodes.mixin.NameAccessor.NameBuilder<org.refcodes.cli.ParseArgs>,org.refcodes.mixin.NameAccessor.NameMutator,org.refcodes.mixin.NameAccessor.NameProperty,org.refcodes.mixin.Resetable,org.refcodes.mixin.ResetEscapeCodeAccessor,org.refcodes.mixin.ResetEscapeCodeAccessor.ResetEscapeCodeBuilder<org.refcodes.cli.ParseArgs>,org.refcodes.mixin.ResetEscapeCodeAccessor.ResetEscapeCodeMutator,org.refcodes.mixin.ResetEscapeCodeAccessor.ResetEscapeCodeProperty,org.refcodes.mixin.Schemable,org.refcodes.mixin.SecretAccessor.SecretBuilder<ApplicationProperties>,org.refcodes.mixin.SecretAccessor.SecretMutator,org.refcodes.mixin.TitleAccessor,org.refcodes.mixin.TitleAccessor.TitleBuilder<org.refcodes.cli.ParseArgs>,org.refcodes.mixin.TitleAccessor.TitleMutator,org.refcodes.mixin.TitleAccessor.TitleProperty,org.refcodes.mixin.TypeAccessor<String>,ArgsParserPropertiesAccessor,ParseArgsProperties,org.refcodes.properties.ProfileProperties,org.refcodes.properties.Properties,org.refcodes.properties.ResourceLoaderBuilder<ApplicationProperties>,org.refcodes.properties.ResourceProperties,org.refcodes.struct.CanonicalMap,org.refcodes.struct.Containable,org.refcodes.struct.InterOperableMap<String>,org.refcodes.struct.Keys<String,,String> org.refcodes.struct.PathMap<String>,org.refcodes.struct.Table<String,,String> org.refcodes.textual.TextBoxGridAccessor,org.refcodes.textual.TextBoxGridAccessor.TextBoxGridBuilder<org.refcodes.cli.ParseArgs>,org.refcodes.textual.TextBoxGridAccessor.TextBoxGridMutator,org.refcodes.textual.TextBoxGridAccessor.TextBoxGridProperty
public class ApplicationProperties
extends org.refcodes.properties.AbstractPropertiesDecorator<org.refcodes.properties.Properties>
implements org.refcodes.mixin.SecretAccessor.SecretMutator, org.refcodes.mixin.SecretAccessor.SecretBuilder<ApplicationProperties>, ParseArgsProperties, org.refcodes.properties.ResourceProperties, org.refcodes.properties.ResourceLoaderBuilder<ApplicationProperties>, org.refcodes.properties.ProfileProperties, ArgsParserPropertiesAccessor
ApplicationProperties are composed of various Properties
flavors such as ParseArgsProperties, SystemProperties,
EnvironmentProperties and ResourceProperties with a
precedence in this order, encapsulated by a
ProfilePropertiesProjection in order for you, the developer, to
conveniently harness the power of the Properties functionality. You
may also add a Properties instance programmatically to manually
provide properties (via withProperties(Properties)). The later you
add Properties, the lower their precedence. After construction the
use withFile(java.io.File), withUrl(java.net.URL) or the
like to load the properties from external resources. After construction use
withEvalArgs(String[]) or the like to parse the command line
arguments (implementations might provide a constructor such as
ApplicationProperties(String[]) for the command
line arguments if you do not require a command syntax notation).
ApplicationProperties represent a composition of the different
Properties flavors, therefore providing functionality from the
ParseArgsProperties as well as from the ResourceProperties
types.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.AnnotatorAccessor
org.refcodes.mixin.AnnotatorAccessor.AnnotatorBuilder<B extends org.refcodes.mixin.AnnotatorAccessor.AnnotatorBuilder<B>>, org.refcodes.mixin.AnnotatorAccessor.AnnotatorMutator, org.refcodes.mixin.AnnotatorAccessor.AnnotatorPropertyNested classes/interfaces inherited from interface org.refcodes.properties.ext.cli.ArgsParserPropertiesAccessor
ArgsParserPropertiesAccessor.ArgsParserPropertiesBuilder<B extends ArgsParserPropertiesAccessor.ArgsParserPropertiesBuilder<B>>, ArgsParserPropertiesAccessor.ArgsParserPropertiesMutator, ArgsParserPropertiesAccessor.ArgsParserPropertiesPropertyNested classes/interfaces inherited from interface org.refcodes.cli.ArgsSyntaxAccessor
org.refcodes.cli.ArgsSyntaxAccessor.ArgsSyntaxBuilder<B extends org.refcodes.cli.ArgsSyntaxAccessor.ArgsSyntaxBuilder<B>>, org.refcodes.cli.ArgsSyntaxAccessor.ArgsSyntaxMutator, org.refcodes.cli.ArgsSyntaxAccessor.ArgsSyntaxPropertyNested classes/interfaces inherited from interface org.refcodes.cli.ArgumentEscapeCodeAccessor
org.refcodes.cli.ArgumentEscapeCodeAccessor.ArgumentEscapeCodeBuilder<B extends org.refcodes.cli.ArgumentEscapeCodeAccessor.ArgumentEscapeCodeBuilder<B>>, org.refcodes.cli.ArgumentEscapeCodeAccessor.ArgumentEscapeCodeMutator, org.refcodes.cli.ArgumentEscapeCodeAccessor.ArgumentEscapeCodePropertyNested classes/interfaces inherited from interface org.refcodes.cli.BannerBorderEscapeCodeAccessor
org.refcodes.cli.BannerBorderEscapeCodeAccessor.BannerBorderEscapeCodeBuilder<B extends org.refcodes.cli.BannerBorderEscapeCodeAccessor.BannerBorderEscapeCodeBuilder<B>>, org.refcodes.cli.BannerBorderEscapeCodeAccessor.BannerBorderEscapeCodeMutator, org.refcodes.cli.BannerBorderEscapeCodeAccessor.BannerBorderEscapeCodePropertyNested classes/interfaces inherited from interface org.refcodes.cli.BannerEscapeCodeAccessor
org.refcodes.cli.BannerEscapeCodeAccessor.BannerEscapeCodeBuilder<B extends org.refcodes.cli.BannerEscapeCodeAccessor.BannerEscapeCodeBuilder<B>>, org.refcodes.cli.BannerEscapeCodeAccessor.BannerEscapeCodeMutator, org.refcodes.cli.BannerEscapeCodeAccessor.BannerEscapeCodePropertyNested classes/interfaces inherited from interface org.refcodes.cli.BannerFontAccessor
org.refcodes.cli.BannerFontAccessor.BannerFontBuilder<B extends org.refcodes.cli.BannerFontAccessor.BannerFontBuilder<B>>, org.refcodes.cli.BannerFontAccessor.BannerFontMutator, org.refcodes.cli.BannerFontAccessor.BannerFontPropertyNested classes/interfaces inherited from interface org.refcodes.cli.BannerFontPaletteAccessor
org.refcodes.cli.BannerFontPaletteAccessor.BannerFontPaletteBuilder<B extends org.refcodes.cli.BannerFontPaletteAccessor.BannerFontPaletteBuilder<B>>, org.refcodes.cli.BannerFontPaletteAccessor.BannerFontPaletteMutator, org.refcodes.cli.BannerFontPaletteAccessor.BannerFontPalettePropertyNested classes/interfaces inherited from interface org.refcodes.struct.CanonicalMap
org.refcodes.struct.CanonicalMap.CanonicalMapBuilder, org.refcodes.struct.CanonicalMap.MutableCanonicalMapNested classes/interfaces inherited from interface org.refcodes.cli.CommandEscapeCodeAccessor
org.refcodes.cli.CommandEscapeCodeAccessor.CommandEscapeCodeBuilder<B extends org.refcodes.cli.CommandEscapeCodeAccessor.CommandEscapeCodeBuilder<B>>, org.refcodes.cli.CommandEscapeCodeAccessor.CommandEscapeCodeMutator, org.refcodes.cli.CommandEscapeCodeAccessor.CommandEscapeCodePropertyNested classes/interfaces inherited from interface org.refcodes.mixin.ConsoleWidthAccessor
org.refcodes.mixin.ConsoleWidthAccessor.ConsoleWidthBuilder<B extends org.refcodes.mixin.ConsoleWidthAccessor.ConsoleWidthBuilder<B>>, org.refcodes.mixin.ConsoleWidthAccessor.ConsoleWidthMutator, org.refcodes.mixin.ConsoleWidthAccessor.ConsoleWidthPropertyNested classes/interfaces inherited from interface org.refcodes.cli.CopyrightAccessor
org.refcodes.cli.CopyrightAccessor.CopyrightBuilder<B extends org.refcodes.cli.CopyrightAccessor.CopyrightBuilder<B>>, org.refcodes.cli.CopyrightAccessor.CopyrightMutator, org.refcodes.cli.CopyrightAccessor.CopyrightPropertyNested classes/interfaces inherited from interface org.refcodes.mixin.DelimiterAccessor
org.refcodes.mixin.DelimiterAccessor.DelimiterBuilder<B extends org.refcodes.mixin.DelimiterAccessor.DelimiterBuilder<B>>, org.refcodes.mixin.DelimiterAccessor.DelimiterMutator, org.refcodes.mixin.DelimiterAccessor.DelimiterPropertyNested classes/interfaces inherited from interface org.refcodes.mixin.DescriptionAccessor
org.refcodes.mixin.DescriptionAccessor.DescriptionBuilder<B extends org.refcodes.mixin.DescriptionAccessor.DescriptionBuilder<B>>, org.refcodes.mixin.DescriptionAccessor.DescriptionMutator, org.refcodes.mixin.DescriptionAccessor.DescriptionPropertyNested classes/interfaces inherited from interface org.refcodes.cli.DescriptionEscapeCodeAccessor
org.refcodes.cli.DescriptionEscapeCodeAccessor.DescriptionEscapeCodeBuilder<B extends org.refcodes.cli.DescriptionEscapeCodeAccessor.DescriptionEscapeCodeBuilder<B>>, org.refcodes.cli.DescriptionEscapeCodeAccessor.DescriptionEscapeCodeMutator, org.refcodes.cli.DescriptionEscapeCodeAccessor.DescriptionEscapeCodePropertyNested classes/interfaces inherited from interface org.refcodes.mixin.EmptyAccessor
org.refcodes.mixin.EmptyAccessor.EmptyMutator, org.refcodes.mixin.EmptyAccessor.EmptyPropertyNested classes/interfaces inherited from interface org.refcodes.mixin.EscapeCodesStatusAccessor
org.refcodes.mixin.EscapeCodesStatusAccessor.EscapeCodeStatusBuilder<B extends org.refcodes.mixin.EscapeCodesStatusAccessor.EscapeCodeStatusBuilder<B>>, org.refcodes.mixin.EscapeCodesStatusAccessor.EscapeCodeStatusMutator, org.refcodes.mixin.EscapeCodesStatusAccessor.EscapeCodeStatusPropertyNested classes/interfaces inherited from interface org.refcodes.cli.ExamplesAccessor
org.refcodes.cli.ExamplesAccessor.ExamplesBuilder<B extends org.refcodes.cli.ExamplesAccessor.ExamplesBuilder<B>>, org.refcodes.cli.ExamplesAccessor.ExamplesMutator, org.refcodes.cli.ExamplesAccessor.ExamplesPropertyNested classes/interfaces inherited from interface org.refcodes.struct.InterOperableMap
org.refcodes.struct.InterOperableMap.InterOperableMapBuilder<T extends Object>, org.refcodes.struct.InterOperableMap.MutableInterOperableMap<T extends Object>Nested classes/interfaces inherited from interface org.refcodes.struct.Keys
org.refcodes.struct.Keys.MutableKeys<K extends Object,V extends Object>, org.refcodes.struct.Keys.MutableValues<K extends Object, V extends Object> Nested classes/interfaces inherited from interface org.refcodes.cli.LicenseAccessor
org.refcodes.cli.LicenseAccessor.LicenseBuilder<B extends org.refcodes.cli.LicenseAccessor.LicenseBuilder<B>>, org.refcodes.cli.LicenseAccessor.LicenseMutator, org.refcodes.cli.LicenseAccessor.LicensePropertyNested classes/interfaces inherited from interface org.refcodes.mixin.LineBreakAccessor
org.refcodes.mixin.LineBreakAccessor.LineBreakBuilder<B extends org.refcodes.mixin.LineBreakAccessor.LineBreakBuilder<B>>, org.refcodes.mixin.LineBreakAccessor.LineBreakMutator, org.refcodes.mixin.LineBreakAccessor.LineBreakPropertyNested classes/interfaces inherited from interface org.refcodes.cli.LineSeparatorEscapeCodeAccessor
org.refcodes.cli.LineSeparatorEscapeCodeAccessor.LineSeparatorEscapeCodeBuilder<B extends org.refcodes.cli.LineSeparatorEscapeCodeAccessor.LineSeparatorEscapeCodeBuilder<B>>, org.refcodes.cli.LineSeparatorEscapeCodeAccessor.LineSeparatorEscapeCodeMutator, org.refcodes.cli.LineSeparatorEscapeCodeAccessor.LineSeparatorEscapeCodePropertyNested classes/interfaces inherited from interface org.refcodes.cli.LongOptionPrefixAccessor
org.refcodes.cli.LongOptionPrefixAccessor.LongOptionPrefixBuilder<B extends org.refcodes.cli.LongOptionPrefixAccessor.LongOptionPrefixBuilder<B>>, org.refcodes.cli.LongOptionPrefixAccessor.LongOptionPrefixMutator, org.refcodes.cli.LongOptionPrefixAccessor.LongOptionPrefixPropertyNested classes/interfaces inherited from interface org.refcodes.mixin.MaxConsoleWidthAccessor
org.refcodes.mixin.MaxConsoleWidthAccessor.MaxConsoleWidthBuilder<B extends org.refcodes.mixin.MaxConsoleWidthAccessor.MaxConsoleWidthBuilder<B>>, org.refcodes.mixin.MaxConsoleWidthAccessor.MaxConsoleWidthMutator, org.refcodes.mixin.MaxConsoleWidthAccessor.MaxConsoleWidthPropertyNested classes/interfaces inherited from interface org.refcodes.mixin.NameAccessor
org.refcodes.mixin.NameAccessor.NameBuilder<B extends org.refcodes.mixin.NameAccessor.NameBuilder<B>>, org.refcodes.mixin.NameAccessor.NameMutator, org.refcodes.mixin.NameAccessor.NamePropertyNested classes/interfaces inherited from interface org.refcodes.cli.OptionEscapeCodeAccessor
org.refcodes.cli.OptionEscapeCodeAccessor.OptionEscapeCodeBuilder<B extends org.refcodes.cli.OptionEscapeCodeAccessor.OptionEscapeCodeBuilder<B>>, org.refcodes.cli.OptionEscapeCodeAccessor.OptionEscapeCodeMutator, org.refcodes.cli.OptionEscapeCodeAccessor.OptionEscapeCodePropertyNested classes/interfaces inherited from interface org.refcodes.struct.PathMap
org.refcodes.struct.PathMap.MutablePathMap<T extends Object>, org.refcodes.struct.PathMap.PathMapBuilder<T extends Object>Nested classes/interfaces inherited from interface org.refcodes.properties.ProfileProperties
org.refcodes.properties.ProfileProperties.MutableProfileProperties, org.refcodes.properties.ProfileProperties.ProfilePropertiesBuilderNested classes/interfaces inherited from interface org.refcodes.properties.Properties
org.refcodes.properties.Properties.MutableProperties, org.refcodes.properties.Properties.PropertiesBuilderNested classes/interfaces inherited from interface org.refcodes.mixin.ResetEscapeCodeAccessor
org.refcodes.mixin.ResetEscapeCodeAccessor.ResetEscapeCodeBuilder<B extends org.refcodes.mixin.ResetEscapeCodeAccessor.ResetEscapeCodeBuilder<B>>, org.refcodes.mixin.ResetEscapeCodeAccessor.ResetEscapeCodeMutator, org.refcodes.mixin.ResetEscapeCodeAccessor.ResetEscapeCodePropertyNested classes/interfaces inherited from interface org.refcodes.properties.ResourceProperties
org.refcodes.properties.ResourceProperties.MutableResoureProperties, org.refcodes.properties.ResourceProperties.ResourcePropertiesBuilderNested classes/interfaces inherited from interface org.refcodes.cli.ShortOptionPrefixAccessor
org.refcodes.cli.ShortOptionPrefixAccessor.ShortOptionPrefixBuilder<B extends org.refcodes.cli.ShortOptionPrefixAccessor.ShortOptionPrefixBuilder<B>>, org.refcodes.cli.ShortOptionPrefixAccessor.ShortOptionPrefixMutator, org.refcodes.cli.ShortOptionPrefixAccessor.ShortOptionPrefixPropertyNested classes/interfaces inherited from interface org.refcodes.cli.SyntaxMetricsAccessor
org.refcodes.cli.SyntaxMetricsAccessor.SyntaxMetricsBuilder<B extends org.refcodes.cli.SyntaxMetricsAccessor.SyntaxMetricsBuilder<B>>, org.refcodes.cli.SyntaxMetricsAccessor.SyntaxMetricsMutator, org.refcodes.cli.SyntaxMetricsAccessor.SyntaxMetricsPropertyNested classes/interfaces inherited from interface org.refcodes.struct.Table
org.refcodes.struct.Table.TableDictionary<K extends Object,V extends Object> Nested classes/interfaces inherited from interface org.refcodes.textual.TextBoxGridAccessor
org.refcodes.textual.TextBoxGridAccessor.TextBoxGridBuilder<B extends org.refcodes.textual.TextBoxGridAccessor.TextBoxGridBuilder<?>>, org.refcodes.textual.TextBoxGridAccessor.TextBoxGridMutator, org.refcodes.textual.TextBoxGridAccessor.TextBoxGridPropertyNested classes/interfaces inherited from interface org.refcodes.mixin.TitleAccessor
org.refcodes.mixin.TitleAccessor.TitleBuilder<B extends org.refcodes.mixin.TitleAccessor.TitleBuilder<B>>, org.refcodes.mixin.TitleAccessor.TitleMutator, org.refcodes.mixin.TitleAccessor.TitlePropertyNested classes/interfaces inherited from interface org.refcodes.mixin.TypeAccessor
org.refcodes.mixin.TypeAccessor.TypeBuilder<T extends Object,B extends org.refcodes.mixin.TypeAccessor.TypeBuilder<T, B>>, org.refcodes.mixin.TypeAccessor.TypeMutator<T extends Object>, org.refcodes.mixin.TypeAccessor.TypeProperty<T extends Object> -
Field Summary
Fields inherited from interface org.refcodes.struct.PathMap
ANNOTATOR, DELIMITERFields inherited from interface org.refcodes.properties.Properties
DEFAULT_COMMENT -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aApplicationPropertiesinstance with noConditionfor parsing command line arguments.ApplicationProperties(String aSecret) Constructs aApplicationPropertiesinstance with a custom secret for obfuscation.ApplicationProperties(String[] aArgs) Constructs aApplicationPropertiesinstance with noConditionfor parsing command line arguments: As no syntax notation is required by the constructor (no rootCondition), no syntax validation is done.ApplicationProperties(String[] aArgs, String aSecret) Constructs aApplicationPropertiesinstance with noConditionfor parsing command line arguments: As no syntax notation is required by the constructor (no rootCondition), no syntax validation is done.ApplicationProperties(String[] aArgs, org.refcodes.runtime.SystemContext aObfuscationMode) Constructs aApplicationPropertiesinstance with noConditionfor parsing command line arguments: As no syntax notation is required by the constructor (no rootCondition), no syntax validation is done.ApplicationProperties(org.refcodes.cli.Term aArgsSyntax) Constructs aApplicationPropertiesinstance with the givenConditionused to parse command line arguments.ApplicationProperties(org.refcodes.cli.Term aArgsSyntax, String aSecret) Constructs aApplicationPropertiesinstance with the givenConditionused to parse command line arguments.ApplicationProperties(org.refcodes.cli.Term aArgsSyntax, org.refcodes.runtime.SystemContext aObfuscationMode) Constructs aApplicationPropertiesinstance with the givenConditionused to parse command line arguments.ApplicationProperties(org.refcodes.properties.PolyglotPropertiesBuilder.PolyglotPropertiesBuilderFactory aPropertiesBuilderFactory) Constructs aApplicationPropertiesinstance with no args syntaxTermnode for parsing command line arguments.ApplicationProperties(org.refcodes.properties.PolyglotPropertiesBuilder.PolyglotPropertiesBuilderFactory aPropertiesBuilderFactory, String aSecret) Constructs aApplicationPropertiesinstance with a custom secret for obfuscation.ApplicationProperties(org.refcodes.properties.PolyglotPropertiesBuilder.PolyglotPropertiesBuilderFactory aPropertiesBuilderFactory, String[] aArgs) Constructs aApplicationPropertiesinstance with no args syntaxTermnode for parsing command line arguments: As no syntax notation is required by the constructor (no root args syntaxTermnode), no syntax validation is done.ApplicationProperties(org.refcodes.properties.PolyglotPropertiesBuilder.PolyglotPropertiesBuilderFactory aPropertiesBuilderFactory, String[] aArgs, String aSecret) Constructs aApplicationPropertiesinstance with no args syntaxTermnode for parsing command line arguments: As no syntax notation is required by the constructor (no root args syntaxTermnode), no syntax validation is done.ApplicationProperties(org.refcodes.properties.PolyglotPropertiesBuilder.PolyglotPropertiesBuilderFactory aPropertiesBuilderFactory, String[] aArgs, org.refcodes.runtime.SystemContext aObfuscationMode) Constructs aApplicationPropertiesinstance with no args syntaxTermnode for parsing command line arguments: As no syntax notation is required by the constructor (no args syntaxTermnode), no syntax validation is done.ApplicationProperties(org.refcodes.properties.PolyglotPropertiesBuilder.PolyglotPropertiesBuilderFactory aPropertiesBuilderFactory, org.refcodes.cli.Term aArgsSyntax) Constructs aApplicationPropertiesinstance with the given args syntaxTermnode used to parse command line arguments.ApplicationProperties(org.refcodes.properties.PolyglotPropertiesBuilder.PolyglotPropertiesBuilderFactory aPropertiesBuilderFactory, org.refcodes.cli.Term aArgsSyntax, String aSecret) Constructs aApplicationPropertiesinstance with the given args syntaxTermnode used to parse command line arguments.ApplicationProperties(org.refcodes.properties.PolyglotPropertiesBuilder.PolyglotPropertiesBuilderFactory aPropertiesBuilderFactory, org.refcodes.cli.Term aArgsSyntax, org.refcodes.runtime.SystemContext aObfuscationMode) Constructs aApplicationPropertiesinstance with the given args syntaxTermnode used to parse command line arguments.ApplicationProperties(org.refcodes.properties.PolyglotPropertiesBuilder.PolyglotPropertiesBuilderFactory aPropertiesBuilderFactory, org.refcodes.runtime.SystemContext aObfuscationMode) Constructs theApplicationPropertieswith the given obfuscation mode.ApplicationProperties(org.refcodes.runtime.SystemContext aObfuscationMode) Constructs theApplicationPropertieswith the given obfuscation mode. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExample(org.refcodes.cli.Example aExampleUsage) protected voidaddProperties(org.refcodes.properties.Properties aProperties) Adds the properties.org.refcodes.properties.ResourceProperties.ResourcePropertiesBuilderaddResourceProperties(File aFile, org.refcodes.runtime.ConfigLocator aConfigLocator, char... aDelimiters) Reads theResourceProperties.ResourcePropertiesBuilderfrom the given data sink.org.refcodes.properties.ResourceProperties.ResourcePropertiesBuilderaddResourceProperties(InputStream aInputStream, char[] aDelimiters) Reads theResourcePropertiesfrom the given data sink.org.refcodes.properties.ResourceProperties.ResourcePropertiesBuilderaddResourceProperties(Class<?> aResourceClass, String aFilePath, org.refcodes.runtime.ConfigLocator aConfigLocator, char... aDelimiters) Reads theResourceProperties.ResourcePropertiesBuilderfrom the given data sink.org.refcodes.properties.ResourceProperties.ResourcePropertiesBuilderaddResourceProperties(URL aUrl, char... aDelimiters) Reads theResourcePropertiesfrom the given data sink.booleancontainsKey(Object aKey) voidorg.refcodes.cli.Operand<?>[]org.refcodes.cli.Operand<?>[]org.refcodes.cli.Operand<?>[]org.refcodes.cli.Operand<?>[]TheParseArgsPropertiesare those properties derived from the command line arguments (as of thegetArgsSyntax()).org.refcodes.cli.Termorg.refcodes.textual.Fontchar[]intcharorg.refcodes.cli.Example[]intgetName()protected org.refcodes.properties.Propertiescharorg.refcodes.cli.SyntaxMetricsorg.refcodes.textual.TextBoxGridgetTitle()booleanisEmpty()booleankeySet()voidvoidvoidvoidvoidvoidvoidvoidprintLn()voidvoidvoidvoidorg.refcodes.properties.Propertiesreload()org.refcodes.properties.Propertiesreload(org.refcodes.properties.ReloadMode aReloadMode) voidreset()org.refcodes.properties.PropertiesretrieveFrom(String aFromPath) org.refcodes.properties.PropertiesretrieveTo(String aToPath) voidsetArgsSyntax(org.refcodes.cli.Term aArgsSyntax) voidsetArgumentEscapeCode(String aParamEscCode) voidsetBannerBorderEscapeCode(String aBannerBorderEscCode) voidsetBannerEscapeCode(String aBannerEscCode) voidsetBannerFont(org.refcodes.textual.Font aBannerFont) voidsetBannerFontPalette(char[] aColorPalette) voidsetBannerFontPalette(org.refcodes.data.AsciiColorPalette aBannerFontPalette) voidsetCommandEscapeCode(String aCommandEscCode) voidsetConsoleWidth(int aConsoleWidth) voidsetCopyright(String aCopyrightNote) voidsetDescription(String aDescription) voidsetDescriptionEscapeCode(String aParamDescriptionEscCode) voidsetErrorOut(PrintStream aErrorOut) voidsetEscapeCodesEnabled(boolean isEscCodeEnabled) voidsetExamples(org.refcodes.cli.Example[] aExamples) voidsetLicense(String aLicenseNote) voidsetLineBreak(String aLineBreak) voidsetLineSeparatorEscapeCode(String aLineSeparatorEscCode) voidsetLongOptionPrefix(String aLongOptionPrefix) voidsetMaxConsoleWidth(int aMaxConsoleWidth) voidvoidsetObfuscationMode(org.refcodes.runtime.SystemContext aObfuscationMode) Specifies the obfuscation mode to be used.voidsetOptionEscapeCode(String aOptEscCode) voidsetResetEscapeCode(String aResetEscCode) voidvoidsetSeparatorLnChar(char aSeparatorChar) voidsetShortOptionPrefix(Character aShortOptionPrefix) voidsetStandardOut(PrintStream aStandardOut) voidsetSyntaxMetrics(org.refcodes.cli.SyntaxMetrics aSyntaxMetrics) voidsetTextBoxGrid(org.refcodes.textual.TextBoxGrid aTextBoxGrid) voidintsize()toDataStructure(String aFromPath) org.refcodes.properties.PropertiestoRuntimeProfile(String... aProfiles) Returns the serialized format as of theResourceProperties.ResourcePropertiesBuilderinstance being produced upon invocation of thePolyglotPropertiesBuilder.PolyglotPropertiesBuilderFactory.toProperties(Properties)method.toSerialized(char aDelimiter) Returns the serialized format as of theResourceProperties.ResourcePropertiesBuilderinstance being produced upon invocation of thePolyglotPropertiesBuilder.PolyglotPropertiesBuilderFactory.toProperties(Properties)method.toSerialized(String aComment, char aDelimiter) Returns the serialized format as of theResourceProperties.ResourcePropertiesBuilderinstance being produced upon invocation of thePolyglotPropertiesBuilder.PolyglotPropertiesBuilderFactory.toProperties(Properties)method.values()withAddExample(String aDescription, org.refcodes.cli.Operand<?>... aOperands) withAddExample(org.refcodes.cli.Example aExample) withArgsSyntax(org.refcodes.cli.Term aArgsSyntax) withArgumentEscapeCode(String aParamEscCode) withBannerBorderEscapeCode(String aBannerBorderEscCode) withBannerEscapeCode(String aBannerEscCode) withBannerFont(org.refcodes.textual.Font aBannerFont) withBannerFontPalette(char[] aColorPalette) withBannerFontPalette(org.refcodes.data.AsciiColorPalette aBannerFontPalette) withCommandEscapeCode(String aCommandEscCode) withConsoleWidth(int aConsoleWidth) withCopyright(String aCopyrightNote) withDescription(String aDescription) withDescriptionEscapeCode(String aDescriptionEscCode) withErrorOut(PrintStream aErrorOut) withEscapeCodesEnabled(boolean isEscCodeEnabled) withEvalArgs(String[] aArgs) withEvalArgs(String[] aArgs, Pattern aFilterExp) withEvalArgs(String[] aArgs, org.refcodes.cli.ArgsFilter aArgsFilter) withEvalArgs(String aToPath, String[] aArgs) withEvalArgs(String aToPath, List<String> aArgs) withEvalArgs(List<String> aArgs) withEvalArgs(List<String> aArgs, Pattern aFilterExp) withEvalArgs(List<String> aArgs, org.refcodes.cli.ArgsFilter aArgsFilter) withExamples(Collection<org.refcodes.cli.Example> aExample) withExamples(org.refcodes.cli.Example[] aExample) withInputStream(InputStream aInputStream) withInputStream(InputStream aInputStream, char... aDelimiters) withLicense(String aLicenseNote) withLineBreak(String aLineBreak) withLineSeparatorEscapeCode(String aLineSeparatorEscCode) withLongOptionPrefix(String aLongOptionPrefix) withMaxConsoleWidth(int aMaxConsoleWidth) withObfuscationMode(org.refcodes.runtime.SystemContext aObfuscationMode) Builder method for the obfuscation mode property returning the builder for applying multiple build operations.withOptionEscapeCode(String aOptionEscCode) withProperties(org.refcodes.properties.Properties aProperties) A hook for you to providePropertiesprogrammatically.withResetEscapeCode(String aResetEscCode) withResourceClass(Class<?> aResourceClass, String aFilePath) withResourceClass(Class<?> aResourceClass, String aFilePath, org.refcodes.runtime.ConfigLocator aConfigLocator, char... aDelimiters) withResourceClass(String aFilePath) withSecret(String aSecret) withSeparatorLnChar(char aSeparatorChar) withShortOptionPrefix(Character aShortOptionPrefix) withStandardOut(PrintStream aStandardOut) withSyntaxMetrics(org.refcodes.cli.SyntaxMetrics aSyntaxMetrics) org.refcodes.cli.ParseArgswithSyntaxMetrics(org.refcodes.cli.SyntaxNotation aSyntaxNotation) withTextBoxGrid(org.refcodes.textual.TextBoxGrid aTextBoxGrid) withTextBoxGrid(org.refcodes.textual.TextBoxStyle aTextBoxStyle) Methods inherited from class org.refcodes.properties.AbstractPropertiesDecorator
getAnnotator, setProperties, toDump, toDump, toPrintableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.refcodes.cli.ArgsSyntaxAccessor.ArgsSyntaxProperty
letArgsSyntaxMethods inherited from interface org.refcodes.cli.ArgumentEscapeCodeAccessor.ArgumentEscapeCodeProperty
letArgumentEscapeCodeMethods inherited from interface org.refcodes.cli.BannerBorderEscapeCodeAccessor.BannerBorderEscapeCodeProperty
letBannerBorderEscapeCodeMethods inherited from interface org.refcodes.cli.BannerEscapeCodeAccessor.BannerEscapeCodeProperty
letBannerEscapeCodeMethods inherited from interface org.refcodes.cli.BannerFontAccessor.BannerFontProperty
letBannerFontMethods inherited from interface org.refcodes.cli.BannerFontPaletteAccessor.BannerFontPaletteProperty
letBannerFontPaletteMethods inherited from interface org.refcodes.struct.CanonicalMap
asArray, asArray, asArray, asArray, asBooleanArray, asBooleanArray, asBooleanArray, asBooleanArray, asByteArray, asByteArray, asByteArray, asByteArray, asCharArray, asCharArray, asCharArray, asCharArray, asDoubleArray, asDoubleArray, asDoubleArray, asDoubleArray, asFloatArray, asFloatArray, asFloatArray, asFloatArray, asIntArray, asIntArray, asIntArray, asIntArray, asLongArray, asLongArray, asLongArray, asLongArray, asShortArray, asShortArray, asShortArray, asShortArray, queryBetween, toMap, toPropertiesMethods inherited from interface org.refcodes.cli.CommandEscapeCodeAccessor.CommandEscapeCodeProperty
letCommandEscapeCodeMethods inherited from interface org.refcodes.mixin.ConsoleWidthAccessor.ConsoleWidthProperty
letConsoleWidthMethods inherited from interface org.refcodes.cli.CopyrightAccessor.CopyrightProperty
letCopyrightMethods inherited from interface org.refcodes.mixin.DescriptionAccessor.DescriptionProperty
letDescriptionMethods inherited from interface org.refcodes.cli.DescriptionEscapeCodeAccessor.DescriptionEscapeCodeProperty
letDescriptionEscapeCodeMethods inherited from interface org.refcodes.mixin.Dumpable
toDump, toDumpMethods inherited from interface org.refcodes.mixin.EscapeCodesStatusAccessor.EscapeCodeStatusProperty
letEscapeCodesEnabledMethods inherited from interface org.refcodes.cli.ExamplesAccessor.ExamplesMutator
setExamplesMethods inherited from interface org.refcodes.cli.ExamplesAccessor.ExamplesProperty
letExamplesMethods inherited from interface org.refcodes.struct.InterOperableMap
getBoolean, getBoolean, getBoolean, getBoolean, getBoolean, getBooleanOr, getBooleanOr, getBooleanOr, getBooleanOr, getBooleanOr, getByte, getByte, getByte, getByte, getByte, getByteOr, getByteOr, getByteOr, getByteOr, getByteOr, getChar, getChar, getChar, getChar, getChar, getCharOr, getCharOr, getCharOr, getCharOr, getCharOr, getClass, getClass, getClass, getClass, getClass, getClassOr, getClassOr, getClassOr, getClassOr, getClassOr, getDouble, getDouble, getDouble, getDouble, getDouble, getDoubleOr, getDoubleOr, getDoubleOr, getDoubleOr, getDoubleOr, getEnum, getEnum, getEnum, getEnum, getEnum, getEnumOr, getEnumOr, getEnumOr, getEnumOr, getEnumOr, getEnumOr, getEnumOr, getEnumOr, getEnumOr, getEnumOr, getFloat, getFloat, getFloat, getFloat, getFloat, getFloatOr, getFloatOr, getFloatOr, getFloatOr, getFloatOr, getInt, getInt, getInt, getInt, getInt, getIntOr, getIntOr, getIntOr, getIntOr, getIntOr, getLong, getLong, getLong, getLong, getLong, getLongOr, getLongOr, getLongOr, getLongOr, getLongOr, getShort, getShort, getShort, getShort, getShort, getShortOr, getShortOr, getShortOr, getShortOr, getShortOr, getString, getString, getString, getString, getString, getStringOr, getStringOr, getStringOr, getStringOr, getStringOrMethods inherited from interface org.refcodes.struct.Keys
getOr, useMethods inherited from interface org.refcodes.cli.LicenseAccessor.LicenseProperty
letLicenseMethods inherited from interface org.refcodes.mixin.LineBreakAccessor.LineBreakProperty
letLineBreakMethods inherited from interface org.refcodes.cli.LineSeparatorEscapeCodeAccessor.LineSeparatorEscapeCodeProperty
letLineSeparatorEscapeCodeMethods inherited from interface org.refcodes.cli.LongOptionPrefixAccessor.LongOptionPrefixProperty
letLongOptionPrefixMethods inherited from interface org.refcodes.mixin.MaxConsoleWidthAccessor.MaxConsoleWidthProperty
letMaxConsoleWidthMethods inherited from interface org.refcodes.mixin.NameAccessor.NameProperty
letNameMethods inherited from interface org.refcodes.cli.OptionEscapeCodeAccessor.OptionEscapeCodeProperty
letOptionEscapeCodeMethods inherited from interface org.refcodes.cli.ParseArgs
addExample, evalArgs, evalArgs, evalArgs, evalArgs, printBody, toOptions, toSchemaMethods inherited from interface org.refcodes.struct.PathMap
children, children, children, children, children, children, containsKey, containsKey, containsKey, dirs, dirs, dirs, dirs, dirs, dirs, findPaths, fromExternalPath, get, get, get, getArray, getArray, getArray, getArray, getArray, getArray, getArrayIndexes, getArrayIndexes, getArrayIndexes, getArrayIndexes, getArrayIndexes, getArrayOr, getArrayOr, getArrayOr, getArrayOr, getArrayOr, getArrayOr, getDirIndexes, getDirIndexes, getDirIndexes, getDirIndexes, getDirIndexes, getDirIndexes, getRootPath, getValueAt, getValueAt, getValueAt, getValueAt, getValueAt, getValueAt, hasChildren, hasChildren, hasChildren, hasChildren, hasChildren, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasParentPath, hasPath, hasPath, hasPath, hasPath, hasPath, hasSubDirs, hasSubDirs, hasSubDirs, hasSubDirs, hasValue, hasValue, hasValue, hasValue, hasValue, hasValueAt, hasValueAt, hasValueAt, hasValueAt, hasValueAt, hasValueAt, hasValueAt, hasValueAt, isArray, isArray, isArray, isArray, isArray, isArray, isChild, isChild, isChild, isChild, isDir, isDir, isDir, isDir, isDir, isEqualTo, isIndexDir, isIndexDir, isIndexDir, isIndexDir, isIndexDir, isLeaf, isLeaf, isLeaf, isLeaf, isLeaf, isRootPath, keySet, keySet, keySet, keySet, keySet, lastArrayIndex, lastArrayIndex, lastArrayIndex, lastArrayIndex, lastArrayIndex, lastArrayIndex, lastDirIndex, lastDirIndex, lastDirIndex, lastDirIndex, lastDirIndex, lastDirIndex, leaves, leaves, leaves, leaves, leaves, leaves, nextArrayIndex, nextArrayIndex, nextArrayIndex, nextArrayIndex, nextArrayIndex, nextArrayIndex, nextDirIndex, nextDirIndex, nextDirIndex, nextDirIndex, nextDirIndex, nextDirIndex, paths, paths, paths, paths, paths, paths, queryPaths, queryPaths, queryPaths, queryPaths, queryPaths, queryPaths, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, toDataStructure, toExternalPath, toInstance, toInstance, toLeaf, toMap, toNormalizedPath, toParentPath, toPath, toPath, toPath, toPath, toPathElements, toPathList, toPathStack, toPrintable, toPropertyPath, toType, toType, toType, toType, toType, toType, toType, toTypeMethods inherited from interface org.refcodes.properties.ProfileProperties
getRuntimeProfiles, getRuntimeProfilesPath, toRuntimeProfileMethods inherited from interface org.refcodes.properties.Properties
containsValue, getAnnotator, getDir, getDir, getDir, getDir, getDir, getDirAt, getDirAt, getDirAt, getDirAt, getDirAt, getDirAt, getDirs, getDirs, getDirs, getDirs, getDirs, getType, query, query, query, query, query, queryBetween, queryBetween, queryBetween, queryBetween, queryBetween, queryFrom, queryFrom, queryFrom, queryFrom, queryFrom, queryFrom, queryTo, queryTo, queryTo, queryTo, queryTo, queryTo, retrieveBetween, retrieveBetween, retrieveBetween, retrieveBetween, retrieveBetween, retrieveFrom, retrieveFrom, retrieveFrom, retrieveFrom, retrieveTo, retrieveTo, retrieveTo, retrieveToMethods inherited from interface org.refcodes.mixin.ResetEscapeCodeAccessor.ResetEscapeCodeProperty
letResetEscapeCodeMethods inherited from interface org.refcodes.properties.ResourceLoaderBuilder
withFile, withResourceClass, withResourceClass, withResourceClassMethods inherited from interface org.refcodes.properties.ResourceProperties
toSerializedMethods inherited from interface org.refcodes.cli.ShortOptionPrefixAccessor.ShortOptionPrefixProperty
letShortOptionPrefixMethods inherited from interface org.refcodes.cli.SyntaxMetricsAccessor.SyntaxMetricsMutator
setSyntaxMetricsMethods inherited from interface org.refcodes.cli.SyntaxMetricsAccessor.SyntaxMetricsProperty
letSyntaxMetrics, letSyntaxMetricsMethods inherited from interface org.refcodes.textual.TextBoxGridAccessor.TextBoxGridMutator
setTextBoxGridMethods inherited from interface org.refcodes.textual.TextBoxGridAccessor.TextBoxGridProperty
letTextBoxGrid, letTextBoxGridMethods inherited from interface org.refcodes.mixin.TitleAccessor.TitleProperty
letTitle
-
Constructor Details
-
ApplicationProperties
public ApplicationProperties()Constructs aApplicationPropertiesinstance with noConditionfor parsing command line arguments. As no syntax notation is required by the constructor (no rootCondition), no syntax validation is done. Therefore the properties are heuristically determined from the provided command line arguments when invokingwithEvalArgs(String[]). -
ApplicationProperties
public ApplicationProperties(org.refcodes.cli.Term aArgsSyntax) Constructs aApplicationPropertiesinstance with the givenConditionused to parse command line arguments.- Parameters:
aArgsSyntax- The root condition being the node from which parsing the command line arguments starts. Parse the command line arguments viaevalArgs(String[]).
-
ApplicationProperties
Constructs aApplicationPropertiesinstance with the givenConditionused to parse command line arguments. Also constructs aApplicationPropertiesinstance with a custom secret for obfuscation.- Parameters:
aArgsSyntax- The root condition being the node from which parsing the command line arguments starts. Parse the command line arguments viaevalArgs(String[]).aSecret- The secret to be used when encountering upon obfuscated properties.
-
ApplicationProperties
public ApplicationProperties(org.refcodes.cli.Term aArgsSyntax, org.refcodes.runtime.SystemContext aObfuscationMode) Constructs aApplicationPropertiesinstance with the givenConditionused to parse command line arguments. Also constructs theApplicationPropertieswith the given obfuscation mode.- Parameters:
aArgsSyntax- The root condition being the node from which parsing the command line arguments starts. Parse the command line arguments viaevalArgs(String[]).aObfuscationMode- TheSystemContextspecifies which level of obfuscation is to be used when encountering upon obfuscated properties: E.g. obfuscation may be bound to the host, the "secret" used for obfuscation being the same for all applications on the same host or obfuscation may be bound to the application, being different for different applications on the same host.
-
ApplicationProperties
public ApplicationProperties(org.refcodes.properties.PolyglotPropertiesBuilder.PolyglotPropertiesBuilderFactory aPropertiesBuilderFactory) Constructs aApplicationPropertiesinstance with no args syntaxTermnode for parsing command line arguments. As no syntax notation is required by the constructor (no root args syntaxTermnode), no syntax validation is done. Therefore the properties are heuristically determined from the provided command line arguments when invokingwithEvalArgs(String[]).- Parameters:
aPropertiesBuilderFactory- The factory to use when constructingResourcePropertiesinstances.
-
ApplicationProperties
public ApplicationProperties(org.refcodes.properties.PolyglotPropertiesBuilder.PolyglotPropertiesBuilderFactory aPropertiesBuilderFactory, org.refcodes.cli.Term aArgsSyntax) Constructs aApplicationPropertiesinstance with the given args syntaxTermnode used to parse command line arguments.- Parameters:
aPropertiesBuilderFactory- The factory to use when constructingResourcePropertiesinstances.aArgsSyntax- The root condition being the node from which parsing the command line arguments starts. Parse the command line arguments viaevalArgs(String[]).
-
ApplicationProperties
public ApplicationProperties(org.refcodes.properties.PolyglotPropertiesBuilder.PolyglotPropertiesBuilderFactory aPropertiesBuilderFactory, org.refcodes.cli.Term aArgsSyntax, String aSecret) Constructs aApplicationPropertiesinstance with the given args syntaxTermnode used to parse command line arguments. Also constructs aApplicationPropertiesinstance with a custom secret for obfuscation.- Parameters:
aPropertiesBuilderFactory- The factory to use when constructingResourcePropertiesinstances.aArgsSyntax- The root condition being the node from which parsing the command line arguments starts. Parse the command line arguments viaevalArgs(String[]).aSecret- The secret to be used when encountering upon obfuscated properties.
-
ApplicationProperties
public ApplicationProperties(org.refcodes.properties.PolyglotPropertiesBuilder.PolyglotPropertiesBuilderFactory aPropertiesBuilderFactory, org.refcodes.cli.Term aArgsSyntax, org.refcodes.runtime.SystemContext aObfuscationMode) Constructs aApplicationPropertiesinstance with the given args syntaxTermnode used to parse command line arguments. Also constructs theApplicationPropertieswith the given obfuscation mode.- Parameters:
aPropertiesBuilderFactory- The factory to use when constructingResourcePropertiesinstances.aArgsSyntax- The root condition being the node from which parsing the command line arguments starts. Parse the command line arguments viaevalArgs(String[]).aObfuscationMode- TheSystemContextspecifies which level of obfuscation is to be used when encountering upon obfuscated properties: E.g. obfuscation may be bound to the host, the "secret" used for obfuscation being the same for all applications on the same host or obfuscation may be bound to the application, being different for different applications on the same host.
-
ApplicationProperties
public ApplicationProperties(org.refcodes.properties.PolyglotPropertiesBuilder.PolyglotPropertiesBuilderFactory aPropertiesBuilderFactory, String aSecret) Constructs aApplicationPropertiesinstance with a custom secret for obfuscation.- Parameters:
aPropertiesBuilderFactory- The factory to use when constructingResourcePropertiesinstances.aSecret- The secret to be used when encountering upon obfuscated properties.
-
ApplicationProperties
public ApplicationProperties(org.refcodes.properties.PolyglotPropertiesBuilder.PolyglotPropertiesBuilderFactory aPropertiesBuilderFactory, String[] aArgs) Constructs aApplicationPropertiesinstance with no args syntaxTermnode for parsing command line arguments: As no syntax notation is required by the constructor (no root args syntaxTermnode), no syntax validation is done. Therefore the properties are heuristically determined from the provided command line arguments.- Parameters:
aPropertiesBuilderFactory- The factory to use when constructingResourcePropertiesinstances.aArgs- The command line arguments to be evaluated.
-
ApplicationProperties
public ApplicationProperties(org.refcodes.properties.PolyglotPropertiesBuilder.PolyglotPropertiesBuilderFactory aPropertiesBuilderFactory, String[] aArgs, String aSecret) Constructs aApplicationPropertiesinstance with no args syntaxTermnode for parsing command line arguments: As no syntax notation is required by the constructor (no root args syntaxTermnode), no syntax validation is done. Therefore the properties are heuristically determined from the provided command line arguments. Also constructs aApplicationPropertiesinstance with a custom secret for obfuscation.- Parameters:
aPropertiesBuilderFactory- The factory to use when constructingResourcePropertiesinstances.aArgs- The command line arguments to be evaluated.aSecret- The secret to be used when encountering upon obfuscated properties.
-
ApplicationProperties
public ApplicationProperties(org.refcodes.properties.PolyglotPropertiesBuilder.PolyglotPropertiesBuilderFactory aPropertiesBuilderFactory, String[] aArgs, org.refcodes.runtime.SystemContext aObfuscationMode) Constructs aApplicationPropertiesinstance with no args syntaxTermnode for parsing command line arguments: As no syntax notation is required by the constructor (no args syntaxTermnode), no syntax validation is done. Therefore the properties are heuristically determined from the provided command line arguments. Also constructs theApplicationPropertieswith the given obfuscation mode- Parameters:
aPropertiesBuilderFactory- The factory to use when constructingResourcePropertiesinstances.aArgs- The command line arguments to be evaluated.aObfuscationMode- TheSystemContextspecifies which level of obfuscation is to be used when encountering upon obfuscated properties: E.g. obfuscation may be bound to the host, the "secret" used for obfuscation being the same for all applications on the same host or obfuscation may be bound to the application, being different for different applications on the same host.
-
ApplicationProperties
public ApplicationProperties(org.refcodes.properties.PolyglotPropertiesBuilder.PolyglotPropertiesBuilderFactory aPropertiesBuilderFactory, org.refcodes.runtime.SystemContext aObfuscationMode) Constructs theApplicationPropertieswith the given obfuscation mode.- Parameters:
aPropertiesBuilderFactory- The factory to use when constructingResourcePropertiesinstances.aObfuscationMode- TheSystemContextspecifies which level of obfuscation is to be used when encountering upon obfuscated properties: E.g. obfuscation may be bound to the host, the "secret" used for obfuscation being the same for all applications on the same host or obfuscation may be bound to the application, being different for different applications on the same host.
-
ApplicationProperties
Constructs aApplicationPropertiesinstance with a custom secret for obfuscation.- Parameters:
aSecret- The secret to be used when encountering upon obfuscated properties.
-
ApplicationProperties
Constructs aApplicationPropertiesinstance with noConditionfor parsing command line arguments: As no syntax notation is required by the constructor (no rootCondition), no syntax validation is done. Therefore the properties are heuristically determined from the provided command line arguments.- Parameters:
aArgs- The command line arguments to be evaluated.
-
ApplicationProperties
Constructs aApplicationPropertiesinstance with noConditionfor parsing command line arguments: As no syntax notation is required by the constructor (no rootCondition), no syntax validation is done. Therefore the properties are heuristically determined from the provided command line arguments. Also constructs aApplicationPropertiesinstance with a custom secret for obfuscation.- Parameters:
aArgs- The command line arguments to be evaluated.aSecret- The secret to be used when encountering upon obfuscated properties.
-
ApplicationProperties
Constructs aApplicationPropertiesinstance with noConditionfor parsing command line arguments: As no syntax notation is required by the constructor (no rootCondition), no syntax validation is done. Therefore the properties are heuristically determined from the provided command line arguments. Also constructs theApplicationPropertieswith the given obfuscation mode- Parameters:
aArgs- The command line arguments to be evaluated.aObfuscationMode- TheSystemContextspecifies which level of obfuscation is to be used when encountering upon obfuscated properties: E.g. obfuscation may be bound to the host, the "secret" used for obfuscation being the same for all applications on the same host or obfuscation may be bound to the application, being different for different applications on the same host.
-
ApplicationProperties
public ApplicationProperties(org.refcodes.runtime.SystemContext aObfuscationMode) Constructs theApplicationPropertieswith the given obfuscation mode.- Parameters:
aObfuscationMode- TheSystemContextspecifies which level of obfuscation is to be used when encountering upon obfuscated properties: E.g. obfuscation may be bound to the host, the "secret" used for obfuscation being the same for all applications on the same host or obfuscation may be bound to the application, being different for different applications on the same host.
-
-
Method Details
-
addExample
public void addExample(org.refcodes.cli.Example aExampleUsage) - Specified by:
addExamplein interfaceorg.refcodes.cli.ParseArgs
-
containsKey
-
errorLn
- Specified by:
errorLnin interfaceorg.refcodes.cli.ParseArgs
-
evalArgs
public org.refcodes.cli.Operand<?>[] evalArgs(List<String> aArgs) throws org.refcodes.cli.ArgsSyntaxException - Specified by:
evalArgsin interfaceorg.refcodes.cli.ParseArgs- Specified by:
evalArgsin interfaceParseArgsProperties- Throws:
org.refcodes.cli.ArgsSyntaxException
-
evalArgs
public org.refcodes.cli.Operand<?>[] evalArgs(String aToPath, List<String> aArgs) throws org.refcodes.cli.ArgsSyntaxException - Specified by:
evalArgsin interfaceParseArgsProperties- Throws:
org.refcodes.cli.ArgsSyntaxException
-
evalArgs
public org.refcodes.cli.Operand<?>[] evalArgs(String aToPath, String[] aArgs) throws org.refcodes.cli.ArgsSyntaxException - Specified by:
evalArgsin interfaceParseArgsProperties- Throws:
org.refcodes.cli.ArgsSyntaxException
-
evalArgs
public org.refcodes.cli.Operand<?>[] evalArgs(String[] aArgs) throws org.refcodes.cli.ArgsSyntaxException - Specified by:
evalArgsin interfaceorg.refcodes.cli.ParseArgs- Specified by:
evalArgsin interfaceParseArgsProperties- Throws:
org.refcodes.cli.ArgsSyntaxException
-
get
-
getArgsParserProperties
TheParseArgsPropertiesare those properties derived from the command line arguments (as of thegetArgsSyntax()).- Specified by:
getArgsParserPropertiesin interfaceArgsParserPropertiesAccessor
-
getArgsSyntax
public org.refcodes.cli.Term getArgsSyntax()- Specified by:
getArgsSyntaxin interfaceorg.refcodes.cli.ArgsSyntaxAccessor- Specified by:
getArgsSyntaxin interfaceorg.refcodes.cli.ParseArgs
-
getArgumentEscapeCode
- Specified by:
getArgumentEscapeCodein interfaceorg.refcodes.cli.ArgumentEscapeCodeAccessor- Specified by:
getArgumentEscapeCodein interfaceorg.refcodes.cli.ParseArgs
-
getBannerBorderEscapeCode
- Specified by:
getBannerBorderEscapeCodein interfaceorg.refcodes.cli.BannerBorderEscapeCodeAccessor- Specified by:
getBannerBorderEscapeCodein interfaceorg.refcodes.cli.ParseArgs
-
getBannerEscapeCode
- Specified by:
getBannerEscapeCodein interfaceorg.refcodes.cli.BannerEscapeCodeAccessor- Specified by:
getBannerEscapeCodein interfaceorg.refcodes.cli.ParseArgs
-
getBannerFont
public org.refcodes.textual.Font getBannerFont()- Specified by:
getBannerFontin interfaceorg.refcodes.cli.BannerFontAccessor
-
getBannerFontPalette
public char[] getBannerFontPalette()- Specified by:
getBannerFontPalettein interfaceorg.refcodes.cli.BannerFontPaletteAccessor
-
getCommandEscapeCode
- Specified by:
getCommandEscapeCodein interfaceorg.refcodes.cli.CommandEscapeCodeAccessor- Specified by:
getCommandEscapeCodein interfaceorg.refcodes.cli.ParseArgs
-
getConsoleWidth
public int getConsoleWidth()- Specified by:
getConsoleWidthin interfaceorg.refcodes.mixin.ConsoleWidthAccessor
-
getCopyright
- Specified by:
getCopyrightin interfaceorg.refcodes.cli.CopyrightAccessor- Specified by:
getCopyrightin interfaceorg.refcodes.cli.ParseArgs
-
getDelimiter
public char getDelimiter()- Specified by:
getDelimiterin interfaceorg.refcodes.mixin.DelimiterAccessor- Specified by:
getDelimiterin interfaceorg.refcodes.properties.Properties- Overrides:
getDelimiterin classorg.refcodes.properties.AbstractPropertiesDecorator<org.refcodes.properties.Properties>
-
getDescription
- Specified by:
getDescriptionin interfaceorg.refcodes.mixin.DescriptionAccessor- Specified by:
getDescriptionin interfaceorg.refcodes.cli.ParseArgs
-
getDescriptionEscapeCode
- Specified by:
getDescriptionEscapeCodein interfaceorg.refcodes.cli.DescriptionEscapeCodeAccessor- Specified by:
getDescriptionEscapeCodein interfaceorg.refcodes.cli.ParseArgs
-
getExamples
public org.refcodes.cli.Example[] getExamples()- Specified by:
getExamplesin interfaceorg.refcodes.cli.ExamplesAccessor- Specified by:
getExamplesin interfaceorg.refcodes.cli.ParseArgs
-
getLicense
- Specified by:
getLicensein interfaceorg.refcodes.cli.LicenseAccessor- Specified by:
getLicensein interfaceorg.refcodes.cli.ParseArgs
-
getLineBreak
- Specified by:
getLineBreakin interfaceorg.refcodes.mixin.LineBreakAccessor
-
getLineSeparatorEscapeCode
- Specified by:
getLineSeparatorEscapeCodein interfaceorg.refcodes.cli.LineSeparatorEscapeCodeAccessor- Specified by:
getLineSeparatorEscapeCodein interfaceorg.refcodes.cli.ParseArgs
-
getLongOptionPrefix
- Specified by:
getLongOptionPrefixin interfaceorg.refcodes.cli.LongOptionPrefixAccessor
-
getMaxConsoleWidth
public int getMaxConsoleWidth()- Specified by:
getMaxConsoleWidthin interfaceorg.refcodes.mixin.MaxConsoleWidthAccessor
-
getName
- Specified by:
getNamein interfaceorg.refcodes.mixin.NameAccessor
-
getOptionEscapeCode
- Specified by:
getOptionEscapeCodein interfaceorg.refcodes.cli.OptionEscapeCodeAccessor- Specified by:
getOptionEscapeCodein interfaceorg.refcodes.cli.ParseArgs
-
getResetEscapeCode
- Specified by:
getResetEscapeCodein interfaceorg.refcodes.mixin.ResetEscapeCodeAccessor
-
getSeparatorLnChar
public char getSeparatorLnChar()- Specified by:
getSeparatorLnCharin interfaceorg.refcodes.cli.ParseArgs
-
getShortOptionPrefix
- Specified by:
getShortOptionPrefixin interfaceorg.refcodes.cli.ShortOptionPrefixAccessor
-
getSyntaxMetrics
public org.refcodes.cli.SyntaxMetrics getSyntaxMetrics()- Specified by:
getSyntaxMetricsin interfaceorg.refcodes.cli.SyntaxMetricsAccessor
-
getTextBoxGrid
public org.refcodes.textual.TextBoxGrid getTextBoxGrid()- Specified by:
getTextBoxGridin interfaceorg.refcodes.textual.TextBoxGridAccessor
-
getTitle
- Specified by:
getTitlein interfaceorg.refcodes.mixin.TitleAccessor
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceorg.refcodes.mixin.EmptyAccessor- Overrides:
isEmptyin classorg.refcodes.properties.AbstractPropertiesDecorator<org.refcodes.properties.Properties>
-
isEscapeCodesEnabled
public boolean isEscapeCodesEnabled()- Specified by:
isEscapeCodesEnabledin interfaceorg.refcodes.mixin.EscapeCodesStatusAccessor
-
keySet
-
printBanner
public void printBanner()- Specified by:
printBannerin interfaceorg.refcodes.cli.ParseArgs
-
printCopyright
public void printCopyright()- Specified by:
printCopyrightin interfaceorg.refcodes.cli.ParseArgs
-
printDescription
public void printDescription()- Specified by:
printDescriptionin interfaceorg.refcodes.cli.ParseArgs
-
printExamples
public void printExamples()- Specified by:
printExamplesin interfaceorg.refcodes.cli.ParseArgs
-
printHeader
public void printHeader()- Specified by:
printHeaderin interfaceorg.refcodes.cli.ParseArgs
-
printHelp
public void printHelp()- Specified by:
printHelpin interfaceorg.refcodes.cli.ParseArgs
-
printLicense
public void printLicense()- Specified by:
printLicensein interfaceorg.refcodes.cli.ParseArgs
-
printLn
public void printLn()- Specified by:
printLnin interfaceorg.refcodes.cli.ParseArgs
-
printLn
- Specified by:
printLnin interfaceorg.refcodes.cli.ParseArgs
-
printOptions
public void printOptions()- Specified by:
printOptionsin interfaceorg.refcodes.cli.ParseArgs
-
printSeparatorLn
public void printSeparatorLn()- Specified by:
printSeparatorLnin interfaceorg.refcodes.cli.ParseArgs
-
printSynopsis
public void printSynopsis()- Specified by:
printSynopsisin interfaceorg.refcodes.cli.ParseArgs
-
reload
- Specified by:
reloadin interfaceorg.refcodes.properties.ResourceProperties- Throws:
IOExceptionParseException
-
reload
public org.refcodes.properties.Properties reload(org.refcodes.properties.ReloadMode aReloadMode) throws IOException, ParseException - Specified by:
reloadin interfaceorg.refcodes.properties.ResourceProperties- Throws:
IOExceptionParseException
-
reset
public void reset()- Specified by:
resetin interfaceorg.refcodes.mixin.Resetable
-
retrieveFrom
- Specified by:
retrieveFromin interfaceorg.refcodes.struct.CanonicalMap- Specified by:
retrieveFromin interfaceorg.refcodes.struct.PathMap<String>- Specified by:
retrieveFromin interfaceorg.refcodes.properties.Properties- Overrides:
retrieveFromin classorg.refcodes.properties.AbstractPropertiesDecorator<org.refcodes.properties.Properties>
-
retrieveTo
- Specified by:
retrieveToin interfaceorg.refcodes.struct.CanonicalMap- Specified by:
retrieveToin interfaceorg.refcodes.struct.PathMap<String>- Specified by:
retrieveToin interfaceorg.refcodes.properties.Properties- Overrides:
retrieveToin classorg.refcodes.properties.AbstractPropertiesDecorator<org.refcodes.properties.Properties>
-
setArgsSyntax
public void setArgsSyntax(org.refcodes.cli.Term aArgsSyntax) - Specified by:
setArgsSyntaxin interfaceorg.refcodes.cli.ArgsSyntaxAccessor.ArgsSyntaxMutator
-
setArgumentEscapeCode
- Specified by:
setArgumentEscapeCodein interfaceorg.refcodes.cli.ArgumentEscapeCodeAccessor.ArgumentEscapeCodeMutator
-
setBannerBorderEscapeCode
- Specified by:
setBannerBorderEscapeCodein interfaceorg.refcodes.cli.BannerBorderEscapeCodeAccessor.BannerBorderEscapeCodeMutator
-
setBannerEscapeCode
- Specified by:
setBannerEscapeCodein interfaceorg.refcodes.cli.BannerEscapeCodeAccessor.BannerEscapeCodeMutator
-
setBannerFont
public void setBannerFont(org.refcodes.textual.Font aBannerFont) - Specified by:
setBannerFontin interfaceorg.refcodes.cli.BannerFontAccessor.BannerFontMutator
-
setBannerFontPalette
public void setBannerFontPalette(org.refcodes.data.AsciiColorPalette aBannerFontPalette) - Specified by:
setBannerFontPalettein interfaceorg.refcodes.cli.BannerFontPaletteAccessor.BannerFontPaletteMutator
-
setBannerFontPalette
public void setBannerFontPalette(char[] aColorPalette) - Specified by:
setBannerFontPalettein interfaceorg.refcodes.cli.BannerFontPaletteAccessor.BannerFontPaletteMutator
-
setCommandEscapeCode
- Specified by:
setCommandEscapeCodein interfaceorg.refcodes.cli.CommandEscapeCodeAccessor.CommandEscapeCodeMutator
-
setConsoleWidth
public void setConsoleWidth(int aConsoleWidth) - Specified by:
setConsoleWidthin interfaceorg.refcodes.mixin.ConsoleWidthAccessor.ConsoleWidthMutator
-
setCopyright
- Specified by:
setCopyrightin interfaceorg.refcodes.cli.CopyrightAccessor.CopyrightMutator
-
setDescription
- Specified by:
setDescriptionin interfaceorg.refcodes.mixin.DescriptionAccessor.DescriptionMutator
-
setDescriptionEscapeCode
- Specified by:
setDescriptionEscapeCodein interfaceorg.refcodes.cli.DescriptionEscapeCodeAccessor.DescriptionEscapeCodeMutator
-
setErrorOut
- Specified by:
setErrorOutin interfaceorg.refcodes.cli.ParseArgs
-
setEscapeCodesEnabled
public void setEscapeCodesEnabled(boolean isEscCodeEnabled) - Specified by:
setEscapeCodesEnabledin interfaceorg.refcodes.mixin.EscapeCodesStatusAccessor.EscapeCodeStatusMutator
-
setExamples
public void setExamples(org.refcodes.cli.Example[] aExamples) - Specified by:
setExamplesin interfaceorg.refcodes.cli.ExamplesAccessor.ExamplesMutator
-
setLicense
- Specified by:
setLicensein interfaceorg.refcodes.cli.LicenseAccessor.LicenseMutator
-
setLineBreak
- Specified by:
setLineBreakin interfaceorg.refcodes.mixin.LineBreakAccessor.LineBreakMutator
-
setLineSeparatorEscapeCode
- Specified by:
setLineSeparatorEscapeCodein interfaceorg.refcodes.cli.LineSeparatorEscapeCodeAccessor.LineSeparatorEscapeCodeMutator- Specified by:
setLineSeparatorEscapeCodein interfaceorg.refcodes.cli.ParseArgs
-
setLongOptionPrefix
- Specified by:
setLongOptionPrefixin interfaceorg.refcodes.cli.LongOptionPrefixAccessor.LongOptionPrefixMutator
-
setMaxConsoleWidth
public void setMaxConsoleWidth(int aMaxConsoleWidth) - Specified by:
setMaxConsoleWidthin interfaceorg.refcodes.mixin.MaxConsoleWidthAccessor.MaxConsoleWidthMutator
-
setName
- Specified by:
setNamein interfaceorg.refcodes.mixin.NameAccessor.NameMutator
-
setObfuscationMode
public void setObfuscationMode(org.refcodes.runtime.SystemContext aObfuscationMode) Specifies the obfuscation mode to be used.- Parameters:
aObfuscationMode- TheSystemContextspecifies which level of obfuscation is to be used when encountering upon obfuscated properties: E.g. obfuscation may be bound to the host, the "secret" used for obfuscation being the same for all applications on the same host or obfuscation may be bound to the application, being different for different applications on the same host.
-
setOptionEscapeCode
- Specified by:
setOptionEscapeCodein interfaceorg.refcodes.cli.OptionEscapeCodeAccessor.OptionEscapeCodeMutator
-
setResetEscapeCode
- Specified by:
setResetEscapeCodein interfaceorg.refcodes.mixin.ResetEscapeCodeAccessor.ResetEscapeCodeMutator
-
setSecret
- Specified by:
setSecretin interfaceorg.refcodes.mixin.SecretAccessor.SecretMutator
-
setSeparatorLnChar
public void setSeparatorLnChar(char aSeparatorChar) - Specified by:
setSeparatorLnCharin interfaceorg.refcodes.cli.ParseArgs
-
setShortOptionPrefix
- Specified by:
setShortOptionPrefixin interfaceorg.refcodes.cli.ShortOptionPrefixAccessor.ShortOptionPrefixMutator
-
setStandardOut
- Specified by:
setStandardOutin interfaceorg.refcodes.cli.ParseArgs
-
setSyntaxMetrics
public void setSyntaxMetrics(org.refcodes.cli.SyntaxMetrics aSyntaxMetrics) - Specified by:
setSyntaxMetricsin interfaceorg.refcodes.cli.ParseArgs- Specified by:
setSyntaxMetricsin interfaceorg.refcodes.cli.SyntaxMetricsAccessor.SyntaxMetricsMutator
-
setTextBoxGrid
public void setTextBoxGrid(org.refcodes.textual.TextBoxGrid aTextBoxGrid) - Specified by:
setTextBoxGridin interfaceorg.refcodes.textual.TextBoxGridAccessor.TextBoxGridMutator
-
setTitle
- Specified by:
setTitlein interfaceorg.refcodes.mixin.TitleAccessor.TitleMutator
-
size
public int size()- Specified by:
sizein interfaceorg.refcodes.struct.Containable- Overrides:
sizein classorg.refcodes.properties.AbstractPropertiesDecorator<org.refcodes.properties.Properties>
-
toDataStructure
- Specified by:
toDataStructurein interfaceorg.refcodes.struct.PathMap<String>- Overrides:
toDataStructurein classorg.refcodes.properties.AbstractPropertiesDecorator<org.refcodes.properties.Properties>
-
toRuntimeProfile
- Specified by:
toRuntimeProfilein interfaceorg.refcodes.properties.ProfileProperties
-
toSerialized
Returns the serialized format as of theResourceProperties.ResourcePropertiesBuilderinstance being produced upon invocation of thePolyglotPropertiesBuilder.PolyglotPropertiesBuilderFactory.toProperties(Properties)method.- Specified by:
toSerializedin interfaceorg.refcodes.properties.ResourceProperties
-
toSerialized
Returns the serialized format as of theResourceProperties.ResourcePropertiesBuilderinstance being produced upon invocation of thePolyglotPropertiesBuilder.PolyglotPropertiesBuilderFactory.toProperties(Properties)method.- Specified by:
toSerializedin interfaceorg.refcodes.properties.ResourceProperties
-
toSerialized
Returns the serialized format as of theResourceProperties.ResourcePropertiesBuilderinstance being produced upon invocation of thePolyglotPropertiesBuilder.PolyglotPropertiesBuilderFactory.toProperties(Properties)method.- Specified by:
toSerializedin interfaceorg.refcodes.properties.ResourceProperties
-
values
-
withArgsSyntax
- Specified by:
withArgsSyntaxin interfaceorg.refcodes.cli.ArgsSyntaxAccessor.ArgsSyntaxBuilder<org.refcodes.cli.ParseArgs>
-
withArgumentEscapeCode
- Specified by:
withArgumentEscapeCodein interfaceorg.refcodes.cli.ArgumentEscapeCodeAccessor.ArgumentEscapeCodeBuilder<org.refcodes.cli.ParseArgs>- Specified by:
withArgumentEscapeCodein interfaceorg.refcodes.cli.ParseArgs
-
withBannerBorderEscapeCode
- Specified by:
withBannerBorderEscapeCodein interfaceorg.refcodes.cli.BannerBorderEscapeCodeAccessor.BannerBorderEscapeCodeBuilder<org.refcodes.cli.ParseArgs>- Specified by:
withBannerBorderEscapeCodein interfaceorg.refcodes.cli.ParseArgs
-
withBannerEscapeCode
- Specified by:
withBannerEscapeCodein interfaceorg.refcodes.cli.BannerEscapeCodeAccessor.BannerEscapeCodeBuilder<org.refcodes.cli.ParseArgs>- Specified by:
withBannerEscapeCodein interfaceorg.refcodes.cli.ParseArgs
-
withBannerFont
- Specified by:
withBannerFontin interfaceorg.refcodes.cli.BannerFontAccessor.BannerFontBuilder<org.refcodes.cli.ParseArgs>- Specified by:
withBannerFontin interfaceorg.refcodes.cli.ParseArgs
-
withBannerFontPalette
public ApplicationProperties withBannerFontPalette(org.refcodes.data.AsciiColorPalette aBannerFontPalette) - Specified by:
withBannerFontPalettein interfaceorg.refcodes.cli.BannerFontPaletteAccessor.BannerFontPaletteBuilder<org.refcodes.cli.ParseArgs>
-
withBannerFontPalette
- Specified by:
withBannerFontPalettein interfaceorg.refcodes.cli.BannerFontPaletteAccessor.BannerFontPaletteBuilder<org.refcodes.cli.ParseArgs>- Specified by:
withBannerFontPalettein interfaceorg.refcodes.cli.ParseArgs
-
withCommandEscapeCode
- Specified by:
withCommandEscapeCodein interfaceorg.refcodes.cli.CommandEscapeCodeAccessor.CommandEscapeCodeBuilder<org.refcodes.cli.ParseArgs>- Specified by:
withCommandEscapeCodein interfaceorg.refcodes.cli.ParseArgs
-
withConsoleWidth
- Specified by:
withConsoleWidthin interfaceorg.refcodes.mixin.ConsoleWidthAccessor.ConsoleWidthBuilder<org.refcodes.cli.ParseArgs>- Specified by:
withConsoleWidthin interfaceorg.refcodes.cli.ParseArgs
-
withCopyright
- Specified by:
withCopyrightin interfaceorg.refcodes.cli.CopyrightAccessor.CopyrightBuilder<org.refcodes.cli.ParseArgs>- Specified by:
withCopyrightin interfaceorg.refcodes.cli.ParseArgs
-
withDescription
- Specified by:
withDescriptionin interfaceorg.refcodes.mixin.DescriptionAccessor.DescriptionBuilder<org.refcodes.cli.ParseArgs>- Specified by:
withDescriptionin interfaceorg.refcodes.cli.ParseArgs
-
withDescriptionEscapeCode
- Specified by:
withDescriptionEscapeCodein interfaceorg.refcodes.cli.DescriptionEscapeCodeAccessor.DescriptionEscapeCodeBuilder<org.refcodes.cli.ParseArgs>- Specified by:
withDescriptionEscapeCodein interfaceorg.refcodes.cli.ParseArgs
-
withErrorOut
- Specified by:
withErrorOutin interfaceorg.refcodes.cli.ArgsProcessorBuilder<org.refcodes.cli.ParseArgs>- Specified by:
withErrorOutin interfaceorg.refcodes.cli.ParseArgs
-
withEscapeCodesEnabled
- Specified by:
withEscapeCodesEnabledin interfaceorg.refcodes.mixin.EscapeCodesStatusAccessor.EscapeCodeStatusBuilder<org.refcodes.cli.ParseArgs>- Specified by:
withEscapeCodesEnabledin interfaceorg.refcodes.cli.ParseArgs
-
withEvalArgs
public ApplicationProperties withEvalArgs(List<String> aArgs) throws org.refcodes.cli.ArgsSyntaxException - Specified by:
withEvalArgsin interfaceorg.refcodes.cli.ArgsParserBuilder<org.refcodes.cli.ParseArgs>- Specified by:
withEvalArgsin interfaceorg.refcodes.cli.ParseArgs- Specified by:
withEvalArgsin interfaceParseArgsProperties- Throws:
org.refcodes.cli.ArgsSyntaxException
-
withEvalArgs
public ApplicationProperties withEvalArgs(List<String> aArgs, org.refcodes.cli.ArgsFilter aArgsFilter) throws org.refcodes.cli.ArgsSyntaxException - Specified by:
withEvalArgsin interfaceorg.refcodes.cli.ArgsParserBuilder<org.refcodes.cli.ParseArgs>- Throws:
org.refcodes.cli.ArgsSyntaxException
-
withEvalArgs
public ApplicationProperties withEvalArgs(List<String> aArgs, Pattern aFilterExp) throws org.refcodes.cli.ArgsSyntaxException - Specified by:
withEvalArgsin interfaceorg.refcodes.cli.ArgsParserBuilder<org.refcodes.cli.ParseArgs>- Throws:
org.refcodes.cli.ArgsSyntaxException
-
withEvalArgs
public ApplicationProperties withEvalArgs(String aToPath, List<String> aArgs) throws org.refcodes.cli.ArgsSyntaxException - Specified by:
withEvalArgsin interfaceParseArgsProperties- Throws:
org.refcodes.cli.ArgsSyntaxException
-
withEvalArgs
public ApplicationProperties withEvalArgs(String aToPath, String[] aArgs) throws org.refcodes.cli.ArgsSyntaxException - Specified by:
withEvalArgsin interfaceParseArgsProperties- Throws:
org.refcodes.cli.ArgsSyntaxException
-
withEvalArgs
public ApplicationProperties withEvalArgs(String[] aArgs) throws org.refcodes.cli.ArgsSyntaxException - Specified by:
withEvalArgsin interfaceorg.refcodes.cli.ArgsParserBuilder<org.refcodes.cli.ParseArgs>- Specified by:
withEvalArgsin interfaceorg.refcodes.cli.ParseArgs- Specified by:
withEvalArgsin interfaceParseArgsProperties- Throws:
org.refcodes.cli.ArgsSyntaxException
-
withEvalArgs
public ApplicationProperties withEvalArgs(String[] aArgs, org.refcodes.cli.ArgsFilter aArgsFilter) throws org.refcodes.cli.ArgsSyntaxException - Specified by:
withEvalArgsin interfaceorg.refcodes.cli.ArgsParserBuilder<org.refcodes.cli.ParseArgs>- Throws:
org.refcodes.cli.ArgsSyntaxException
-
withEvalArgs
public ApplicationProperties withEvalArgs(String[] aArgs, Pattern aFilterExp) throws org.refcodes.cli.ArgsSyntaxException - Specified by:
withEvalArgsin interfaceorg.refcodes.cli.ArgsParserBuilder<org.refcodes.cli.ParseArgs>- Throws:
org.refcodes.cli.ArgsSyntaxException
-
withAddExample
- Specified by:
withAddExamplein interfaceorg.refcodes.cli.ArgsProcessorBuilder<org.refcodes.cli.ParseArgs>- Specified by:
withAddExamplein interfaceorg.refcodes.cli.ParseArgs
-
withAddExample
public ApplicationProperties withAddExample(String aDescription, org.refcodes.cli.Operand<?>... aOperands) - Specified by:
withAddExamplein interfaceorg.refcodes.cli.ArgsProcessorBuilder<org.refcodes.cli.ParseArgs>- Specified by:
withAddExamplein interfaceorg.refcodes.cli.ParseArgs
-
withExamples
- Specified by:
withExamplesin interfaceorg.refcodes.cli.ExamplesAccessor.ExamplesBuilder<org.refcodes.cli.ParseArgs>- Specified by:
withExamplesin interfaceorg.refcodes.cli.ParseArgs
-
withExamples
- Specified by:
withExamplesin interfaceorg.refcodes.cli.ExamplesAccessor.ExamplesBuilder<org.refcodes.cli.ParseArgs>- Specified by:
withExamplesin interfaceorg.refcodes.cli.ParseArgs
-
withFile
- Specified by:
withFilein interfaceorg.refcodes.properties.ResourceLoaderBuilder<ApplicationProperties>- Throws:
IOExceptionParseException
-
withFile
public ApplicationProperties withFile(File aFile, org.refcodes.runtime.ConfigLocator aConfigLocator) throws IOException, ParseException - Specified by:
withFilein interfaceorg.refcodes.properties.ResourceLoaderBuilder<ApplicationProperties>- Throws:
IOExceptionParseException
-
withFile
public ApplicationProperties withFile(File aFile, org.refcodes.runtime.ConfigLocator aConfigLocator, char... aDelimiters) throws IOException, ParseException - Specified by:
withFilein interfaceorg.refcodes.properties.ResourceLoaderBuilder<ApplicationProperties>- Throws:
IOExceptionParseException
-
withResourceClass
public ApplicationProperties withResourceClass(Class<?> aResourceClass, String aFilePath) throws IOException, ParseException - Specified by:
withResourceClassin interfaceorg.refcodes.properties.ResourceLoaderBuilder<ApplicationProperties>- Throws:
IOExceptionParseException
-
withResourceClass
public ApplicationProperties withResourceClass(Class<?> aResourceClass, String aFilePath, org.refcodes.runtime.ConfigLocator aConfigLocator, char... aDelimiters) throws IOException, ParseException - Specified by:
withResourceClassin interfaceorg.refcodes.properties.ResourceLoaderBuilder<ApplicationProperties>- Throws:
IOExceptionParseException
-
withResourceClass
- Specified by:
withResourceClassin interfaceorg.refcodes.properties.ResourceLoaderBuilder<ApplicationProperties>- Throws:
IOExceptionParseException
-
withInputStream
public ApplicationProperties withInputStream(InputStream aInputStream) throws IOException, ParseException - Specified by:
withInputStreamin interfaceorg.refcodes.properties.ResourceLoaderBuilder<ApplicationProperties>- Throws:
IOExceptionParseException
-
withInputStream
public ApplicationProperties withInputStream(InputStream aInputStream, char... aDelimiters) throws IOException, ParseException - Specified by:
withInputStreamin interfaceorg.refcodes.properties.ResourceLoaderBuilder<ApplicationProperties>- Throws:
IOExceptionParseException
-
withLicense
- Specified by:
withLicensein interfaceorg.refcodes.cli.LicenseAccessor.LicenseBuilder<org.refcodes.cli.ParseArgs>- Specified by:
withLicensein interfaceorg.refcodes.cli.ParseArgs
-
withLineBreak
- Specified by:
withLineBreakin interfaceorg.refcodes.mixin.LineBreakAccessor.LineBreakBuilder<org.refcodes.cli.ParseArgs>- Specified by:
withLineBreakin interfaceorg.refcodes.cli.ParseArgs
-
withLineSeparatorEscapeCode
- Specified by:
withLineSeparatorEscapeCodein interfaceorg.refcodes.cli.LineSeparatorEscapeCodeAccessor.LineSeparatorEscapeCodeBuilder<org.refcodes.cli.ParseArgs>- Specified by:
withLineSeparatorEscapeCodein interfaceorg.refcodes.cli.ParseArgs
-
withLongOptionPrefix
- Specified by:
withLongOptionPrefixin interfaceorg.refcodes.cli.LongOptionPrefixAccessor.LongOptionPrefixBuilder<org.refcodes.cli.ParseArgs>- Specified by:
withLongOptionPrefixin interfaceorg.refcodes.cli.ParseArgs
-
withMaxConsoleWidth
- Specified by:
withMaxConsoleWidthin interfaceorg.refcodes.mixin.MaxConsoleWidthAccessor.MaxConsoleWidthBuilder<org.refcodes.cli.ParseArgs>- Specified by:
withMaxConsoleWidthin interfaceorg.refcodes.cli.ParseArgs
-
withName
- Specified by:
withNamein interfaceorg.refcodes.mixin.NameAccessor.NameBuilder<org.refcodes.cli.ParseArgs>- Specified by:
withNamein interfaceorg.refcodes.cli.ParseArgs
-
withObfuscationMode
public ApplicationProperties withObfuscationMode(org.refcodes.runtime.SystemContext aObfuscationMode) Builder method for the obfuscation mode property returning the builder for applying multiple build operations.- Parameters:
aObfuscationMode- The obfuscation mode as ofsetObfuscationMode(SystemContext).- Returns:
- The builder for applying multiple build operations.
-
withOptionEscapeCode
- Specified by:
withOptionEscapeCodein interfaceorg.refcodes.cli.OptionEscapeCodeAccessor.OptionEscapeCodeBuilder<org.refcodes.cli.ParseArgs>- Specified by:
withOptionEscapeCodein interfaceorg.refcodes.cli.ParseArgs
-
withProperties
A hook for you to providePropertiesprogrammatically. The later you addProperties, the lower their precedence.- Parameters:
aProperties- ThePropertiesto be added.- Returns:
- This instance as of the builder pattern to apply method chaining.
-
withResetEscapeCode
- Specified by:
withResetEscapeCodein interfaceorg.refcodes.cli.ParseArgs- Specified by:
withResetEscapeCodein interfaceorg.refcodes.mixin.ResetEscapeCodeAccessor.ResetEscapeCodeBuilder<org.refcodes.cli.ParseArgs>
-
withSecret
- Specified by:
withSecretin interfaceorg.refcodes.mixin.SecretAccessor.SecretBuilder<ApplicationProperties>
-
withSeparatorLnChar
- Specified by:
withSeparatorLnCharin interfaceorg.refcodes.cli.ArgsProcessorBuilder<org.refcodes.cli.ParseArgs>- Specified by:
withSeparatorLnCharin interfaceorg.refcodes.cli.ParseArgs
-
withShortOptionPrefix
- Specified by:
withShortOptionPrefixin interfaceorg.refcodes.cli.ParseArgs- Specified by:
withShortOptionPrefixin interfaceorg.refcodes.cli.ShortOptionPrefixAccessor.ShortOptionPrefixBuilder<org.refcodes.cli.ParseArgs>
-
withStandardOut
- Specified by:
withStandardOutin interfaceorg.refcodes.cli.ArgsProcessorBuilder<org.refcodes.cli.ParseArgs>- Specified by:
withStandardOutin interfaceorg.refcodes.cli.ParseArgs
-
withSyntaxMetrics
- Specified by:
withSyntaxMetricsin interfaceorg.refcodes.cli.ParseArgs- Specified by:
withSyntaxMetricsin interfaceorg.refcodes.cli.SyntaxMetricsAccessor.SyntaxMetricsBuilder<org.refcodes.cli.ParseArgs>
-
withSyntaxMetrics
public org.refcodes.cli.ParseArgs withSyntaxMetrics(org.refcodes.cli.SyntaxNotation aSyntaxNotation) - Specified by:
withSyntaxMetricsin interfaceorg.refcodes.cli.SyntaxMetricsAccessor.SyntaxMetricsBuilder<org.refcodes.cli.ParseArgs>
-
withTextBoxGrid
- Specified by:
withTextBoxGridin interfaceorg.refcodes.cli.ParseArgs- Specified by:
withTextBoxGridin interfaceorg.refcodes.textual.TextBoxGridAccessor.TextBoxGridBuilder<org.refcodes.cli.ParseArgs>
-
withTextBoxGrid
- Specified by:
withTextBoxGridin interfaceorg.refcodes.cli.ParseArgs- Specified by:
withTextBoxGridin interfaceorg.refcodes.textual.TextBoxGridAccessor.TextBoxGridBuilder<org.refcodes.cli.ParseArgs>
-
withTitle
- Specified by:
withTitlein interfaceorg.refcodes.cli.ParseArgs- Specified by:
withTitlein interfaceorg.refcodes.mixin.TitleAccessor.TitleBuilder<org.refcodes.cli.ParseArgs>
-
withUrl
- Specified by:
withUrlin interfaceorg.refcodes.properties.ResourceLoaderBuilder<ApplicationProperties>- Throws:
IOExceptionParseException
-
withUrl
public ApplicationProperties withUrl(URL aUrl, char... aDelimiters) throws IOException, ParseException - Specified by:
withUrlin interfaceorg.refcodes.properties.ResourceLoaderBuilder<ApplicationProperties>- Throws:
IOExceptionParseException
-
addResourceProperties
public org.refcodes.properties.ResourceProperties.ResourcePropertiesBuilder addResourceProperties(URL aUrl, char... aDelimiters) throws IOException, ParseException Reads theResourcePropertiesfrom the given data sink.- Parameters:
aUrl- The data sink from which to read theResourceProperties.aDelimiters- The delimiters in the properties file to identity a path delimiter.- Returns:
- the according
ResourceProperties.ResourcePropertiesBuilderinstance. - Throws:
IOException- Thrown in case there were problems reading the data sink.ParseException- Thrown in case there were problems parsing the data from the data sink.
-
addResourceProperties
public org.refcodes.properties.ResourceProperties.ResourcePropertiesBuilder addResourceProperties(Class<?> aResourceClass, String aFilePath, org.refcodes.runtime.ConfigLocator aConfigLocator, char... aDelimiters) throws IOException, ParseException Reads theResourceProperties.ResourcePropertiesBuilderfrom the given data sink.- Parameters:
aResourceClass- The class which's class loader is to take care of loading the properties (from inside a JAR).aFilePath- The data sink from which to read theResourceProperties.ResourcePropertiesBuilder.aConfigLocator- TheConfigLocatorspecifying where to seek for properties.aDelimiters- The delimiters in the properties file to identity a path delimiter.- Returns:
- the according
ResourceProperties.ResourcePropertiesBuilderinstance. - Throws:
IOException- Thrown in case there were problems reading the data sink.ParseException- Thrown in case there were problems parsing the data from the data sink.
-
addResourceProperties
public org.refcodes.properties.ResourceProperties.ResourcePropertiesBuilder addResourceProperties(File aFile, org.refcodes.runtime.ConfigLocator aConfigLocator, char... aDelimiters) throws IOException, ParseException Reads theResourceProperties.ResourcePropertiesBuilderfrom the given data sink.- Parameters:
aFile- The data sink from which to read theResourceProperties.ResourcePropertiesBuilder.aConfigLocator- TheConfigLocatorspecifying where to seek for properties.aDelimiters- The delimiters in the properties file to identity a path delimiter.- Returns:
- the according
ResourceProperties.ResourcePropertiesBuilderinstance. - Throws:
IOException- Thrown in case there were problems reading the data sink.ParseException- Thrown in case there were problems parsing the data from the data sink.
-
addResourceProperties
public org.refcodes.properties.ResourceProperties.ResourcePropertiesBuilder addResourceProperties(InputStream aInputStream, char[] aDelimiters) throws IOException, ParseException Reads theResourcePropertiesfrom the given data sink.- Parameters:
aInputStream- The data sink from which to read theResourceProperties.aDelimiters- The delimiters in the properties file to identity a path delimiter.- Returns:
- the according
ResourceProperties.ResourcePropertiesBuilderinstance. - Throws:
IOException- Thrown in case there were problems reading the data sink.ParseException- Thrown in case there were problems parsing the data from the data sink.
-
addProperties
protected void addProperties(org.refcodes.properties.Properties aProperties) Adds the properties.- Parameters:
aProperties- the properties
-
getProperties
protected org.refcodes.properties.Properties getProperties()- Overrides:
getPropertiesin classorg.refcodes.properties.AbstractPropertiesDecorator<org.refcodes.properties.Properties>
-