org.apache.wicket.core.util.resource.locator
Interface IResourceNameIterator

All Superinterfaces:
Iterator<String>
All Known Implementing Classes:
EmptyResourceNameIterator, ResourceNameIterator

public interface IResourceNameIterator
extends Iterator<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
 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
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


Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.