com.tapina.robe.swi
Class Territory

java.lang.Object
  extended bycom.tapina.robe.runtime.Block
      extended bycom.tapina.robe.runtime.DataBlock
          extended bycom.tapina.robe.module.Module
              extended bycom.tapina.robe.swi.SWIHandler
                  extended bycom.tapina.robe.swi.Territory

public final class Territory
extends SWIHandler

Created by IntelliJ IDEA. User: gareth Date: Sep 9, 2003 Time: 7:51:48 AM


Field Summary
static int ACCENT
           
static int ALPHABETIC
           
static int BACKWARDS
           
static int CONTROL_CODE
           
static int DIGIT
           
static int FORWARDS
           
static int HEX_DIGIT
           
static int LOWERCASE
           
static int PUNCTUATION
           
static int UPPERCASE
           
static int WHITE_SPACE
           
 
Fields inherited from class com.tapina.robe.swi.SWIHandler
log, METHOD_PARAMETERS
 
Method Summary
 void CharacterPropertyTable(Environment env)
           
 void ConvertDateAndTime(Environment env)
          Format the date and time in the given territory
 java.lang.String convertDateAndTime(int territoryNumber, java.util.Date date, java.lang.String format)
           
static int getBase()
           
 java.util.BitSet getCharacterPropertyTable(int territoryNumber, int property)
           
static Territory getInstance()
           
 char[] getLowerCaseTable(int territoryNumber)
          Return an array of characters which are the lower-case representations of the first 256 characters in the default character set for the given territory.
static java.lang.reflect.Method getMethod(java.lang.Integer offset)
           
 char[] getUpperCaseTable(int territoryNumber)
          Return an array of characters which are the upper-case representations of the first 256 characters in the default character set for the given territory.
 void LowerCaseTable(Environment env)
          Return an data block of bytes which are the lower-case representations of the first 256 characters in the default character set for the given territory.
static void main(java.lang.String[] args)
           
 void UpperCaseTable(Environment env)
          Return an data block of bytes which are the upper-case representations of the first 256 characters in the default character set for the given territory.
 
Methods inherited from class com.tapina.robe.module.Module
getBytes, getHelp, getName, getSize, setSize
 
Methods inherited from class com.tapina.robe.runtime.Block
getAddress, setAddress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTROL_CODE

public static final int CONTROL_CODE
See Also:
Constant Field Values

UPPERCASE

public static final int UPPERCASE
See Also:
Constant Field Values

LOWERCASE

public static final int LOWERCASE
See Also:
Constant Field Values

ALPHABETIC

public static final int ALPHABETIC
See Also:
Constant Field Values

PUNCTUATION

public static final int PUNCTUATION
See Also:
Constant Field Values

WHITE_SPACE

public static final int WHITE_SPACE
See Also:
Constant Field Values

DIGIT

public static final int DIGIT
See Also:
Constant Field Values

HEX_DIGIT

public static final int HEX_DIGIT
See Also:
Constant Field Values

ACCENT

public static final int ACCENT
See Also:
Constant Field Values

FORWARDS

public static final int FORWARDS
See Also:
Constant Field Values

BACKWARDS

public static final int BACKWARDS
See Also:
Constant Field Values
Method Detail

getInstance

public static Territory getInstance()

getBase

public static int getBase()

getMethod

public static java.lang.reflect.Method getMethod(java.lang.Integer offset)
                                          throws java.lang.NoSuchMethodException
Throws:
java.lang.NoSuchMethodException

ConvertDateAndTime

public final void ConvertDateAndTime(Environment env)
Format the date and time in the given territory

Parameters:
env -

convertDateAndTime

public final java.lang.String convertDateAndTime(int territoryNumber,
                                                 java.util.Date date,
                                                 java.lang.String format)

LowerCaseTable

public final void LowerCaseTable(Environment env)
Return an data block of bytes which are the lower-case representations of the first 256 characters in the default character set for the given territory.

Parameters:
env -

UpperCaseTable

public final void UpperCaseTable(Environment env)
Return an data block of bytes which are the upper-case representations of the first 256 characters in the default character set for the given territory.

Parameters:
env -

CharacterPropertyTable

public final void CharacterPropertyTable(Environment env)

getCharacterPropertyTable

public final java.util.BitSet getCharacterPropertyTable(int territoryNumber,
                                                        int property)

getLowerCaseTable

public final char[] getLowerCaseTable(int territoryNumber)
Return an array of characters which are the lower-case representations of the first 256 characters in the default character set for the given territory.

Parameters:
territoryNumber - or -1 for the current territory
Returns:
array of lower-case characters

getUpperCaseTable

public final char[] getUpperCaseTable(int territoryNumber)
Return an array of characters which are the upper-case representations of the first 256 characters in the default character set for the given territory.

Parameters:
territoryNumber - or -1 for the current territory
Returns:
array of upper-case characters

main

public static void main(java.lang.String[] args)


Copyright © 2003-2005 . All Rights Reserved.