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_PRIORITYFields inherited from interface ch.kk7.confij.source.any.ServiceLoaderSourceAware
supportedFormats, supportedResources -
Constructor Summary
Constructors Constructor Description AnyResourceAnyFormatAnySource() -
Method Summary
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, waitMethods inherited from interface ch.kk7.confij.source.any.ServiceLoaderSourceAware
getDynamicFormat, getDynamicResource
-
Constructor Details
-
AnyResourceAnyFormatAnySource
public AnyResourceAnyFormatAnySource()
-
-
Method Details
-
getPriority
public int getPriority()- Specified by:
getPriorityin interfaceServiceLoaderPriority
-
fromURI
- Specified by:
fromURIin interfaceConfijAnySource
-