com.github.sarxos.webcam.ds.civil
Class CivilLoader

java.lang.Object
  extended by com.github.sarxos.webcam.ds.civil.CivilLoader

public class CivilLoader
extends Object


Constructor Summary
CivilLoader()
           
 
Method Summary
static long copy(InputStream input, OutputStream output)
          Copy bytes from a large (over 2GB) InputStream to an OutputStream.
static void load(String lib)
           
static void load(String path, String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CivilLoader

public CivilLoader()
Method Detail

copy

public static long copy(InputStream input,
                        OutputStream output)
                 throws IOException
Copy bytes from a large (over 2GB) InputStream to an OutputStream.

Parameters:
input - the InputStream to read from
output - the OutputStream to write to
Returns:
the number of bytes copied
Throws:
NullPointerException - if the input or output is null
IOException - if an I/O error occurs

load

public static void load(String lib)

load

public static void load(String path,
                        String name)


Copyright © 2012. All Rights Reserved.