org.semanticdesktop.aperture.datasource.config
Class SubstringCondition.EndsWith
java.lang.Object
org.semanticdesktop.aperture.datasource.config.SubstringCondition
org.semanticdesktop.aperture.datasource.config.SubstringCondition.EndsWith
- Enclosing class:
- SubstringCondition
public static class SubstringCondition.EndsWith
- extends SubstringCondition
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()
|
SubstringCondition.EndsWith
public SubstringCondition.EndsWith()
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.