ariba.util.i18n
Class CJKSupport

java.lang.Object
  extended by ariba.util.i18n.I18NSupport
      extended by ariba.util.i18n.CJKSupport
Direct Known Subclasses:
Support_ja, Support_ko, Support_zh_CN, Support_zh_TW

public abstract class CJKSupport
extends I18NSupport

Class CJKSupport is the support class for languages that has Chinese characters, namely, Simplified Chinese, Traditional Chinese, Japanese, Korean, whose suport class should extend this class.


Constructor Summary
CJKSupport()
          Class constructor.
 
Method Summary
 int decompositionFlag()
          Returns the decomposition flag
 int getStringWidth(java.lang.String string)
          Returns the width of the input string
 java.lang.String mimeHeaderEncoding()
          Returns the MIME header encoding string
 java.lang.String normalizeCatalog(java.lang.String string)
          Normalizes characters in the catalog string
 java.lang.String normalizeDate(java.lang.String string)
          Normalizes the input date format string
 java.lang.String normalizeMoney(java.lang.String string)
          Normalizes the input money format string
 java.lang.String normalizeNumber(java.lang.String string)
          Normalizes the input decimal string
 
Methods inherited from class ariba.util.i18n.I18NSupport
fileEncoding, isSupportedInEM, mimeBodyCharset, mimeBodyEncoding, normalizeMailText, readFileText, uiEncoding, widthInBytes, writeFileText
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CJKSupport

public CJKSupport()
Class constructor.

Method Detail

mimeHeaderEncoding

public java.lang.String mimeHeaderEncoding()
Description copied from class: I18NSupport
Returns the MIME header encoding string

Overrides:
mimeHeaderEncoding in class I18NSupport
Returns:
the encoding string

normalizeCatalog

public java.lang.String normalizeCatalog(java.lang.String string)
Description copied from class: I18NSupport
Normalizes characters in the catalog string

Overrides:
normalizeCatalog in class I18NSupport
Parameters:
string - the string to be normalized
Returns:
the normalized string

normalizeDate

public java.lang.String normalizeDate(java.lang.String string)
Description copied from class: I18NSupport
Normalizes the input date format string

Overrides:
normalizeDate in class I18NSupport
Parameters:
string - the string to be normalized
Returns:
the normalized string

normalizeNumber

public java.lang.String normalizeNumber(java.lang.String string)
Description copied from class: I18NSupport
Normalizes the input decimal string

Overrides:
normalizeNumber in class I18NSupport
Parameters:
string - the string to be normalized
Returns:
the normalized string

normalizeMoney

public java.lang.String normalizeMoney(java.lang.String string)
Description copied from class: I18NSupport
Normalizes the input money format string

Overrides:
normalizeMoney in class I18NSupport
Parameters:
string - the string to be normalized
Returns:
the normalized string

getStringWidth

public int getStringWidth(java.lang.String string)
Description copied from class: I18NSupport
Returns the width of the input string

Overrides:
getStringWidth in class I18NSupport
Parameters:
string - the string to get the width of
Returns:
the width of the string

decompositionFlag

public int decompositionFlag()
Description copied from class: I18NSupport
Returns the decomposition flag

Overrides:
decompositionFlag in class I18NSupport
Returns:
the decomposition flag


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.