Bartosz Firyn (SarXos)

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

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

public class LtiCivilLoader
extends Object


Constructor Summary
LtiCivilLoader()
           
 
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LtiCivilLoader

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

Bartosz Firyn (SarXos)

Copyright © 2012-2013 Bartosz Firyn (SarXos). All Rights Reserved.