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 slashesAn otherwise bad URI, typically because URI.create threw a URISyntaxExceptioncantWriteTo
(Path filepath) Produces an error like: Could not write tostatic FileProblems
get()
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
-