Class Uris
java.lang.Object
org.apache.logging.log4j.layout.template.json.util.Uris
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static String
consumeReader
(BufferedReader reader) private static String
readClassPathUri
(URI uri, Charset charset) private static String
readFileUri
(URI uri, Charset charset) static String
ReadsURI
specs of scheme classpath and file.static String
ReadsURI
s of scheme classpath and file.private static String
unsafeReadUri
(URI uri, Charset charset)
-
Field Details
-
LOGGER
-
-
Constructor Details
-
Uris
private Uris()
-
-
Method Details
-
readUri
ReadsURI
specs of scheme classpath and file. -
readUri
ReadsURI
s of scheme classpath and file. -
unsafeReadUri
- Throws:
Exception
-
readFileUri
- Throws:
IOException
-
readClassPathUri
- Throws:
IOException
-
consumeReader
- Throws:
IOException
-