i would like to be able to load the public suffix list from an external location on disk and not the classpath but this is not currently possible b/c the underlying code is using getResourceAsStream to load the file.
can this be changed and/or enhanced to support my use case?
the simplest thing to do would be to check if the InputStream returned from the call is null and if yes, try loading the file using a FileInputStream.
i would like to be able to load the public suffix list from an external location on disk and not the classpath but this is not currently possible b/c the underlying code is using
getResourceAsStream
to load the file.can this be changed and/or enhanced to support my use case?
the simplest thing to do would be to check if the
InputStream
returned from the call isnull
and if yes, try loading the file using aFileInputStream
.i'd be happy to submit a pull request for this.