org.sourceforge.beanindex
Class Constants
java.lang.Object
org.sourceforge.beanindex.Constants
- public final class Constants
- extends java.lang.Object
Constants used throughout the BeanIndex code
- Author:
- Sakthivel Muthusamy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BASE_DIR
public static final java.lang.String BASE_DIR
- Base directory.
- See Also:
- Constant Field Values
WORK_DIR
public static final java.lang.String WORK_DIR
- See Also:
- Constant Field Values
DEPLOY_DIR
public static final java.lang.String DEPLOY_DIR
- See Also:
- Constant Field Values
BCKP_DIR
public static final java.lang.String BCKP_DIR
- See Also:
- Constant Field Values
DICT_DAT_FILE
public static final java.lang.String DICT_DAT_FILE
- See Also:
- Constant Field Values
DICT_LCX_FILE
public static final java.lang.String DICT_LCX_FILE
- See Also:
- Constant Field Values
DICT_SRX_FILE
public static final java.lang.String DICT_SRX_FILE
- See Also:
- Constant Field Values
INVX_DAT_EXTN
public static final java.lang.String INVX_DAT_EXTN
- See Also:
- Constant Field Values
INVX_LCX_EXTN
public static final java.lang.String INVX_LCX_EXTN
- See Also:
- Constant Field Values
REPO_DAT_FILE
public static final java.lang.String REPO_DAT_FILE
- See Also:
- Constant Field Values
REPO_LCX_FILE
public static final java.lang.String REPO_LCX_FILE
- See Also:
- Constant Field Values
REPO_BNF_FILE
public static final java.lang.String REPO_BNF_FILE
- See Also:
- Constant Field Values
VM_SWAP_FILE
public static final java.lang.String VM_SWAP_FILE
- See Also:
- Constant Field Values
LGL_AND
public static final java.lang.String LGL_AND
- See Also:
- Constant Field Values
LGL_OR
public static final java.lang.String LGL_OR
- See Also:
- Constant Field Values
LGL_NOT
public static final java.lang.String LGL_NOT
- See Also:
- Constant Field Values
LGL_LBRACKET
public static final java.lang.String LGL_LBRACKET
- See Also:
- Constant Field Values
LGL_RBRACKET
public static final java.lang.String LGL_RBRACKET
- See Also:
- Constant Field Values
PREC_DATA
public static final int PREC_DATA
- See Also:
- Constant Field Values
PREC_OR
public static final int PREC_OR
- See Also:
- Constant Field Values
PREC_AND
public static final int PREC_AND
- See Also:
- Constant Field Values
PREC_NOT
public static final int PREC_NOT
- See Also:
- Constant Field Values
PREC_LBRKT
public static final int PREC_LBRKT
- See Also:
- Constant Field Values
PREC_RBRKT
public static final int PREC_RBRKT
- See Also:
- Constant Field Values
CONCAT_STR
public static final java.lang.String CONCAT_STR
- See Also:
- Constant Field Values
OPEN_READ
public static final java.lang.String OPEN_READ
- See Also:
- Constant Field Values
OPEN_READWRITE
public static final java.lang.String OPEN_READWRITE
- See Also:
- Constant Field Values
SYS_DATA
public static final java.lang.String SYS_DATA
- See Also:
- Constant Field Values
UNKOWN_ERR
public static final java.lang.String UNKOWN_ERR
- See Also:
- Constant Field Values
THREAD_SYNC_REQD
public static final java.lang.String THREAD_SYNC_REQD
- See Also:
- Constant Field Values
THREAD_DATA_READY
public static final java.lang.String THREAD_DATA_READY
- See Also:
- Constant Field Values
BYTE
public static final byte BYTE
- See Also:
- Constant Field Values
SHORT
public static final byte SHORT
- See Also:
- Constant Field Values
CHAR
public static final byte CHAR
- See Also:
- Constant Field Values
INT
public static final byte INT
- See Also:
- Constant Field Values
LONG
public static final byte LONG
- See Also:
- Constant Field Values
FLOAT
public static final byte FLOAT
- See Also:
- Constant Field Values
DOUBLE
public static final byte DOUBLE
- See Also:
- Constant Field Values
BOOLEAN
public static final byte BOOLEAN
- See Also:
- Constant Field Values
ARRAY
public static final byte ARRAY
- See Also:
- Constant Field Values
OBJECT
public static final byte OBJECT
- See Also:
- Constant Field Values
OBJECT_END
public static final byte OBJECT_END
- See Also:
- Constant Field Values
STRING
public static final byte STRING
- See Also:
- Constant Field Values
DATE
public static final byte DATE
- See Also:
- Constant Field Values
BYTE_WRPR
public static final byte BYTE_WRPR
- See Also:
- Constant Field Values
SHORT_WRPR
public static final byte SHORT_WRPR
- See Also:
- Constant Field Values
CHAR_WRPR
public static final byte CHAR_WRPR
- See Also:
- Constant Field Values
INT_WRPR
public static final byte INT_WRPR
- See Also:
- Constant Field Values
LONG_WRPR
public static final byte LONG_WRPR
- See Also:
- Constant Field Values
FLOAT_WRPR
public static final byte FLOAT_WRPR
- See Also:
- Constant Field Values
DOUBLE_WRPR
public static final byte DOUBLE_WRPR
- See Also:
- Constant Field Values
BOOLEAN_WRPR
public static final byte BOOLEAN_WRPR
- See Also:
- Constant Field Values
Constants
public Constants()
isReserved
public static boolean isReserved(java.lang.String phrase)
- This method checks if the phrase is one of the reserved words . Like AND
OR NOT
- Parameters:
phrase
-
- Returns:
- boolean
isLogicalOP
public static boolean isLogicalOP(java.lang.String phrase)
- This method checks if the phrase is one of the logical operator
- Parameters:
phrase
-
- Returns:
- boolean
isIndexable
public static boolean isIndexable(java.lang.reflect.Field field)
- Parameters:
field
-
- Returns:
- boolean
isArrayFieldType
public static boolean isArrayFieldType(java.lang.reflect.Field field)
- Parameters:
field
-
- Returns:
- boolean
isArrayFieldType
public static boolean isArrayFieldType(java.lang.Class clazz)
- Parameters:
clazz
-
- Returns:
- boolean
getArrayType
public static byte getArrayType(java.lang.reflect.Field field)
- Parameters:
field
-
- Returns:
- byte
getArrayType
public static byte getArrayType(java.lang.Class clazz)
- Parameters:
clazz
-
- Returns:
- byte
getFieldType
public static byte getFieldType(java.lang.Class clazz)
- Parameters:
clazz
-
- Returns:
- byte
getFieldTypeClass
public static java.lang.Class getFieldTypeClass(byte fieldType)
- Parameters:
fieldType
-
- Returns:
- Class
getBeanIndexCustomFieldType
public static byte getBeanIndexCustomFieldType(java.lang.Class clazz)
- Parameters:
clazz
-
- Returns:
- byte
getPrimitiveFieldTypeStr
public static byte getPrimitiveFieldTypeStr(java.lang.String str)
- Parameters:
str
-
- Returns:
- byte
getPrimitiveFieldType
public static byte getPrimitiveFieldType(int fieldType)
- Parameters:
fieldType
-
- Returns:
- byte
getPrimitiveWrapperFieldType
public static byte getPrimitiveWrapperFieldType(int fieldType)
- Parameters:
fieldType
-
- Returns:
- byte
getArrayDimension
public static int getArrayDimension(java.lang.reflect.Field field)
- Parameters:
field
-
- Returns:
- int
getArrayDimension
public static int getArrayDimension(java.lang.Class clazz)
- Parameters:
clazz
-
- Returns:
- int
getArrayDimension
public static int getArrayDimension(java.lang.Object array)
- Parameters:
array
-
- Returns:
- int
isBeanIndexExternilizerUsable
public static boolean isBeanIndexExternilizerUsable(java.lang.Class clazz)
- Parameters:
clazz
-
- Returns:
- boolean