Package ch.kk7.confij.source.any
Class AnyResourceAnyFormatAnySource
- java.lang.Object
-
- ch.kk7.confij.source.any.AnyResourceAnyFormatAnySource
-
- All Implemented Interfaces:
ServiceLoaderPriority,ConfijAnySource,ServiceLoaderSourceAware
@AutoService(ConfijAnySource.class) public class AnyResourceAnyFormatAnySource extends java.lang.Object implements ConfijAnySource, ServiceLoaderPriority, ServiceLoaderSourceAware
An 'any'-resource which dynamically combines a stringifyable source (like a file) with a format (like properties).- See Also:
ConfijAnyResource,ConfijFormat
-
-
Field Summary
-
Fields inherited from interface ch.kk7.confij.common.ServiceLoaderPriority
DEFAULT_PRIORITY
-
Fields inherited from interface ch.kk7.confij.source.any.ServiceLoaderSourceAware
supportedFormats, supportedResources
-
-
Constructor Summary
Constructors Constructor Description AnyResourceAnyFormatAnySource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<ConfijSource>fromURI(java.lang.String pathTemplate)intgetPriority()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ch.kk7.confij.source.any.ServiceLoaderSourceAware
getDynamicFormat, getDynamicResource
-
-
-
-
Method Detail
-
getPriority
public int getPriority()
- Specified by:
getPriorityin interfaceServiceLoaderPriority
-
fromURI
public java.util.Optional<ConfijSource> fromURI(java.lang.String pathTemplate)
- Specified by:
fromURIin interfaceConfijAnySource
-
-