|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.sonohara.framework.katana.AbstractMain
基本メインクラス。 $Log: AbstractMain.java,v $ Revision 1.7 2004/07/12 01:18:59 sonohara Ver0.0.4_15 2004/07/10 ・Swingスプラッシュ対応 ・アクションライブラリアップデート対応 Revision 1.6 2004/06/25 04:06:43 sonohara Ver0.0.4_13 2004/06/26 ・Logライブラリ対応 Revision 1.5 2004/06/18 04:49:30 sonohara Ver0.0.4_12 2004/06/19 ・ベンダー名取得を追加 ・リソースよりタイトルバージョン取得 Revision 1.4 2004/06/11 04:30:47 sonohara Ver0.0.4_11 2004/06/12 ・プリファレンス削除用の引数追加 Revision 1.3 2004/06/11 03:52:40 sonohara Ver0.0.4_11 2004/06/12 ・起動時例外処理追加 Revision 1.2 2004/05/31 05:25:46 sonohara Ver0.0.3_0 2004/06/05 ・シャットダウンフック処理を追加 ・その他細かいバグ修正 Revision 1.1 2004/05/16 15:48:24 keika Ver0.0.0_0 2004/05/14 新規リリース
フィールドの概要 | |
protected int |
iResult
終了コード。 |
protected java.lang.Object |
oExitLock
終了用ロックオブジェクト。 |
protected static IParam |
PARAM_HELP
ヘルプ引数定義値。 |
protected static IParam |
PARAM_UNINSTALL
アンインストール引数定義値。 |
protected static IParam |
PARAM_VERSION
バージョン引数定義値。 |
protected java.lang.Thread |
tShutdownHook
シャットダウンフック変数。 |
インタフェース jp.sonohara.framework.katana.IMain から継承したフィールド |
EXECUTE_RESILT_ERROR_PARAM, EXECUTE_RESILT_OK |
コンストラクタの概要 | |
AbstractMain(java.lang.String[] saArgs)
コンストラクタ。 |
メソッドの概要 | |
void |
destory()
解放。 |
protected void |
destoryEnvironment()
環境解放。 |
protected void |
destoryPreferences()
プリファレンス解放。 |
protected void |
destoryResource()
リソース解放。 |
protected void |
destoryUI()
UI解放。 |
void |
exception(java.lang.Exception e)
例外処理。 |
int |
execute()
実行。 |
void |
exit(int i)
アプリケーション終了。 |
java.lang.String[] |
getArgs()
引数取得。 |
java.lang.String |
getBuildVersion()
プログラムビルドバージョン取得。 |
java.lang.String |
getCopyright()
プログラム著作権取得。 |
java.lang.String |
getDescription()
プログラム詳細取得。 |
protected org.w3c.dom.Element |
getLogElement()
ログ設定用のエレメントを返す。 |
jp.sonohara.log.ILogger |
getLogger()
ロガー取得。 |
java.util.prefs.Preferences |
getPreferences()
プリファレンス取得。 |
jp.sonohara.common.xml.XMLResourceBundle |
getResourceBundle()
リソースバンドル取得。 |
java.lang.String |
getTitle()
プログラムタイトル取得。 |
java.lang.String |
getVendor()
プログラムベンダー取得。 |
java.lang.String |
getVersion()
プログラバージョン取得。 |
java.lang.String |
getVersionDetail()
プログラバージョン取得。 |
void |
init()
初期化。 |
protected void |
initEnvironment()
環境初期化。 |
protected void |
initLicense()
ライセンス初期化。 |
protected void |
initLogger()
ログ初期化。 |
protected int |
initParam(int iIndex)
引数初期化。 |
protected int |
initParamOther(int iIndex)
引数初期化時に引っかからなかった物の処理。 |
protected void |
initParams()
引数初期化。 |
protected void |
initPreferences()
プリファレンス初期化。 |
protected void |
initResource()
リソース初期化。 |
protected void |
initUI()
UI初期化。 |
boolean |
isCanUseResourceBundle()
リソースが利用可能か。 |
boolean |
isExit()
終了されるならtrue。 |
protected jp.sonohara.common.xml.XMLResourceBundle |
newXMLResourceBundle()
リソース初期化。 |
int |
perform()
一連の動作を実行。 |
void |
printHelp()
ヘルプ表示。 |
void |
printParams()
引数表示。 |
void |
printVersion()
バージョン表示。 |
void |
showHelpText(java.lang.String sText)
ヒントの表示。 |
java.lang.String |
toString()
文字列表現に変換。 |
void |
uninstall()
アンインストール。 |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
フィールドの詳細 |
protected java.lang.Object oExitLock
protected int iResult
protected static final IParam PARAM_HELP
protected static final IParam PARAM_VERSION
protected static final IParam PARAM_UNINSTALL
protected java.lang.Thread tShutdownHook
コンストラクタの詳細 |
public AbstractMain(java.lang.String[] saArgs)
saArgs
- プログラム引数。メソッドの詳細 |
public void init() throws MainException
IMain
内の init
MainException
- 例外発生時。protected void initParams() throws MainException
MainException
- 例外発生時。protected int initParam(int iIndex) throws MainException
iIndex
- 引数インデックス。
MainException
- 例外発生時。protected int initParamOther(int iIndex) throws MainException
iIndex
- 引数インデックス。
MainException
- 例外発生時。protected void initEnvironment() throws MainException
MainException
- 例外発生時。protected void initLicense() throws MainException
MainException
- 例外発生時。protected void initLogger() throws MainException
MainException
- 例外発生時。protected jp.sonohara.common.xml.XMLResourceBundle newXMLResourceBundle() throws MainException
MainException
- 例外発生時。protected void initResource() throws MainException
MainException
- 例外発生時。protected void initPreferences() throws MainException
MainException
- 例外発生時。protected void initUI() throws MainException
MainException
- 例外発生時。public void destory() throws MainException
IMain
内の destory
MainException
- 例外発生時。protected void destoryEnvironment() throws MainException
MainException
- 例外発生時。protected void destoryResource() throws MainException
MainException
- 例外発生時。protected void destoryPreferences() throws MainException
MainException
- 例外発生時。protected void destoryUI() throws MainException
MainException
- 例外発生時。protected org.w3c.dom.Element getLogElement()
public jp.sonohara.log.ILogger getLogger()
IMain
内の getLogger
public boolean isCanUseResourceBundle()
IMain
内の isCanUseResourceBundle
public java.lang.String getBuildVersion()
IMain
内の getBuildVersion
public java.lang.String getVersion()
IMain
内の getVersion
public java.lang.String getVersionDetail()
IMain
内の getVersionDetail
public java.lang.String getVendor()
IMain
内の getVendor
public java.lang.String getTitle()
IMain
内の getTitle
public jp.sonohara.common.xml.XMLResourceBundle getResourceBundle()
IMain
内の getResourceBundle
public java.lang.String getDescription()
IMain
内の getDescription
public java.lang.String getCopyright()
IMain
内の getCopyright
public java.util.prefs.Preferences getPreferences()
IMain
内の getPreferences
public java.lang.String[] getArgs()
IMain
内の getArgs
public boolean isExit()
IMain
内の isExit
public int execute() throws MainException
IMain
内の execute
MainException
- 例外発生時。public int perform()
IMain
内の perform
public void uninstall() throws MainException
IMain
内の uninstall
MainException
- メイン例外。public void exit(int i)
IMain
内の exit
i
- 終了コード。public void exception(java.lang.Exception e)
IMain
内の exception
e
- 例外。public void printHelp()
IMain
内の printHelp
public void printParams()
IMain
内の printParams
public void printVersion()
IMain
内の printVersion
public java.lang.String toString()
public void showHelpText(java.lang.String sText)
sText
- 表示する文字列。
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |