Class StreamUtilities

java.lang.Object
de.gurkenlabs.litiengine.util.io.StreamUtilities

public final class StreamUtilities
extends java.lang.Object
  • Method Summary

    Modifier and TypeMethodDescription
    static voidcopy​(java.io.File file, java.io.OutputStream out) 
    static voidcopy​(java.io.InputStream in, java.io.File file) 
    static voidcopy​(java.io.InputStream in, java.io.OutputStream out) 
    static byte[]getBytes​(java.io.InputStream in) 

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • copy

      public static void copy​(java.io.File file, java.io.OutputStream out) throws java.io.IOException
      Throws:
      java.io.IOException
    • copy

      public static void copy​(java.io.InputStream in, java.io.File file) throws java.io.IOException
      Throws:
      java.io.IOException
    • copy

      public static void copy​(java.io.InputStream in, java.io.OutputStream out) throws java.io.IOException
      Throws:
      java.io.IOException
    • getBytes

      public static byte[] getBytes​(java.io.InputStream in)