クラス AbstractSchemaFileCommand
- java.lang.Object
-
- com.sqlapp.data.db.command.AbstractCommand
-
- com.sqlapp.data.db.command.html.AbstractSchemaFileCommand
-
- すべての実装されたインタフェース:
java.lang.Runnable
- 直系の既知のサブクラス:
GenerateHtmlCommand,UpdateDictionariesCommand
public abstract class AbstractSchemaFileCommand extends AbstractCommand
-
-
フィールドの概要
-
クラスから継承されたフィールド com.sqlapp.data.db.command.AbstractCommand
logger
-
-
コンストラクタの概要
コンストラクタ 修飾子 コンストラクタ 説明 protectedAbstractSchemaFileCommand()
-
メソッドの概要
すべてのメソッド インスタンス・メソッド abstractメソッド concreteメソッド 修飾子とタイプ メソッド 説明 protected abstract voidcreate(com.sqlapp.data.schemas.Catalog catalog)protected voiddoRun()com.sqlapp.data.schemas.CataloggetCatalog()java.lang.StringgetCsvEncoding()java.io.FilegetDictionaryFileDirectory()java.lang.StringgetDictionaryFileType()protected java.lang.StringgetFullName(java.lang.Object obj, boolean withSchemaName)com.sqlapp.util.JsonConvertergetJsonConverter()java.lang.String[]getKeywords()protected java.util.Map<java.lang.String,java.lang.Integer>getKeywordsMap()protected java.lang.StringgetName(java.lang.Object obj)java.io.FilegetTargetFile()protected java.io.FileloadProperties(MenuDefinition menuDefinition, java.lang.String type, java.util.Properties properties)protected voidsetCatalog(com.sqlapp.data.schemas.Catalog catalog)voidsetCsvEncoding(java.lang.String csvEncoding)voidsetDictionaryFileDirectory(java.io.File dictionaryFileDirectory)voidsetDictionaryFileType(java.lang.String dictionaryFileType)voidsetJsonConverter(com.sqlapp.util.JsonConverter jsonConverter)voidsetTargetFile(java.io.File targetFile)-
クラスから継承されたメソッド com.sqlapp.data.db.command.AbstractCommand
createJsonConverter, createYamlConverter, getContext, getConvertHandler, getErr, getExceptionHandler, initialize, initializeContext, println, run, setConvertHandler, setExceptionHandler
-
-
-
-
メソッドの詳細
-
getKeywords
public java.lang.String[] getKeywords()
- 戻り値:
- the keywords
-
doRun
protected void doRun()
- 定義:
doRunクラス内AbstractCommand
-
create
protected abstract void create(com.sqlapp.data.schemas.Catalog catalog) throws java.lang.Exception- 例外:
java.lang.Exception
-
getFullName
protected java.lang.String getFullName(java.lang.Object obj, boolean withSchemaName)
-
getName
protected java.lang.String getName(java.lang.Object obj)
-
loadProperties
protected java.io.File loadProperties(MenuDefinition menuDefinition, java.lang.String type, java.util.Properties properties) throws java.lang.Exception
- 例外:
java.lang.Exception
-
setCatalog
protected void setCatalog(com.sqlapp.data.schemas.Catalog catalog)
-
getCatalog
public com.sqlapp.data.schemas.Catalog getCatalog()
-
getTargetFile
public java.io.File getTargetFile()
- 戻り値:
- the targetFile
-
setTargetFile
public void setTargetFile(java.io.File targetFile)
- パラメータ:
targetFile- the targetFile to set
-
getDictionaryFileDirectory
public java.io.File getDictionaryFileDirectory()
- 戻り値:
- the dictionaryFileDirectory
-
setDictionaryFileDirectory
public void setDictionaryFileDirectory(java.io.File dictionaryFileDirectory)
- パラメータ:
dictionaryFileDirectory- the dictionaryFileDirectory to set
-
getDictionaryFileType
public java.lang.String getDictionaryFileType()
- 戻り値:
- the dictionaryFileType
-
setDictionaryFileType
public void setDictionaryFileType(java.lang.String dictionaryFileType)
- パラメータ:
dictionaryFileType- the dictionaryFileType to set
-
getCsvEncoding
public java.lang.String getCsvEncoding()
- 戻り値:
- the csvEncoding
-
setCsvEncoding
public void setCsvEncoding(java.lang.String csvEncoding)
- パラメータ:
csvEncoding- the csvEncoding to set
-
getJsonConverter
public com.sqlapp.util.JsonConverter getJsonConverter()
- 戻り値:
- the jsonConverter
-
setJsonConverter
public void setJsonConverter(com.sqlapp.util.JsonConverter jsonConverter)
- パラメータ:
jsonConverter- the jsonConverter to set
-
getKeywordsMap
protected java.util.Map<java.lang.String,java.lang.Integer> getKeywordsMap()
- 戻り値:
- the keywordsMap
-
-