Class IOUtil
java.lang.Object
io.github.headlesshq.headlessmc.launcher.util.IOUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
copy
(InputStream i, OutputStream o) static JarOutputStream
static String
read
(BufferedReader br) static String
read
(BufferedReader br, boolean appendNewLine) static void
read
(BufferedReader br, Consumer<String> callback) static BufferedReader
reader
(InputStream stream) static byte[]
toBytes
(InputStream is)
-
Constructor Details
-
IOUtil
public IOUtil()
-
-
Method Details
-
toBytes
- Throws:
IOException
-
copy
- Throws:
IOException
-
jarOutput
- Throws:
IOException
-
reader
-
read
- Throws:
IOException
-
read
- Throws:
IOException
-
read
- Throws:
IOException
-