com.inet.jortho
Class Utils

java.lang.Object
  extended by com.inet.jortho.Utils

public class Utils
extends java.lang.Object


Constructor Summary
Utils()
           
 
Method Summary
static java.lang.String removeUnicodeQuotation(java.lang.String word)
          Check and replace Unicode variants of quotation marks and hyphens.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utils

public Utils()
Method Detail

removeUnicodeQuotation

public static java.lang.String removeUnicodeQuotation(java.lang.String word)
Check and replace Unicode variants of quotation marks and hyphens. Unicode characters for general punctuation can be seen here: http://www.unicodemap.org/range/40/General_Punctuation/

Parameters:
word - the word that should be check. It can not be null.
Returns:
A new string of the same length as the original.


Copyright © 2005 - 2012 i-net software. All Rights Reserved.