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