4D S.A. Copyright 2001

j4d.open
Class opStd

java.lang.Object
  |
  +--j4d.open.opStd
All Implemented Interfaces:
opConstants
Direct Known Subclasses:
opProcess

public class opStd
extends java.lang.Object
implements opConstants

opStd object provides the support for basic functions such as Unicode ASCII conversion.


Field Summary
protected  java.lang.String CharSet_4D_Server
           
static char[] TabConv
           
protected static java.lang.String[] VM_CharSetSupported
           
 
Fields inherited from interface j4d.open.opConstants
ACCESS_PRIVILEGE_VIOLATION, ALLOW_4D_CLIENT_ONLY_IS_CHECKED, ALPHANUMERIC, ALPHANUMERIC_ARRAY, ALPHANUMERIC2, AND, API_NOT_COMPATIBLE_WITH_SERVER, BACKUP_IN_PROGRESS, BAD_SEARCH_TABLE_DEFINITION, BAD_SORT_TABLE_DEFINITION, BLOB, BLOB_ARRAY, BLOBSTA, BOOLEAN, BOOLEAN_ARRAY, CHARSET_PROBLEM, CONNECTION_DO_ERR, CONNECTION_LL1_ERR, CONNECTION_LL2_ERR, CONNECTION_LL3_ERR, CONNECTION_LL4_ERR, CONTAIN, DATA_FIELD_PROBLEM, DATE, DATE_ARRAY, DISCONNECTION_ERR, DOES_NOT_CONTAIN, DUPLICATE_KEY_INDEX, EQUAL, EXCEPT, FIELD_IS_NOT_INDEXED, FIELD_IS_NOT_RELATED_TO, FIELD_NUMBER_IS_OUT_OF_RANGE, GREATER_THAN, GREATER_THAN_OR_EQUAL, INDEX_PAGE_OUT_OF_RANGE, INTEGER, INTEGER_ARRAY, INVALID_FIELD_TABLE_DEFINITION, INVALID_FIELD_TYPE, INVALID_INDEX_PAGE, INVALID_PASSWORD, INVALID_RECORD_ADDRESS, INVALID_RECORD_NUMBER, INVALID_RECORD_STRUCTURE, INVALID_SELECTED_RECORD_NUMBER, INVALID_STRUCTURE, INVALID_TYPE_REQUESTED, LESS_THAN, LESS_THAN_OR_EQUAL, LIMIT_OF_DEMO, LONGINTEGER, LONGINTEGER_ARRAY, MAXIMUM_NUMBER_OF_RECORDS_REACHED, NO_ARRAY_BLOB, NO_CURRENT_RECORD, NO_MORE_SPACE_AVAILABLE_TO_SAVE_RECORD, NONE, NOT_EQUAL, OLD_SERVER_ERR, OR, OTHER_RECORD_ARE_RELATED, PICTURE, PICTURE_ARRAY, PREPARE_LOGIN_ERR, PROCESS_COULD_NOT_BE_STARTED, REAL, REAL_ARRAY, RECORD_ALLREADY_DELETED, RECORD_COULD_NOT_BE_LOADED, RECORD_LOCKED_DURING_AUTOMATIC_DELETION, RECORD_NOT_IN_SELECTION, RECORD_OUT_OF_RANGE, RECURSIVE_INTEGRITY, SELECTION_DOES_NOT_EXIST, SLEEPING_PROCESS_ERR, STACK_IS_FULL, START_PROCESS_ERR, STOP_PROCESS_ERR, STRUCTURE_IS_LOCKED, SUBTABLE, TABLE_NUMBER_IS_OUT_OF_RANGE, TEXT, TEXT_ARRAY, TEXTSTA, TIME, TIME_ARRAY, TIME_OUT_EXPIRED, TIMEOUT, TRANSACTION_CANCELLED_DUPLICATE_KEY, TRANSACTION_INDEX_PAGE_COULD_NOT_BE_LOADED, TRIC_RESSOURCES_ARE_NOT_THE_SAME, UNABLE_TO_CLEAR_SELECTION, UNABLE_TO_OPEN_SOCKET_ERR, UNKNOWN_USER, UNSPECIFIED_CURRENT_RECORD, UNSPECIFIED_FIELD, UNSPECIFIED_FIELD_NAME, UNSPECIFIED_LOP, UNSPECIFIED_PROCESS_NAME, UNSPECIFIED_RECORD, UNSPECIFIED_RECORD_IN_SELECTION, UNSPECIFIED_SELECTION_NAME, UNSPECIFIED_SEMAPHORE_NAME, UNSPECIFIED_SET_NAME, UNSPECIFIED_SOP, UNSPECIFIED_TABLE, UNSPECIFIED_TABLE_NAME, UNSPECIFIED_TARGET_TABLE, VINTERPROCESS, VPROCESS
 
Constructor Summary
opStd()
           
 
Method Summary
static java.lang.String AsciiToUnicode_Old(byte[] Chain)
           
 java.lang.String AsciiToUnicode(short len, byte[] Chain)
           
 void setCharSet(java.lang.String local)
          The setCharSet method is used to use other characters set than MacRoman. ex : MyProcess.setCharset("SJIS") // Japonese characters This command is no longer relevant for the 4D Server 6.7.1 and after default value : "MacRoman" refer to Sun documentation to find the appropriate parameter
static byte[] UnicodeToAscii_Old(java.lang.String Chain)
           
 byte[] UnicodeToAscii(java.lang.String Chain)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CharSet_4D_Server

protected java.lang.String CharSet_4D_Server

VM_CharSetSupported

protected static java.lang.String[] VM_CharSetSupported

TabConv

public static char[] TabConv
Constructor Detail

opStd

public opStd()
Method Detail

AsciiToUnicode_Old

public static java.lang.String AsciiToUnicode_Old(byte[] Chain)

UnicodeToAscii_Old

public static byte[] UnicodeToAscii_Old(java.lang.String Chain)

setCharSet

public void setCharSet(java.lang.String local)
The setCharSet method is used to use other characters set than MacRoman. ex : MyProcess.setCharset("SJIS") // Japonese characters This command is no longer relevant for the 4D Server 6.7.1 and after default value : "MacRoman" refer to Sun documentation to find the appropriate parameter
Parameters:
String - defining the Charset

AsciiToUnicode

public java.lang.String AsciiToUnicode(short len,
                                       byte[] Chain)
                                throws opException

UnicodeToAscii

public byte[] UnicodeToAscii(java.lang.String Chain)
                      throws opException

4D S.A. Copyright 2001

4D S.A.