List of usage examples for java.io InputStream subclass-usage
From source file FastByteArrayInputStream.java
public class FastByteArrayInputStream extends InputStream { /** * Our byte buffer */ protected byte[] buf = null;
From source file org.mule.modules.FtpConnectionClosingStream.java
/**
* Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com
*
* The software in this package is published under the terms of the CPAL v1.0
* license, a copy of which has been included with this distribution in the
* LICENSE.md file.
From source file Base64DecodeStream.java
/**
* This class implements a Base64 Character decoder as specified in RFC1113.
* Unlike some other encoding schemes there is nothing in this encoding that
* tells the decoder where a buffer starts or stops, so to use it you will need
* to isolate your encoded data into a single chunk and then feed them
* this decoder. The simplest way to do that is to read all of the encoded
From source file RandomInputStream.java
/** * Originally written by Elliotte Rusty Harold for the book Java I/O 2nd edition. * @author subwiz */ public class RandomInputStream extends InputStream {
From source file AutoCloseInputStream.java
/** * This input stream wrapper closes the base input stream when fully read. */ public class AutoCloseInputStream extends InputStream { private final InputStream in;
From source file CountInputStream.java
/** * count the number of bytes read through the stream */ public class CountInputStream extends InputStream { long count = 0;
From source file Main.java
class ByteBufferBackedInputStream extends InputStream { ByteBuffer buf; ByteBufferBackedInputStream(ByteBuffer buf) { this.buf = buf;
From source file at.beris.virtualfile.client.ftp.FtpInputStream.java
public class FtpInputStream extends InputStream { private InputStream inputStream; private FTPClient ftpClient; public FtpInputStream(InputStream inputStream, FTPClient ftpClient) { this.inputStream = inputStream;
From source file com.joyent.test.util.RandomInputStream.java
/** * {@link InputStream} implementation that generates random data. * * @author <a href="https://github.com/dekobon">Elijah Zupancic</a> */ public class RandomInputStream extends InputStream {
From source file com.joyent.manta.benchmark.RandomInputStream.java
/** * {@link InputStream} implementation that generates random data. * * @author <a href="https://github.com/dekobon">Elijah Zupancic</a> */ public class RandomInputStream extends InputStream {