List of usage examples for java.io ByteArrayInputStream subclass-usage
From source file org.apache.tapestry5.internal.util.Base64InputStream.java
/** * An extension of {@link ByteArrayInputStream} that is initialized from a Base64 input stream (rather than from a byte * array). */ public class Base64InputStream extends ByteArrayInputStream { public Base64InputStream(String base64) {
From source file com.woonoz.proxy.servlet.BufferOnCreateInputStream.java
public class BufferOnCreateInputStream extends ByteArrayInputStream { public static BufferOnCreateInputStream create(final InputStream inputStream) throws IOException { ByteArrayOutputStream baos = new ByteArrayOutputStream(); IOUtils.copy(inputStream, baos); return new BufferOnCreateInputStream(baos.toByteArray());
From source file ClassReader.java
/**
* This is the class file reader for obtaining the parameter names for declared
* methods in a class. The class must have debugging attributes for us to obtain
* this information.
* <p>
* This does not work for inherited methods. To obtain parameter names for
From source file de.tlabs.ssr.g1.client.XMLChunkInputStream.java
/**
* Class to split continuous input stream into chunks. A split is done every
* time a '\0' character is encountered. The split character is dropped before
* passing the chunk.
*
* @author Peter Bartz
From source file Filter3dTest.java
/**
* The LoopingByteInputStream is a ByteArrayInputStream that loops indefinitly.
* The looping stops when the close() method is called.
* <p>
* Possible ideas to extend this class:
* <ul>
From source file SoundManagerTest.java
/**
* The LoopingByteInputStream is a ByteArrayInputStream that loops indefinitly.
* The looping stops when the close() method is called.
* <p>
* Possible ideas to extend this class:
* <ul>