public class FileSupport extends Object
| Constructor and Description |
|---|
FileSupport() |
| Modifier and Type | Method and Description |
|---|---|
static void |
close(InputStream is) |
static void |
close(OutputStream ioss) |
static void |
copy(InputStream is,
OutputStream os) |
static boolean |
equals(byte[] bytes,
File file) |
static boolean |
equals(InputStream is1,
InputStream is2) |
static boolean |
write(byte[] bytes,
File file) |
public FileSupport()
public static boolean write(byte[] bytes, File file) throws IOException
IOExceptionpublic static void copy(InputStream is, OutputStream os) throws IOException
IOExceptionpublic static boolean equals(byte[] bytes, File file) throws IOException
IOExceptionpublic static void close(InputStream is)
public static void close(OutputStream ioss)
public static boolean equals(InputStream is1, InputStream is2) throws IOException
IOExceptionCopyright © 2009–2017 FuseSource, Corp.. All rights reserved.