public static List < String > parseSQLStatements ( String resourceName ) { InputStream stream = ResourceIOUtils . class . getResourceAsStream ( resourceName ) ; if ( stream == null ) { throw new GeoPackageException ( "Failed to find resource: " + resourceName ) ; } List < String > statements = parseSQLStatements ( stream ) ; return statements ; }
Parse the SQL statements for the resource name