Interface IResourceNameIterator

  • All Superinterfaces:
    java.util.Iterator<java.lang.String>
    All Known Implementing Classes:
    EmptyResourceNameIterator, ResourceNameIterator

    public interface IResourceNameIterator
    extends java.util.Iterator<java.lang.String>
    Contains the logic to locate a resource based on a path, style (see Session), variation, locale and extension strings.
    Author:
    Juergen Donnerstag
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getExtension()
      Get the exact filename extension used for the latest resource path.
      java.util.Locale getLocale()
      Get the exact Locale which has been used for the latest resource path.
      java.lang.String getStyle()
      Get the exact Style which has been used for the latest resource path.
      java.lang.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

        java.util.Locale getLocale()
        Get the exact Locale which has been used for the latest resource path.
        Returns:
        current Locale
      • getStyle

        java.lang.String getStyle()
        Get the exact Style which has been used for the latest resource path.
        Returns:
        current Style
      • getVariation

        java.lang.String getVariation()
        Get the exact Variation which has been used for the latest resource path.
        Returns:
        current Variation
      • getExtension

        java.lang.String getExtension()
        Get the exact filename extension used for the latest resource path.
        Returns:
        current filename extension