Class FileSupport
- java.lang.Object
-
- org.fusesource.hawtjni.generator.util.FileSupport
-
public class FileSupport extends Object
- Author:
- Hiram Chirino
-
-
Constructor Summary
Constructors Constructor Description FileSupport()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidclose(InputStream is)static voidclose(OutputStream ioss)static voidcopy(InputStream is, OutputStream os)static booleanequals(byte[] bytes, File file)static booleanequals(InputStream is1, InputStream is2)static booleanwrite(byte[] bytes, File file)
-
-
-
Method Detail
-
write
public static boolean write(byte[] bytes, File file) throws IOException- Throws:
IOException
-
copy
public static void copy(InputStream is, OutputStream os) throws IOException
- Throws:
IOException
-
equals
public static boolean equals(byte[] bytes, File file) throws IOException- Throws:
IOException
-
close
public static void close(InputStream is)
-
close
public static void close(OutputStream ioss)
-
equals
public static boolean equals(InputStream is1, InputStream is2) throws IOException
- Throws:
IOException
-
-