TrueUpdate Core 0.1.7

net.java.trueupdate.core.io
Class Copy

java.lang.Object
  extended by net.java.trueupdate.core.io.Copy

@Immutable
public final class Copy
extends Object

Provides a poor man's copy algorithm. The implementation in this class is suitable for only small amounts of data, say a few kilobytes.

Author:
Christian Schlichtherle (copied from TrueLicense Core 2.3.1)

Method Summary
static void copy(Source source, Sink sink)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

copy

public static void copy(Source source,
                        Sink sink)
                 throws IOException
Throws:
IOException

TrueUpdate Core 0.1.7

Copyright © 2013 Stimulus Software. All rights reserved.