org.semanticdesktop.aperture.datasource.config
Class SubstringCondition.EndsWith

java.lang.Object
  extended by org.semanticdesktop.aperture.datasource.config.SubstringCondition
      extended by org.semanticdesktop.aperture.datasource.config.SubstringCondition.EndsWith
Enclosing class:
SubstringCondition

public static class SubstringCondition.EndsWith
extends SubstringCondition


Nested Class Summary
 
Nested classes/interfaces inherited from class org.semanticdesktop.aperture.datasource.config.SubstringCondition
SubstringCondition.Contains, SubstringCondition.DoesNotContain, SubstringCondition.EndsWith, SubstringCondition.StartsWith
 
Field Summary
 
Fields inherited from class org.semanticdesktop.aperture.datasource.config.SubstringCondition
CONTAINS, DOES_NOT_CONTAIN, ENDS_WITH, STARTS_WITH
 
Constructor Summary
SubstringCondition.EndsWith()
           
 
Method Summary
 boolean test(String string, String substring)
          Tests the substring condition embodied by the implementing class on a String.
 Node toNode()
          Return the Value used to encode this SubstringCondition in an RDF model.
 String toString()
           
 
Methods inherited from class org.semanticdesktop.aperture.datasource.config.SubstringCondition
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubstringCondition.EndsWith

public SubstringCondition.EndsWith()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

test

public boolean test(String string,
                    String substring)
Description copied from class: SubstringCondition
Tests the substring condition embodied by the implementing class on a String.

Specified by:
test in class SubstringCondition
Parameters:
string - The String to test the substring condition on.
substring - The String to test the substring condition with.
Returns:
'true' when the string contains the substring in the way embodied by the implementing class, 'false' otherwise.

toNode

public Node toNode()
Description copied from class: SubstringCondition
Return the Value used to encode this SubstringCondition in an RDF model.

Specified by:
toNode in class SubstringCondition


Copyright © 2010 Aperture Development Team. All Rights Reserved.