Package mil.nga.geopackage.io
Class ResourceIOUtils
- java.lang.Object
-
- mil.nga.geopackage.io.ResourceIOUtils
-
public class ResourceIOUtils extends Object
Resource file Input / Output utility methods- Since:
- 2.0.1
- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description ResourceIOUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<String>
parseSQLStatements(InputStream stream)
Parse the SQL statements for the input streamstatic List<String>
parseSQLStatements(String resourceName)
Parse the SQL statements for the resource namestatic List<String>
parseSQLStatements(String path, String name)
Parse the SQL statements for the base resource path and sql file name
-
-
-
Method Detail
-
parseSQLStatements
public static List<String> parseSQLStatements(String path, String name)
Parse the SQL statements for the base resource path and sql file name- Parameters:
path
- base resource pathname
- sql file name- Returns:
- list of sql statements
-
parseSQLStatements
public static List<String> parseSQLStatements(String resourceName)
Parse the SQL statements for the resource name- Parameters:
resourceName
- resource name- Returns:
- list of sql statements
-
parseSQLStatements
public static List<String> parseSQLStatements(InputStream stream)
Parse the SQL statements for the input stream- Parameters:
stream
- input stream- Returns:
- list of sql statements
-
-