public final class Uris
extends Object
-
Method Summary
Reads
URI specs of scheme
classpath and
file.
Reads
URIs of scheme
classpath and
file.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
readUri
Reads
URI specs of scheme
classpath and
file.
- Parameters:
spec - the URI spec, e.g., file:/holy/cow.txt or
classpath:/holy/cat.txt
charset - used Charset for decoding the file
-
readUri
Reads
URIs of scheme
classpath and
file.
- Parameters:
uri - the URI, e.g., file:/holy/cow.txt or
classpath:/holy/cat.txt
charset - used Charset for decoding the file