com.basistech.util
Class ISO15924Utils

java.lang.Object
  extended by com.basistech.util.ISO15924Utils

public class ISO15924Utils
extends Object

Useful functions related to ISO15924 script codes.


Constructor Summary
ISO15924Utils()
          Callers can create objects of this type to avoid heap churn for memory inside of them.
 
Method Summary
 ISO15924 forString(String input)
          Examines a string, and returns an ISO15924 code corresponding to the contents.
static ISO15924 scriptForString(String input)
          Examines a string, and returns an ISO15924 code corresponding to the contents.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ISO15924Utils

public ISO15924Utils()
Callers can create objects of this type to avoid heap churn for memory inside of them.

Method Detail

scriptForString

public static ISO15924 scriptForString(String input)
Examines a string, and returns an ISO15924 code corresponding to the contents. In the case of a mixture, returns 'unknown'.

Parameters:
input - The input string.
Returns:
The resulting code.

forString

public ISO15924 forString(String input)
Examines a string, and returns an ISO15924 code corresponding to the contents. In the case of a mixture, returns 'unknown'.

Parameters:
input - The input string.
Returns:
The resulting code.


Copyright © 2004-2008 Basis Technology Corporation. All Rights Reserved.