Package nz.org.riskscape.engine
Interface FileProblems
- All Superinterfaces:
ProblemFactory
Factory for producing problems that involve a specific file, e.g. can't open file, bad format, etc.
-
Method Summary
Modifier and TypeMethodDescriptionbackslashesNotAllowedInUris(String badUri) An error when a uri value is specified and backslashes are found that can't be soundly converted to forward slashesbadGeospatialDataTip(File file, String format) Tip for when we hit geospatial data that we can't openAn otherwise bad URI, typically because URI.create threw a URISyntaxExceptioncantWriteTo(Path filepath) Produces an error like: Could not write togeotoolsCannotRead(File file) Geotools just plain can't open the filestatic FileProblemsget()unsupportedFormat(File file) Produces an error like:is in an unsupported format
-
Method Details
-
get
-
unsupportedFormat
Produces an error like:
is in an unsupported format -
cantWriteTo
Produces an error like: Could not write to
-
backslashesNotAllowedInUris
An error when a uri value is specified and backslashes are found that can't be soundly converted to forward slashes
-
badUri
An otherwise bad URI, typically because URI.create threw a URISyntaxException
-
geotoolsCannotRead
Geotools just plain can't open the file
-
badGeospatialDataTip
Tip for when we hit geospatial data that we can't open
-