public class IoUtils extends Object
| Constructor and Description |
|---|
IoUtils() |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
readLines(Reader input) |
static byte[] |
tryDecompress(InputStream raw) |
static void |
writeStringToFile(File file,
String data,
String encoding) |
public static byte[] tryDecompress(InputStream raw) throws Exception
Exceptionpublic static void writeStringToFile(File file, String data, String encoding) throws IOException
IOExceptionpublic static List<String> readLines(Reader input) throws IOException
IOExceptionCopyright © 2018–2019 Alibaba Group. All rights reserved.