Uses of Interface
com.github.rvesse.airline.parser.resources.ResourceLocator
-
-
Uses of ResourceLocator in com.github.rvesse.airline.annotations
Methods in com.github.rvesse.airline.annotations that return types with arguments of type ResourceLocator Modifier and Type Method Description java.lang.Class<? extends ResourceLocator>[]userAliasLocators()Sets the user alias locator classes to be used -
Uses of ResourceLocator in com.github.rvesse.airline.annotations.help
Methods in com.github.rvesse.airline.annotations.help that return types with arguments of type ResourceLocator Modifier and Type Method Description java.lang.Class<? extends ResourceLocator>[]sourceLocators()Resource locators used to find the properties files specified inVersion.sources() -
Uses of ResourceLocator in com.github.rvesse.airline.annotations.help.external
Methods in com.github.rvesse.airline.annotations.help.external that return types with arguments of type ResourceLocator Modifier and Type Method Description java.lang.Class<? extends ResourceLocator>[]sourceLocators()Resource locators used to find the resources specified inExternalDiscussion.source()java.lang.Class<? extends ResourceLocator>[]sourceLocators()Resource locators used to find the resources specified inExternalExamples.exampleSource()andExternalExamples.descriptionSource()java.lang.Class<? extends ResourceLocator>[]sourceLocators()Resource locators used to find the resources specified inExternalExitCodes.source()java.lang.Class<? extends ResourceLocator>[]sourceLocators()Resource locators used to find the resources specified inExternalProse.source()java.lang.Class<? extends ResourceLocator>[]sourceLocators()Resource locators used to find the resources specified inExternalTabularExamples.source() -
Uses of ResourceLocator in com.github.rvesse.airline.builder
Fields in com.github.rvesse.airline.builder with type parameters of type ResourceLocator Modifier and Type Field Description private java.util.List<ResourceLocator>UserAliasSourceBuilder. locatorsMethods in com.github.rvesse.airline.builder with parameters of type ResourceLocator Modifier and Type Method Description UserAliasSourceBuilder<C>UserAliasSourceBuilder. withLocator(ResourceLocator locator)UserAliasSourceBuilder<C>UserAliasSourceBuilder. withLocators(ResourceLocator... locators)Method parameters in com.github.rvesse.airline.builder with type arguments of type ResourceLocator Modifier and Type Method Description UserAliasSourceBuilder<C>UserAliasSourceBuilder. withLocators(java.util.List<ResourceLocator> locators)ParserBuilder<C>ParserBuilder. withUserAliases(java.lang.String filename, java.lang.String prefix, java.util.List<ResourceLocator> locators, java.lang.String... searchLocations)Deprecated.UseParserBuilder.withUserAliases()to access the user alias builder directly instead -
Uses of ResourceLocator in com.github.rvesse.airline.help.external.factories
Methods in com.github.rvesse.airline.help.external.factories with parameters of type ResourceLocator Modifier and Type Method Description protected java.io.InputStreamExternalHelpFactory. openResource(ResourceLocator[] resourceLocators, java.lang.String resource)Opens the specified resource using the first resource locator that is able to open itprotected java.lang.String[]ExternalHelpFactory. parseParagraphs(ResourceLocator[] resourceLocators, java.lang.String resource, ParagraphsParser parser)Parses paragraphs from a resourceprotected java.util.List<java.util.List<java.lang.String>>ExternalHelpFactory. parseTabular(ResourceLocator[] resourceLocators, java.lang.String resource, TabularParser parser)Parses tabular data from a resource -
Uses of ResourceLocator in com.github.rvesse.airline.help.sections.common
Methods in com.github.rvesse.airline.help.sections.common with parameters of type ResourceLocator Modifier and Type Method Description private java.util.PropertiesVersionSection. loadDataSource(ResourceLocator[] resourceLocators, java.lang.String source)Constructors in com.github.rvesse.airline.help.sections.common with parameters of type ResourceLocator Constructor Description VersionSection(java.lang.String[] dataSources, ResourceLocator[] resourceLocators, java.lang.String componentProperty, java.lang.String versionProperty, java.lang.String buildProperty, java.lang.String dateProperty, java.lang.String[] additionalProperties, java.lang.String[] additionalTitles, boolean suppressErrors, boolean tabular) -
Uses of ResourceLocator in com.github.rvesse.airline.parser
Methods in com.github.rvesse.airline.parser that return ResourceLocator Modifier and Type Method Description static ResourceLocator[]ParserUtil. createResourceLocators(java.lang.Class<? extends ResourceLocator>[] locatorClasses) -
Uses of ResourceLocator in com.github.rvesse.airline.parser.aliases
Fields in com.github.rvesse.airline.parser.aliases declared as ResourceLocator Modifier and Type Field Description static ResourceLocator[]UserAliasesSource. DEFAULT_LOCATORSDefault user alias source locatorsFields in com.github.rvesse.airline.parser.aliases with type parameters of type ResourceLocator Modifier and Type Field Description private java.util.List<ResourceLocator>UserAliasesSource. locatorsMethods in com.github.rvesse.airline.parser.aliases that return types with arguments of type ResourceLocator Modifier and Type Method Description java.util.List<ResourceLocator>UserAliasesSource. getLocators()Gets the locators that are used to resolve search locations to actual usable locationsConstructor parameters in com.github.rvesse.airline.parser.aliases with type arguments of type ResourceLocator Constructor Description UserAliasesSource(java.lang.String filename, java.lang.String prefix, java.util.List<ResourceLocator> locators, java.util.List<java.lang.String> searchLocations) -
Uses of ResourceLocator in com.github.rvesse.airline.parser.resources
Classes in com.github.rvesse.airline.parser.resources that implement ResourceLocator Modifier and Type Class Description classAbstractPlaceholderLocatorA resource locator that supports placeholders of the form${name}which when found calls theAbstractPlaceholderLocator.resolvePlaceholder(String)method to try and resolve the encountered placeholders.classClasspathLocatorA resource locator that finds resources on the classpathclassEnvVarLocatorA resource locator that supports${NAME}style placeholders to refer to environment variables to locate resources referred to by those environment variablesclassFileLocatorA resource locator that does no resolution other than removing any leadingfile://prefix i.e.classHomeDirectoryLocatorA resource locator that allows the~/or~\alias (depending on your platforms file separator) to be used to refer to the users home directoryclassJvmSystemPropertyLocatorA resource locator that allows references to JVM system properties using${property}references to locate resources referred to in those propertiesclassModulePathLocatorclassWorkingDirectoryLocatorA user alias locator that allows the./or.\alias (depending on your platforms file separator) to be used to refer to the current working directory -
Uses of ResourceLocator in com.github.rvesse.airline.parser.resources.jpms
Classes in com.github.rvesse.airline.parser.resources.jpms that implement ResourceLocator Modifier and Type Class Description classJpmsResourceLocatorA resource locator that finds resources usingClassGraphthat works in JPMS runtime contexts where the standardClasspathLocatordoes not.
-