public String getSQL92LikePattern ( ) throws IllegalArgumentException { if ( escape . length ( ) != 1 ) { throw new IllegalArgumentException ( "Like Pattern --> escape char should be of length exactly 1" ) ; } if ( wildcardSingle . length ( ) != 1 ) { throw new IllegalArgumentException ( "Like Pattern --> wildcardSingle char should be of length exactly 1" ) ; } if ( wildcardMulti . length ( ) != 1 ) { throw new IllegalArgumentException ( "Like Pattern --> wildcardMulti char should be of length exactly 1" ) ; } return LikeFilterImpl . convertToSQL92 ( escape . charAt ( 0 ) , wildcardMulti . charAt ( 0 ) , wildcardSingle . charAt ( 0 ) , isMatchingCase ( ) , pattern ) ; }
See convertToSQL92 .