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 StringconsumeReader(BufferedReader reader) private static StringreadClassPathUri(URI uri, Charset charset) private static StringreadFileUri(URI uri, Charset charset) static StringReadsURIspecs of scheme classpath and file.static StringReadsURIs of scheme classpath and file.private static StringunsafeReadUri(URI uri, Charset charset)
-
Field Details
-
LOGGER
-
-
Constructor Details
-
Uris
private Uris()
-
-
Method Details
-
readUri
ReadsURIspecs of scheme classpath and file. -
readUri
ReadsURIs of scheme classpath and file. -
unsafeReadUri
- Throws:
Exception
-
readFileUri
- Throws:
IOException
-
readClassPathUri
- Throws:
IOException
-
consumeReader
- Throws:
IOException
-