Interface IResourceNameIterator
-
- All Known Implementing Classes:
EmptyResourceNameIterator
,ResourceNameIterator
public interface IResourceNameIterator extends Iterator<String>
Contains the logic to locate a resource based on a path, style (seeSession
), variation, locale and extension strings.- Author:
- Juergen Donnerstag
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getExtension()
Get the exact filename extension used for the latest resource path.Locale
getLocale()
Get the exact Locale which has been used for the latest resource path.String
getStyle()
Get the exact Style which has been used for the latest resource path.String
getVariation()
Get the exact Variation which has been used for the latest resource path.-
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
-
-
-
Method Detail
-
getLocale
Locale getLocale()
Get the exact Locale which has been used for the latest resource path.- Returns:
- current Locale
-
getStyle
String getStyle()
Get the exact Style which has been used for the latest resource path.- Returns:
- current Style
-
getVariation
String getVariation()
Get the exact Variation which has been used for the latest resource path.- Returns:
- current Variation
-
getExtension
String getExtension()
Get the exact filename extension used for the latest resource path.- Returns:
- current filename extension
-
-