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