deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.io.datastore.sql.wherebuilder
Interface SpecialCharStringPart

All Known Implementing Classes:
PlainText, SingleChar, WildCard

public interface SpecialCharStringPart

Part of a SpecialCharString.

Version:
$Revision: 6588 $, $Date: 2007-04-11 17:31:29 +0200 (Mi, 11 Apr 2007) $
Author:
Markus Schneider , last edited by: $Author: mschneider $

Method Summary
 java.lang.String toSQLStyle()
          Returns an encoding that is suitable for arguments of "IS LIKE"-clauses in SQL.
 java.lang.String toSQLStyle(boolean toLowerCase)
          Returns an encoding that is suitable for arguments of "IS LIKE"-clauses in SQL.
 

Method Detail

toSQLStyle

java.lang.String toSQLStyle()
Returns an encoding that is suitable for arguments of "IS LIKE"-clauses in SQL.

This means:

Returns:
encoded string

toSQLStyle

java.lang.String toSQLStyle(boolean toLowerCase)
Returns an encoding that is suitable for arguments of "IS LIKE"-clauses in SQL.

This means:

Parameters:
toLowerCase - true means: convert to lowercase letters
Returns:
encoded string

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org