libgdx API

com.badlogic.gdx
Class StreamUtils

java.lang.Object
  extended by com.badlogic.gdx.StreamUtils

public class StreamUtils
extends java.lang.Object

Provides utility methods to work streams


Constructor Summary
StreamUtils()
           
 
Method Summary
static void copyStream(java.io.InputStream input, java.io.OutputStream output)
          Copy the data from an InputStream to an OutputStream.
static void copyStream(java.io.InputStream input, java.io.OutputStream output, int bufferSize)
          Copy the data from an InputStream to an OutputStream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamUtils

public StreamUtils()
Method Detail

copyStream

public static void copyStream(java.io.InputStream input,
                              java.io.OutputStream output)
                       throws java.io.IOException
Copy the data from an InputStream to an OutputStream.

Throws:
java.io.IOException

copyStream

public static void copyStream(java.io.InputStream input,
                              java.io.OutputStream output,
                              int bufferSize)
                       throws java.io.IOException
Copy the data from an InputStream to an OutputStream.

Throws:
java.io.IOException

libgdx API

Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)