Uses of Interface
com.github.rvesse.airline.parser.resources.ResourceLocator
Packages that use ResourceLocator
Package
Description
-
Uses of ResourceLocator in com.github.rvesse.airline.builder
Fields in com.github.rvesse.airline.builder with type parameters of type ResourceLocatorMethods in com.github.rvesse.airline.builder with parameters of type ResourceLocatorModifier and TypeMethodDescriptionUserAliasSourceBuilder.withLocator
(ResourceLocator locator) UserAliasSourceBuilder.withLocators
(ResourceLocator... locators) Method parameters in com.github.rvesse.airline.builder with type arguments of type ResourceLocatorModifier and TypeMethodDescriptionUserAliasSourceBuilder.withLocators
(List<ResourceLocator> locators) ParserBuilder.withUserAliases
(String filename, String prefix, List<ResourceLocator> locators, String... searchLocations) Deprecated. -
Uses of ResourceLocator in com.github.rvesse.airline.help.external.factories
Methods in com.github.rvesse.airline.help.external.factories with parameters of type ResourceLocatorModifier and TypeMethodDescriptionprotected InputStream
ExternalHelpFactory.openResource
(ResourceLocator[] resourceLocators, String resource) Opens the specified resource using the first resource locator that is able to open itprotected String[]
ExternalHelpFactory.parseParagraphs
(ResourceLocator[] resourceLocators, String resource, ParagraphsParser parser) Parses paragraphs from a resourceExternalHelpFactory.parseTabular
(ResourceLocator[] resourceLocators, 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 ResourceLocatorModifier and TypeMethodDescriptionprivate Properties
VersionSection.loadDataSource
(ResourceLocator[] resourceLocators, String source) Constructors in com.github.rvesse.airline.help.sections.common with parameters of type ResourceLocatorModifierConstructorDescriptionVersionSection
(String[] dataSources, ResourceLocator[] resourceLocators, String componentProperty, String versionProperty, String buildProperty, String dateProperty, String[] additionalProperties, String[] additionalTitles, boolean suppressErrors, boolean tabular) -
Uses of ResourceLocator in com.github.rvesse.airline.parser
Methods in com.github.rvesse.airline.parser that return ResourceLocatorModifier and TypeMethodDescriptionstatic ResourceLocator[]
ParserUtil.createResourceLocators
(Class<? extends ResourceLocator>[] locatorClasses) -
Uses of ResourceLocator in com.github.rvesse.airline.parser.aliases
Fields in com.github.rvesse.airline.parser.aliases declared as ResourceLocatorModifier and TypeFieldDescriptionstatic final ResourceLocator[]
UserAliasesSource.DEFAULT_LOCATORS
Default user alias source locatorsFields in com.github.rvesse.airline.parser.aliases with type parameters of type ResourceLocatorMethods in com.github.rvesse.airline.parser.aliases that return types with arguments of type ResourceLocatorModifier and TypeMethodDescriptionUserAliasesSource.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 ResourceLocatorModifierConstructorDescriptionUserAliasesSource
(String filename, String prefix, List<ResourceLocator> locators, List<String> searchLocations) -
Uses of ResourceLocator in com.github.rvesse.airline.parser.resources
Classes in com.github.rvesse.airline.parser.resources that implement ResourceLocatorModifier and TypeClassDescriptionclass
A resource locator that supports placeholders of the form${name}
which when found calls theAbstractPlaceholderLocator.resolvePlaceholder(String)
method to try and resolve the encountered placeholders.class
A resource locator that finds resources on the classpathclass
A resource locator that supports${NAME}
style placeholders to refer to environment variables to locate resources referred to by those environment variablesclass
A resource locator that does no resolution other than removing any leadingfile://
prefix i.e.class
A resource locator that allows the~/
or~\
alias (depending on your platforms file separator) to be used to refer to the users home directoryclass
A resource locator that allows references to JVM system properties using${property}
references to locate resources referred to in those propertiesclass
class
A 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 ResourceLocatorModifier and TypeClassDescriptionclass
A resource locator that finds resources usingClassGraph
that works in JPMS runtime contexts where the standardClasspathLocator
does not.
ParserBuilder.withUserAliases()
to access the user alias builder directly instead