Class IoUtil
java.lang.Object
org.apache.commons.io.IOUtils
com.github.shoothzj.javatool.util.IoUtil
public class IoUtil
extends org.apache.commons.io.IOUtils
- Author:
- shoothzj
-
Field Summary
Fields inherited from class org.apache.commons.io.IOUtils
CR, DEFAULT_BUFFER_SIZE, DIR_SEPARATOR, DIR_SEPARATOR_UNIX, DIR_SEPARATOR_WINDOWS, EMPTY_BYTE_ARRAY, EOF, LF, LINE_SEPARATOR, LINE_SEPARATOR_UNIX, LINE_SEPARATOR_WINDOWS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]read2Byte(InputStream inputStream) static Stringread2String(InputStream inputStream) static Stringread2StringCharset(InputStream inputStream, Charset charset) static StringreadFile2String(String fileName) Methods inherited from class org.apache.commons.io.IOUtils
buffer, buffer, buffer, buffer, buffer, buffer, buffer, buffer, byteArray, byteArray, close, close, close, close, closeQuietly, closeQuietly, closeQuietly, closeQuietly, closeQuietly, closeQuietly, closeQuietly, closeQuietly, closeQuietly, closeQuietly, consume, contentEquals, contentEquals, contentEqualsIgnoreEOL, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copyLarge, copyLarge, copyLarge, copyLarge, copyLarge, copyLarge, copyLarge, copyLarge, length, length, length, length, lineIterator, lineIterator, lineIterator, read, read, read, read, read, readFully, readFully, readFully, readFully, readFully, readFully, readLines, readLines, readLines, readLines, resourceToByteArray, resourceToByteArray, resourceToString, resourceToString, resourceToURL, resourceToURL, skip, skip, skip, skipFully, skipFully, skipFully, toBufferedInputStream, toBufferedInputStream, toBufferedReader, toBufferedReader, toByteArray, toByteArray, toByteArray, toByteArray, toByteArray, toByteArray, toByteArray, toByteArray, toByteArray, toByteArray, toCharArray, toCharArray, toCharArray, toCharArray, toInputStream, toInputStream, toInputStream, toInputStream, toInputStream, toInputStream, toString, toString, toString, toString, toString, toString, toString, toString, toString, toString, toString, toString, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, writeChunked, writeChunked, writeLines, writeLines, writeLines, writeLines, writer
-
Constructor Details
-
IoUtil
public IoUtil()
-
-
Method Details
-
readFile2String
-
read2String
-
read2StringCharset
-
read2Byte
-