private SchemaCrawlerOptions getOptions ( String bundledDriverName , InfoLevel level ) throws IOException { for ( BundledDriver bundledDriver : BundledDriver . values ( ) ) { if ( bundledDriver . name ( ) . toLowerCase ( ) . equals ( bundledDriverName . toLowerCase ( ) ) ) { return bundledDriver . getOptions ( level ) ; } } throw new IOException ( "Unknown bundled driver name '" + bundledDriverName + "', supported values are " + Arrays . asList ( BundledDriver . values ( ) ) ) ; }
Loads the bundled driver options