com.sun.opengl.util
Class StreamUtil

java.lang.Object
  extended by com.sun.opengl.util.StreamUtil

public class StreamUtil
extends Object

Utilities for dealing with streams.


Method Summary
static byte[] readAll2Array(InputStream stream)
           
static ByteBuffer readAll2Buffer(InputStream stream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

readAll2Array

public static byte[] readAll2Array(InputStream stream)
                            throws IOException
Throws:
IOException

readAll2Buffer

public static ByteBuffer readAll2Buffer(InputStream stream)
                                 throws IOException
Throws:
IOException


Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.