com.jinke.util
Class StringTable

java.lang.Object
  extended by com.jinke.util.StringTable

public class StringTable
extends java.lang.Object

Resources' ints for localization


Field Summary
static int BS_VIEWER_STRING_MAX
           
static int CHANGE_FONT_SIZE
           
private  int obj
           
static int VIEWER_BOOKABOUT
           
static int VIEWER_BOOKABOUT_BOOKAUTHOR
           
static int VIEWER_BOOKABOUT_BOOKDATE
           
static int VIEWER_BOOKABOUT_BOOKISBN
           
static int VIEWER_BOOKABOUT_BOOKNAME
           
static int VIEWER_BOOKABOUT_BOOKPUBLISH
           
static int VIEWER_BOOKABOUT_BOOKSIZE
           
static int VIEWER_BOOKMARK
           
static int VIEWER_BOOKMARK_BMITEMDEFTEXT
           
static int VIEWER_BOOKMARK_BMITEMNOTUSED
           
static int VIEWER_BOOKMARK_BMITEMUSED
           
static int VIEWER_CATALOG
           
static int VIEWER_ERROR_ENCRYPTION
           
static int VIEWER_ERROR_OPENFILE
           
static int VIEWER_HINT_INPUTSKIPPAGENUM
           
static int VIEWER_HINT_PROCESSING
           
static int VIEWER_MENU_4ABOUT
           
static int VIEWER_MENU_5ABOUT
           
static int VIEWER_MENU_BACK
           
static int VIEWER_MENU_ENDLINK
           
static int VIEWER_MENU_FONTFACE
           
static int VIEWER_MENU_FORWARD
           
static int VIEWER_MENU_GOTOENDPAGE
           
static int VIEWER_MENU_GOTOFIRSTPAGE
           
static int VIEWER_MENU_GOTOINDEX
           
static int VIEWER_MENU_GOTOPAGE
           
static int VIEWER_MENU_GUIDEITEM
           
static int VIEWER_MENU_LINKTO
           
static int VIEWER_MENU_MOBI_INDEX
           
static int VIEWER_MENU_TABLE_OF_CONTENT
           
static int VIEWER_MSG_BOOK_CORRUPTED
           
static int VIEWER_MSG_BOOK_EXIPRE
           
static int VIEWER_MSG_DRM_NOTSUPPORTED
           
static int VIEWER_MSG_ERROR_PWD
           
static int VIEWER_MSG_ERROR_UNEXPECTED
           
static int VIEWER_MSG_LINK_1
           
static int VIEWER_MSG_LINK_2
           
static int VIEWER_MSG_LINK_3
           
static int VIEWER_MSG_LINK_4
           
static int VIEWER_MSG_NO_PWD_1
           
static int VIEWER_MSG_NO_PWD_2
           
static int VIEWER_MSG_NO_PWD_3
           
static int VIEWER_MSG_NO_PWD_4
           
static int VIEWER_MSG_NO_SUPPORT_1
           
static int VIEWER_MSG_NOT_ACTIVE
           
static int VIEWER_MSG_NOT_READABLE
           
static int VIEWER_MSG_NOT_SUPPORT_2
           
static int VIEWER_MSG_NOT_SUPPORT_3
           
static int VIEWER_MSG_OLD_VERSION
           
static int VIEWER_MSG_PIDERROR_1
           
static int VIEWER_MSG_PIDERROR_2
           
static int VIEWER_MSG_PIDERROR_3
           
static int VIEWER_MSG_SELECT_LINK
           
static int VIEWER_MSG_UNKNOWN_ERROR
           
static int VIEWER_MSG_WRONG_PID
           
static int VIEWER_SERCH_INDEX_TITLE
           
static int VIEWER_SERCH_TIP
           
static int VIEWER_TITLE_INDEX
           
 
Constructor Summary
StringTable()
           
 
Method Summary
private  int createTable()
           
 void destroy()
           
private  void destroy(int i)
           
 java.lang.String getString(int i)
           
private  java.lang.String getString(int i, int j)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

obj

private int obj

VIEWER_ERROR_OPENFILE

public static final int VIEWER_ERROR_OPENFILE
See Also:
Constant Field Values

VIEWER_ERROR_ENCRYPTION

public static final int VIEWER_ERROR_ENCRYPTION
See Also:
Constant Field Values

VIEWER_HINT_PROCESSING

public static final int VIEWER_HINT_PROCESSING
See Also:
Constant Field Values

VIEWER_HINT_INPUTSKIPPAGENUM

public static final int VIEWER_HINT_INPUTSKIPPAGENUM
See Also:
Constant Field Values

VIEWER_MENU_GOTOFIRSTPAGE

public static final int VIEWER_MENU_GOTOFIRSTPAGE
See Also:
Constant Field Values

VIEWER_MENU_GOTOENDPAGE

public static final int VIEWER_MENU_GOTOENDPAGE
See Also:
Constant Field Values

VIEWER_MENU_GOTOPAGE

public static final int VIEWER_MENU_GOTOPAGE
See Also:
Constant Field Values

VIEWER_MENU_GOTOINDEX

public static final int VIEWER_MENU_GOTOINDEX
See Also:
Constant Field Values

VIEWER_MENU_5ABOUT

public static final int VIEWER_MENU_5ABOUT
See Also:
Constant Field Values

VIEWER_MENU_4ABOUT

public static final int VIEWER_MENU_4ABOUT
See Also:
Constant Field Values

VIEWER_BOOKMARK

public static final int VIEWER_BOOKMARK
See Also:
Constant Field Values

VIEWER_BOOKMARK_BMITEMDEFTEXT

public static final int VIEWER_BOOKMARK_BMITEMDEFTEXT
See Also:
Constant Field Values

VIEWER_BOOKMARK_BMITEMNOTUSED

public static final int VIEWER_BOOKMARK_BMITEMNOTUSED
See Also:
Constant Field Values

VIEWER_BOOKMARK_BMITEMUSED

public static final int VIEWER_BOOKMARK_BMITEMUSED
See Also:
Constant Field Values

VIEWER_BOOKABOUT

public static final int VIEWER_BOOKABOUT
See Also:
Constant Field Values

VIEWER_BOOKABOUT_BOOKNAME

public static final int VIEWER_BOOKABOUT_BOOKNAME
See Also:
Constant Field Values

VIEWER_BOOKABOUT_BOOKAUTHOR

public static final int VIEWER_BOOKABOUT_BOOKAUTHOR
See Also:
Constant Field Values

VIEWER_BOOKABOUT_BOOKDATE

public static final int VIEWER_BOOKABOUT_BOOKDATE
See Also:
Constant Field Values

VIEWER_BOOKABOUT_BOOKSIZE

public static final int VIEWER_BOOKABOUT_BOOKSIZE
See Also:
Constant Field Values

VIEWER_BOOKABOUT_BOOKISBN

public static final int VIEWER_BOOKABOUT_BOOKISBN
See Also:
Constant Field Values

VIEWER_BOOKABOUT_BOOKPUBLISH

public static final int VIEWER_BOOKABOUT_BOOKPUBLISH
See Also:
Constant Field Values

VIEWER_CATALOG

public static final int VIEWER_CATALOG
See Also:
Constant Field Values

CHANGE_FONT_SIZE

public static final int CHANGE_FONT_SIZE
See Also:
Constant Field Values

VIEWER_MENU_MOBI_INDEX

public static final int VIEWER_MENU_MOBI_INDEX
See Also:
Constant Field Values

VIEWER_MENU_TABLE_OF_CONTENT

public static final int VIEWER_MENU_TABLE_OF_CONTENT
See Also:
Constant Field Values

VIEWER_MENU_FONTFACE

public static final int VIEWER_MENU_FONTFACE
See Also:
Constant Field Values

VIEWER_MENU_LINKTO

public static final int VIEWER_MENU_LINKTO
See Also:
Constant Field Values

VIEWER_MENU_ENDLINK

public static final int VIEWER_MENU_ENDLINK
See Also:
Constant Field Values

VIEWER_SERCH_INDEX_TITLE

public static final int VIEWER_SERCH_INDEX_TITLE
See Also:
Constant Field Values

VIEWER_SERCH_TIP

public static final int VIEWER_SERCH_TIP
See Also:
Constant Field Values

VIEWER_TITLE_INDEX

public static final int VIEWER_TITLE_INDEX
See Also:
Constant Field Values

VIEWER_MSG_LINK_1

public static final int VIEWER_MSG_LINK_1
See Also:
Constant Field Values

VIEWER_MSG_LINK_2

public static final int VIEWER_MSG_LINK_2
See Also:
Constant Field Values

VIEWER_MSG_LINK_3

public static final int VIEWER_MSG_LINK_3
See Also:
Constant Field Values

VIEWER_MSG_LINK_4

public static final int VIEWER_MSG_LINK_4
See Also:
Constant Field Values

VIEWER_MSG_SELECT_LINK

public static final int VIEWER_MSG_SELECT_LINK
See Also:
Constant Field Values

VIEWER_MSG_NO_SUPPORT_1

public static final int VIEWER_MSG_NO_SUPPORT_1
See Also:
Constant Field Values

VIEWER_MSG_BOOK_CORRUPTED

public static final int VIEWER_MSG_BOOK_CORRUPTED
See Also:
Constant Field Values

VIEWER_MSG_BOOK_EXIPRE

public static final int VIEWER_MSG_BOOK_EXIPRE
See Also:
Constant Field Values

VIEWER_MSG_NOT_ACTIVE

public static final int VIEWER_MSG_NOT_ACTIVE
See Also:
Constant Field Values

VIEWER_MSG_NOT_READABLE

public static final int VIEWER_MSG_NOT_READABLE
See Also:
Constant Field Values

VIEWER_MSG_NOT_SUPPORT_2

public static final int VIEWER_MSG_NOT_SUPPORT_2
See Also:
Constant Field Values

VIEWER_MSG_UNKNOWN_ERROR

public static final int VIEWER_MSG_UNKNOWN_ERROR
See Also:
Constant Field Values

VIEWER_MSG_NOT_SUPPORT_3

public static final int VIEWER_MSG_NOT_SUPPORT_3
See Also:
Constant Field Values

VIEWER_MSG_OLD_VERSION

public static final int VIEWER_MSG_OLD_VERSION
See Also:
Constant Field Values

VIEWER_MSG_WRONG_PID

public static final int VIEWER_MSG_WRONG_PID
See Also:
Constant Field Values

VIEWER_MSG_PIDERROR_1

public static final int VIEWER_MSG_PIDERROR_1
See Also:
Constant Field Values

VIEWER_MSG_PIDERROR_2

public static final int VIEWER_MSG_PIDERROR_2
See Also:
Constant Field Values

VIEWER_MSG_PIDERROR_3

public static final int VIEWER_MSG_PIDERROR_3
See Also:
Constant Field Values

VIEWER_MSG_ERROR_UNEXPECTED

public static final int VIEWER_MSG_ERROR_UNEXPECTED
See Also:
Constant Field Values

VIEWER_MSG_ERROR_PWD

public static final int VIEWER_MSG_ERROR_PWD
See Also:
Constant Field Values

VIEWER_MSG_NO_PWD_1

public static final int VIEWER_MSG_NO_PWD_1
See Also:
Constant Field Values

VIEWER_MSG_NO_PWD_2

public static final int VIEWER_MSG_NO_PWD_2
See Also:
Constant Field Values

VIEWER_MSG_NO_PWD_3

public static final int VIEWER_MSG_NO_PWD_3
See Also:
Constant Field Values

VIEWER_MSG_NO_PWD_4

public static final int VIEWER_MSG_NO_PWD_4
See Also:
Constant Field Values

VIEWER_MENU_BACK

public static final int VIEWER_MENU_BACK
See Also:
Constant Field Values

VIEWER_MENU_FORWARD

public static final int VIEWER_MENU_FORWARD
See Also:
Constant Field Values

VIEWER_MENU_GUIDEITEM

public static final int VIEWER_MENU_GUIDEITEM
See Also:
Constant Field Values

VIEWER_MSG_DRM_NOTSUPPORTED

public static final int VIEWER_MSG_DRM_NOTSUPPORTED
See Also:
Constant Field Values

BS_VIEWER_STRING_MAX

public static final int BS_VIEWER_STRING_MAX
See Also:
Constant Field Values
Constructor Detail

StringTable

public StringTable()
Method Detail

createTable

private int createTable()

destroy

private void destroy(int i)

getString

private java.lang.String getString(int i,
                                   int j)

getString

public java.lang.String getString(int i)
Parameters:
i -
Returns:

destroy

public void destroy()