org.neo4j.helpers
Class Service.CaseInsensitiveService

java.lang.Object
  extended by org.neo4j.helpers.Service
      extended by org.neo4j.helpers.Service.CaseInsensitiveService
Enclosing class:
Service

public abstract static class Service.CaseInsensitiveService
extends Service

A base class for services, similar to Service, that compares keys using case insensitive comparison instead of exact comparison.

Author:
Tobias Ivarsson

Nested Class Summary
 
Nested classes/interfaces inherited from class org.neo4j.helpers.Service
Service.CaseInsensitiveService, Service.Implementation
 
Constructor Summary
protected Service.CaseInsensitiveService(String key, String... altKeys)
          Create a new instance of a service implementation identified with the specified key(s).
 
Method Summary
 boolean matches(String key)
           
 
Methods inherited from class org.neo4j.helpers.Service
equals, getKeys, hashCode, load, load, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Service.CaseInsensitiveService

protected Service.CaseInsensitiveService(String key,
                                         String... altKeys)
Create a new instance of a service implementation identified with the specified key(s).

Parameters:
key - the main key for identifying this service implementation
altKeys - alternative spellings of the identifier of this service implementation
Method Detail

matches

public final boolean matches(String key)
Overrides:
matches in class Service


Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.