9293949596979899
public static Sql fromStream(InputStream is) { try { return new Sql(new ANTLRInputStream(is)); } catch (IOException e) { throw new IOStreamException(e); } }
114115116117118119120121
public static Sql fromFile(File f) { try { return new Sql(new ANTLRFileStream(f.getAbsolutePath())); } catch (IOException e) { throw new IOStreamException(e); } }
96979899100101102103
public static SqlScriptLoader loadScriptFromFile(File f) { try { return new SqlScriptLoader(new ANTLRFileStream(f.getAbsolutePath())); } catch (IOException e) { throw new IOStreamException(e); } }
7475767778798081
public static SqlScriptLoader loadScriptFromStream(InputStream is) { try { return new SqlScriptLoader(new ANTLRInputStream(is)); } catch (IOException e) { throw new IOStreamException(e); } }