|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.seasar.extension.jdbc.gen.internal.version.DdlInfoFileImpl
public class DdlInfoFileImpl
DdlInfoFile
の実装クラスです。
フィールドの概要 | |
---|---|
protected static java.lang.String |
ENCODING
エンコーディング |
protected java.io.File |
file
DDLファイル |
protected static Logger |
logger
ロガー |
protected java.lang.Integer |
versionNo
バージョン番号 |
コンストラクタの概要 | |
---|---|
DdlInfoFileImpl(java.io.File file)
インスタンスを構築します。 |
メソッドの概要 | |
---|---|
void |
applyNextVersionNo(java.lang.String comment)
次のバージョン番号を適用します。 |
protected int |
convertToInt(java.lang.String value)
バージョン番号を表す文字列をint型に変換します。 |
int |
getCurrentVersionNo()
現在のバージョン番号を返します。 |
protected int |
getCurrentVersionNoInternal()
バージョン番号を返します。 |
int |
getNextVersionNo()
次のバージョン番号を返します。 |
protected int |
getNextVersionNoInternal()
次のバージョン番号を返します。 |
protected java.lang.String |
readLine()
1行を読みます。 |
protected void |
writeLine(java.lang.String line)
1行を書きます。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected static Logger logger
protected static final java.lang.String ENCODING
protected java.io.File file
protected java.lang.Integer versionNo
コンストラクタの詳細 |
---|
public DdlInfoFileImpl(java.io.File file)
file
- ファイルメソッドの詳細 |
---|
public int getCurrentVersionNo()
DdlInfoFile
の記述:
DdlInfoFile
内の getCurrentVersionNo
protected int getCurrentVersionNoInternal()
protected java.lang.String readLine()
public int getNextVersionNo()
DdlInfoFile
の記述:
DdlInfoFile
内の getNextVersionNo
protected int getNextVersionNoInternal()
public void applyNextVersionNo(java.lang.String comment)
DdlInfoFile
の記述:
DdlInfoFile
内の applyNextVersionNo
comment
- バージョンを増分する理由を示すコメントprotected void writeLine(java.lang.String line)
line
- 1行protected int convertToInt(java.lang.String value)
value
- バージョン番号を表す文字列
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |