org.apache.logging.log4j.core.config.plugins
Class ResolverUtil.NameIs

java.lang.Object
  extended by org.apache.logging.log4j.core.config.plugins.ResolverUtil.ResourceTest
      extended by org.apache.logging.log4j.core.config.plugins.ResolverUtil.NameIs
All Implemented Interfaces:
ResolverUtil.Test
Enclosing class:
ResolverUtil

public static class ResolverUtil.NameIs
extends ResolverUtil.ResourceTest

A Test that checks to see if the class name matches.


Constructor Summary
ResolverUtil.NameIs(String name)
           
 
Method Summary
 boolean matches(URI resource)
          Test for a resource.
 String toString()
           
 
Methods inherited from class org.apache.logging.log4j.core.config.plugins.ResolverUtil.ResourceTest
doesMatchClass, doesMatchResource, matches
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResolverUtil.NameIs

public ResolverUtil.NameIs(String name)
Method Detail

matches

public boolean matches(URI resource)
Description copied from interface: ResolverUtil.Test
Test for a resource.

Parameters:
resource - The URI to the resource.
Returns:
true if the resource matches.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 1999-2013 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.