cn.dreampie
类 DbConfig

java.lang.Object
  继承者 cn.dreampie.DbConfig

public class DbConfig
extends Object

Created by wangrenhui on 14-5-5.


构造方法摘要
DbConfig()
           
DbConfig(String config)
           
 
方法摘要
 List<String> getAllDbNames()
           
 Map<String,DbSource> getAllDbSources()
           
 boolean initOnMigrate(String dbName)
           
 boolean isClean(String dbName)
           
 boolean isDev()
           
 boolean migrateAuto(String dbName)
           
 Properties readProperties(String filePath)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

DbConfig

public DbConfig()

DbConfig

public DbConfig(String config)
方法详细信息

readProperties

public Properties readProperties(String filePath)

getAllDbNames

public List<String> getAllDbNames()

getAllDbSources

public Map<String,DbSource> getAllDbSources()

initOnMigrate

public boolean initOnMigrate(String dbName)

migrateAuto

public boolean migrateAuto(String dbName)

isClean

public boolean isClean(String dbName)

isDev

public boolean isDev()


Copyright © 2014. All rights reserved.