Package org.apache.kerby.asn1.util
Class IOUtil
java.lang.Object
org.apache.kerby.asn1.util.IOUtil
Some IO and file related utilities.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringreadInput(InputStream in) Read an input stream and return the content as string assuming UTF8.static byte[]
-
Method Details
-
readInputStream
- Throws:
IOException
-
readInput
Read an input stream and return the content as string assuming UTF8.- Parameters:
in- The input stream- Returns:
- The content
- Throws:
IOException- e
-