de.smartics.properties.spi.config.domain.key
Interface PropertiesResourceMatcher

Package class diagram package PropertiesResourceMatcher
All Superinterfaces:
Serializable
All Known Implementing Classes:
PathMatcher

public interface PropertiesResourceMatcher
     
     
extends Serializable

Allows to match resource identifiers, usually pathes to properties files within an archive, to map them to a configuration key.


Method Summary
 ConfigurationKey<?> getConfigurationKey()
          Returns the configuration key the matcher is responsible for.
 boolean match(String id)
          Matches the identifier with the matchers algorithm.
 

Method Detail

getConfigurationKey

ConfigurationKey<?> getConfigurationKey()
Returns the configuration key the matcher is responsible for.

Returns:
the configuration key the matcher is responsible for.

match

boolean match(String id)
Matches the identifier with the matchers algorithm.

Parameters:
id - the identifier of the resource.
Returns:
true if the matcher matches the id, false otherwise.


Copyright © 2012-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.