/libcore/luni/src/main/java/java/io/ |
H A D | InputStream.java | 42 * <h3>Subclassing InputStream</h3> 54 public abstract class InputStream extends Object implements Closeable { class in inherits:Object,Closeable 60 public InputStream() { method in class:InputStream 94 * <p>The default implementation of this method in {@code InputStream} always returns 0. 117 * Sets a mark position in this InputStream. The parameter {@code readlimit}
|
/libcore/luni/src/main/java/java/security/ |
H A D | DigestInputStream.java | 22 import java.io.InputStream; 50 public DigestInputStream(InputStream stream, MessageDigest digest) {
|
/libcore/luni/src/main/java/java/sql/ |
H A D | Clob.java | 20 import java.io.InputStream; 40 * @return an ASCII {@code InputStream} giving access to the 45 public InputStream getAsciiStream() throws SQLException;
|
H A D | SQLXML.java | 20 import java.io.InputStream; 43 InputStream getBinaryStream() throws SQLException;
|
H A D | SQLInput.java | 20 import java.io.InputStream; 201 * character stream embodied as a {@code java.io.InputStream}. 203 * @return the next attribute as a {@code java.io.InputStream}. {@code null} 207 * @see java.io.InputStream 209 public InputStream readAsciiStream() throws SQLException; 213 * embodied as a {@code java.io.InputStream}. 215 * @return the next attribute as a {@code java.io.InputStream}. {@code null} 219 * @see java.io.InputStream 221 public InputStream readBinaryStream() throws SQLException;
|
H A D | SQLOutput.java | 20 import java.io.InputStream; 192 * java.io.InputStream} object 196 public void writeAsciiStream(InputStream theStream) throws SQLException; 202 * the stream of bytes to write, as a {@code java.io.InputStream} 207 public void writeBinaryStream(InputStream theStream) throws SQLException;
|
/libcore/luni/src/main/java/java/util/zip/ |
H A D | CheckedInputStream.java | 21 import java.io.InputStream; 35 * Constructs a new {@code CheckedInputStream} on {@code InputStream} 47 public CheckedInputStream(InputStream is, Checksum csum) {
|
H A D | DeflaterInputStream.java | 22 import java.io.InputStream; 27 * An {@code InputStream} filter to compress data. Callers read 46 * @param in the source {@code InputStream} 48 public DeflaterInputStream(InputStream in) { 57 * @param in the source {@code InputStream} 60 public DeflaterInputStream(InputStream in, Deflater deflater) { 69 * @param in the source {@code InputStream} 73 public DeflaterInputStream(InputStream in, Deflater deflater, int bufferSize) { 167 * {@link InputStream#available()}, and violates the <a
|
/libcore/luni/src/main/java/libcore/net/http/ |
H A D | UnknownLengthHttpInputStream.java | 20 import java.io.InputStream; 30 UnknownLengthHttpInputStream(InputStream is, CacheRequest cacheRequest,
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
H A D | CipherInputStreamTest.java | 22 import java.io.InputStream; 59 new CipherInputStream(new BufferedInputStream((InputStream) null),
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
H A D | CertificateStub.java | 26 import java.io.InputStream; 53 * @see java.security.Certificate#decode(java.io.InputStream) 55 public void decode(InputStream stream) throws KeyException,
|
/libcore/support/src/test/java/tests/support/ |
H A D | Support_ASimpleInputStream.java | 4 import java.io.InputStream; 7 * An implementation of {@code InputStream} that should serve as the 12 public class Support_ASimpleInputStream extends InputStream {
|
/libcore/luni/src/test/etc/loading-test-jar/ |
H A D | TestMethods.java | 22 import java.io.InputStream; 66 public static byte[] readFully(InputStream in) throws IOException { 128 InputStream in = cl.getResourceAsStream("test/Resource1.txt"); 184 InputStream in = cl.getResourceAsStream("test2/Resource2.txt");
|
/libcore/luni/src/test/java/tests/api/java/lang/ |
H A D | Process2Test.java | 25 import java.io.InputStream; 52 InputStream is = process.getErrorStream(); 71 InputStream is = erProcess.getErrorStream();
|
/libcore/luni/src/test/java/libcore/java/io/ |
H A D | OldAndroidPushbackInputStreamTest.java | 21 import java.io.InputStream; 58 public static String read(InputStream a) throws IOException { 69 public static String read(InputStream a, int x) throws IOException { 78 public static String skipRead(InputStream a) throws IOException { 90 public static String markRead(InputStream a, int x, int y) throws IOException {
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
H A D | DeflaterInputStreamTest.java | 22 import java.io.InputStream; 32 InputStream in = new DeflaterInputStream(new ByteArrayInputStream(data)); 53 java.io.InputStream in = new InflaterInputStream(new ByteArrayInputStream(bytes)); 66 InputStream in = new DeflaterInputStream(new ByteArrayInputStream(data)); 89 InputStream in = new DeflaterInputStream(new ByteArrayInputStream(data));
|
H A D | OldZipFileTest.java | 28 import java.io.InputStream; 38 public byte[] getAllBytesFromStream(InputStream is) throws IOException { 61 InputStream in; 67 * Android delivers empty InputStream, RI no InputStream at all. The 91 InputStream is1 = zf.getInputStream(zf.getEntry("File1.txt")); 92 InputStream is2 = zf.getInputStream(zf.getEntry("File2.txt")); 131 // Test for method java.io.InputStream 134 InputStream is = null; 164 InputStream i [all...] |
/libcore/support/src/test/java/tests/support/resource/ |
H A D | Support_Resources.java | 25 import java.io.InputStream; 37 public static InputStream getStream(String name) { 40 InputStream result = Support_Resources.class.getResourceAsStream(path); 112 InputStream in = Support_Resources.getStream(folder == null ? file 131 public static void copyLocalFileto(File dest, InputStream in) throws IOException { 141 private static int copy(InputStream in, OutputStream out) throws IOException { 154 InputStream in = new URL(url).openStream(); 170 public static InputStream getResourceStream(String name) { 171 InputStream is = Support_Resources.class.getResourceAsStream(name); 189 InputStream xm [all...] |
/libcore/luni/src/main/java/javax/sql/ |
H A D | RowSet.java | 20 import java.io.InputStream; 277 * with the ASCII data in the supplied {@code java.io.InputStream} value. 278 * Data is read from the {@code InputStream} until end-of-file is reached. 290 public void setAsciiStream(int parameterIndex, InputStream theInputStream, 295 * ASCII data in the supplied java.io.InputStream value. Data is read from 296 * the InputStream until end-of-file is reached. 302 * an InputStream containing the ASCII data to set into the 308 public void setAsciiStream(int parameterIndex, InputStream theInputStream) 313 * ASCII data in the supplied java.io.InputStream value. Data is read from 314 * the InputStream unti [all...] |
/libcore/luni/src/main/java/java/nio/channels/ |
H A D | Channels.java | 21 import java.io.InputStream; 55 * the channel to be wrapped by an InputStream. 56 * @return an InputStream that takes bytes from the given byte channel. 58 public static InputStream newInputStream(ReadableByteChannel channel) { 95 public static ReadableByteChannel newChannel(InputStream inputStream) { 204 private static class ChannelInputStream extends InputStream { 288 private final InputStream inputStream; 290 InputStreamChannel(InputStream inputStream) {
|
/libcore/luni/src/main/java/javax/crypto/ |
H A D | CipherInputStream.java | 22 import java.io.InputStream; 27 * This class wraps an {@code InputStream} and a cipher so that {@code read()} 28 * methods return data that are read from the underlying {@code InputStream} and 49 * InputStream} and a cipher. 60 public CipherInputStream(InputStream is, Cipher c) { 67 * InputStream} without a cipher. 74 protected CipherInputStream(InputStream is) {
|
/libcore/luni/src/main/java/javax/xml/parsers/ |
H A D | DocumentBuilder.java | 24 import java.io.InputStream; 87 * Parse the content of the given <code>InputStream</code> as an XML 90 * <code>InputStream</code> is null. 92 * @param is InputStream containing the content to be parsed. 94 * <code>InputStream</code> 100 public Document parse(InputStream is) 103 throw new IllegalArgumentException("InputStream cannot be null"); 111 * Parse the content of the given <code>InputStream</code> as an 114 * <code>InputStream</code> is null. 116 * @param is InputStream containin [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
H A D | ASN1Type.java | 26 import java.io.InputStream; 90 public final Object decode(InputStream in) throws IOException { 100 public final void verify(InputStream in) throws IOException {
|
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | OldUnixSocketTest.java | 21 import java.io.InputStream; 48 InputStream in = worker.getInputStream(); 54 InputStream clientIn = pingClient.getInputStream();
|
/libcore/luni/src/test/java/libcore/sqlite/ |
H A D | OldBlobTest.java | 23 import java.io.InputStream; 93 InputStream is = blob.getInputStream(); 103 InputStream in = testBlob.getInputStream();
|