public class ConfigurationParser extends Object
Description:
| 构造器和说明 |
|---|
ConfigurationParser(List<String> warnings) |
ConfigurationParser(Properties extraProperties,
List<String> warnings)
This constructor accepts a properties object which may be used to specify
an additional property set.
|
| 限定符和类型 | 方法和说明 |
|---|---|
org.mybatis.generator.config.Configuration |
parseConfiguration(File inputFile) |
org.mybatis.generator.config.Configuration |
parseConfiguration(InputStream inputStream) |
org.mybatis.generator.config.Configuration |
parseConfiguration(Reader reader) |
public ConfigurationParser(Properties extraProperties, List<String> warnings)
If there are name collisions between the different property sets, they will be resolved in this order:
extraProperties - an (optional) set of properties used to resolve property
references in the configuration filewarnings - any warnings are added to this arraypublic org.mybatis.generator.config.Configuration parseConfiguration(File inputFile) throws IOException, org.mybatis.generator.exception.XMLParserException
IOExceptionorg.mybatis.generator.exception.XMLParserExceptionpublic org.mybatis.generator.config.Configuration parseConfiguration(Reader reader) throws IOException, org.mybatis.generator.exception.XMLParserException
IOExceptionorg.mybatis.generator.exception.XMLParserExceptionpublic org.mybatis.generator.config.Configuration parseConfiguration(InputStream inputStream) throws IOException, org.mybatis.generator.exception.XMLParserException
IOExceptionorg.mybatis.generator.exception.XMLParserExceptionCopyright © 2019. All rights reserved.