Package com.jalios.jcms
Interface GenericProvider
-
- All Known Subinterfaces:
ThumbnailPolicyFilter
- All Known Implementing Classes:
AbstractMailProvider
,AbstractThumbnailPolicyFilterImpl
,BasicThumbnailPolicyFilter
,DefaultImageThumbnailPolicyFilter
,DefaultOpenOfficeThumbnailPolicyFilter
,DefaultOpenXmlThumbnailPolicyFilter
,DefaultThumbnailPolicyFilter
,LegacyMailProvider
public interface GenericProvider
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.lang.String
getLabel(java.lang.String lang)
returns the label of the providerdefault java.lang.String
getName()
returns the name of the providerdefault void
init(java.lang.String providerName, JProperties subProperties)
this method is called on provider's initializationdefault boolean
isInitialized()
indicate if the provider is correctly initialized
-
-
-
Method Detail
-
getName
default java.lang.String getName()
returns the name of the provider- Returns:
- the name of the provider
-
getLabel
default java.lang.String getLabel(java.lang.String lang)
returns the label of the provider- Parameters:
lang
- the language of the label- Returns:
- the label of the provider
-
init
default void init(java.lang.String providerName, JProperties subProperties)
this method is called on provider's initialization- Parameters:
providerName
- the name of the provider, from class configuration propertysubProperties
- the properties with the same prefix than the property describing the provider class
-
isInitialized
default boolean isInitialized()
indicate if the provider is correctly initialized- Returns:
- true if the provider is correctly initialized, false otherwise
-
-