Class ModuleTextResourceProvider
java.lang.Object
ch.tocco.nice2.textresources.impl.providers.AbstractFileTextResourceProvider
ch.tocco.nice2.textresources.impl.providers.ModuleTextResourceProvider
- All Implemented Interfaces:
TextResourceProvider
@Component
public final class ModuleTextResourceProvider
extends AbstractFileTextResourceProvider
implements TextResourceProvider
Read all text-resources of the modules
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.tocco.nice2.textresources.impl.providers.AbstractFileTextResourceProvider
AbstractFileTextResourceProvider.Adder
Nested classes/interfaces inherited from interface ch.tocco.nice2.textresources.spi.TextResourceProvider
TextResourceProvider.ResourceAdder
-
Field Summary
Fields inherited from class ch.tocco.nice2.textresources.impl.providers.AbstractFileTextResourceProvider
filePattern, log
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Run throught your resorces.Methods inherited from class ch.tocco.nice2.textresources.impl.providers.AbstractFileTextResourceProvider
readResources, setRegexPrefixPart, setRegexSuffixPart
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.textresources.spi.TextResourceProvider
readResources
-
Constructor Details
-
ModuleTextResourceProvider
-
-
Method Details
-
readResoucesImpl
Description copied from class:AbstractFileTextResourceProvider
Run throught your resorces. If you want to read a file, callAbstractFileTextResourceProvider.Adder.readRecursive(ModelResource, String)
on the argument- Specified by:
readResoucesImpl
in classAbstractFileTextResourceProvider
- Parameters:
add
- the adder, non-null
-