Class IOUtil
java.lang.Object
io.github.headlesshq.headlessmc.launcher.util.IOUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcopy(InputStream i, OutputStream o) static JarOutputStreamstatic Stringread(BufferedReader br) static Stringread(BufferedReader br, boolean appendNewLine) static voidread(BufferedReader br, Consumer<String> callback) static BufferedReaderreader(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
-