use of org.geotools.xml.Configuration in project coastal-hazards by USGS-CIDA.
the class GMLUtil method generateGMLConfiguration.
public static Configuration generateGMLConfiguration(File file) {
Configuration configuration = null;
InputStream inputStream = null;
try {
inputStream = new BufferedInputStream(new FileInputStream(file), 16 << 10);
configuration = generateGMLConfiguration(inputStream);
} catch (IOException e) {
throw new RuntimeException(e);
} finally {
if (inputStream != null)
try {
inputStream.close();
} catch (IOException e) {
}
}
return configuration;
}
Aggregations