Class IOUtils
- java.lang.Object
-
- org.dizitart.no2.mvstore.compat.v1.mvstore.util.IOUtils
-
public class IOUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcloseSilently(AutoCloseable var0)static IOExceptionconvertToIOException(Throwable var0)static longcopy(InputStream var0, OutputStream var1)static longcopy(InputStream var0, OutputStream var1, long var2)static longcopyAndClose(InputStream var0, OutputStream var1)static longcopyAndCloseInput(InputStream var0, OutputStream var1)static longcopyAndCloseInput(Reader var0, Writer var1, long var2)static voidcopyFiles(String var0, String var1)static ReadergetAsciiReader(InputStream var0)static ReadergetBufferedReader(InputStream var0)static WritergetBufferedWriter(OutputStream var0)static InputStreamgetInputStreamFromString(String var0)static ReadergetReader(InputStream var0)static byte[]readBytesAndClose(InputStream var0, int var1)static intreadFully(InputStream var0, byte[] var1, int var2)static intreadFully(Reader var0, char[] var1, int var2)static StringreadStringAndClose(Reader var0, int var1)static voidskipFully(InputStream var0, long var1)static voidskipFully(Reader var0, long var1)static voidtrace(String var0, String var1, Object var2)
-
-
-
Method Detail
-
closeSilently
public static void closeSilently(AutoCloseable var0)
-
skipFully
public static void skipFully(InputStream var0, long var1) throws IOException
- Throws:
IOException
-
skipFully
public static void skipFully(Reader var0, long var1) throws IOException
- Throws:
IOException
-
copyAndClose
public static long copyAndClose(InputStream var0, OutputStream var1) throws IOException
- Throws:
IOException
-
copyAndCloseInput
public static long copyAndCloseInput(InputStream var0, OutputStream var1) throws IOException
- Throws:
IOException
-
copy
public static long copy(InputStream var0, OutputStream var1) throws IOException
- Throws:
IOException
-
copy
public static long copy(InputStream var0, OutputStream var1, long var2) throws IOException
- Throws:
IOException
-
copyAndCloseInput
public static long copyAndCloseInput(Reader var0, Writer var1, long var2) throws IOException
- Throws:
IOException
-
readBytesAndClose
public static byte[] readBytesAndClose(InputStream var0, int var1) throws IOException
- Throws:
IOException
-
readStringAndClose
public static String readStringAndClose(Reader var0, int var1) throws IOException
- Throws:
IOException
-
readFully
public static int readFully(InputStream var0, byte[] var1, int var2) throws IOException
- Throws:
IOException
-
readFully
public static int readFully(Reader var0, char[] var1, int var2) throws IOException
- Throws:
IOException
-
getBufferedReader
public static Reader getBufferedReader(InputStream var0)
-
getReader
public static Reader getReader(InputStream var0)
-
getBufferedWriter
public static Writer getBufferedWriter(OutputStream var0)
-
getAsciiReader
public static Reader getAsciiReader(InputStream var0)
-
getInputStreamFromString
public static InputStream getInputStreamFromString(String var0)
-
copyFiles
public static void copyFiles(String var0, String var1) throws IOException
- Throws:
IOException
-
convertToIOException
public static IOException convertToIOException(Throwable var0)
-
-