public static void main(final String... args) {
		((Logger) LoggerFactory.getLogger("jp.co.future.uroborosql")).setLevel(Level.DEBUG);
		((Logger) LoggerFactory.getLogger("jp.co.future.uroborosql.client")).setLevel(Level.ERROR);
		((Logger) LoggerFactory.getLogger("jp.co.future.uroborosql.context")).setLevel(Level.ERROR);
		((Logger) LoggerFactory.getLogger("jp.co.future.uroborosql.store")).setLevel(Level.ERROR);

		String propFile = "repl.properties";
		if (args.length != 0) {
			propFile = args[0];
		}

		Path path = Paths.get(propFile);

		if (!Files.exists(path)) {
			throw new IllegalArgumentException("properties could not found.");
		}

		try {
			SqlREPL repl = new SqlREPL(path);
			repl.execute();
		} catch (Exception ex) {
			throw new IllegalStateException("Failed to REPL.", ex);
		}
	}
public static void main ( final String ... args ) { ( ( Logger ) LoggerFactory . getLogger ( "jp.co.future.uroborosql" ) ) . setLevel ( Level . DEBUG ) ; ( ( Logger ) LoggerFactory . getLogger ( "jp.co.future.uroborosql.client" ) ) . setLevel ( Level . ERROR ) ; ( ( Logger ) LoggerFactory . getLogger ( "jp.co.future.uroborosql.context" ) ) . setLevel ( Level . ERROR ) ; ( ( Logger ) LoggerFactory . getLogger ( "jp.co.future.uroborosql.store" ) ) . setLevel ( Level . ERROR ) ; String propFile = "repl.properties" ; if ( args . length != 0 ) { propFile = args [ 0 ] ; } Path path = Paths . get ( propFile ) ; if ( ! Files . exists ( path ) ) { throw new IllegalArgumentException ( "properties could not found." ) ; } try { SqlREPL repl = new SqlREPL ( path ) ; repl . execute ( ) ; } catch ( Exception ex ) { throw new IllegalStateException ( "Failed to REPL." , ex ) ; } }
メインメソッド

@param args 読み込むプロパティファイルのファイルパス