public class FileUtil extends Object
| Constructor and Description |
|---|
FileUtil() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
read(File file) |
static byte[] |
read(String path) |
static byte[] |
read(URL url) |
static void |
write(String path) |
static void |
write(String file,
byte[] content) |
static void |
write(String file,
String content) |
public static void write(String file, String content) throws IOException
IOExceptionpublic static void write(String file, byte[] content) throws IOException
IOExceptionpublic static void write(String path) throws IOException
IOExceptionpublic static byte[] read(URL url) throws IOException
IOExceptionpublic static byte[] read(String path) throws IOException
IOExceptionpublic static byte[] read(File file) throws IOException
IOExceptionCopyright © 2015 Jasig. All Rights Reserved.