Package net.lax1dude.eaglercraft.v1_8
Class IOUtils
- java.lang.Object
-
- net.lax1dude.eaglercraft.v1_8.IOUtils
-
public class IOUtils extends java.lang.Object
Copyright (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Constructor Summary
Constructors Constructor Description IOUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
closeQuietly(java.io.Closeable reResourcePack)
static java.lang.String
inputStreamToString(java.io.InputStream is, java.nio.charset.Charset c)
static java.util.List<java.lang.String>
readLines(java.io.InputStream parInputStream, java.nio.charset.Charset charset)
-
-
-
Method Detail
-
readLines
public static java.util.List<java.lang.String> readLines(java.io.InputStream parInputStream, java.nio.charset.Charset charset)
-
closeQuietly
public static void closeQuietly(java.io.Closeable reResourcePack)
-
inputStreamToString
public static java.lang.String inputStreamToString(java.io.InputStream is, java.nio.charset.Charset c) throws java.io.IOException
- Throws:
java.io.IOException
-
-