org.fusesource.hawtjni.generator.util
Class FileSupport

java.lang.Object
  extended by org.fusesource.hawtjni.generator.util.FileSupport

public class FileSupport
extends Object

Author:
Hiram Chirino

Constructor Summary
FileSupport()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSupport

public FileSupport()
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


Copyright © 2009-2011 FuseSource, Corp.. All Rights Reserved.