public class FileUtil extends Object
Constructor and Description |
---|
FileUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
copy(InputStream in,
FileOutputStream out) |
static String |
read(InputStream inputStream) |
static String |
readFile(File file) |
public static String readFile(File file) throws IOException
IOException
public static String read(InputStream inputStream) throws IOException
IOException
public static void copy(InputStream in, FileOutputStream out) throws IOException
IOException
Copyright © 2025. All rights reserved.