Searched refs:InputStream (Results 1 - 25 of 236) sorted by relevance

12345678910

/libcore/luni/src/main/java/java/lang/
H A DProcess.java20 import java.io.InputStream;
50 * InputStream in = process.getInputStream();
84 public abstract InputStream getErrorStream();
93 public abstract InputStream getInputStream();
/libcore/luni/src/test/java/tests/api/org/xml/sax/support/
H A DBrokenInputStream.java20 import java.io.InputStream;
23 * Implements an InputStream what wraps another InputStream and throws an
27 public class BrokenInputStream extends InputStream {
29 private InputStream stream;
33 public BrokenInputStream(InputStream stream, int offset) {
/libcore/luni/src/main/java/java/security/cert/
H A DCertificateFactorySpi.java20 import java.io.InputStream;
50 public abstract Certificate engineGenerateCertificate(InputStream inStream)
64 engineGenerateCertificates(InputStream inStream) throws CertificateException;
76 public abstract CRL engineGenerateCRL(InputStream inStream)
90 engineGenerateCRLs(InputStream inStream) throws CRLException;
93 * Generates a {@code CertPath} from the provided {@code InputStream}. The
102 public CertPath engineGenerateCertPath(InputStream inStream)
109 * InputStream} in the specified encoding.
122 public CertPath engineGenerateCertPath(InputStream inStream, String encoding)
H A DCertificateFactory.java20 import java.io.InputStream;
193 public final Certificate generateCertificate(InputStream inStream)
211 * {@code InputStream}. The default encoding scheme is applied.
214 * {@code InputStream} with encoded data.
219 public final CertPath generateCertPath(InputStream inStream) throws CertificateException {
229 * {@code InputStream} and the specified encoding scheme.
232 * {@code InputStream} containing certificate path data in
242 public final CertPath generateCertPath(InputStream inStream, String encoding)
276 public final Collection<? extends Certificate> generateCertificates(InputStream inStream)
291 public final CRL generateCRL(InputStream inStrea
[all...]
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DSSLStreamedInput.java21 import java.io.InputStream;
25 * the bytes from another InputStream.
29 private InputStream in;
31 public SSLStreamedInput(InputStream in) {
/libcore/luni/src/main/java/java/io/
H A DSequenceInputStream.java25 * Concatenates two or more existing {@link InputStream}s. Reads are taken from
29 public class SequenceInputStream extends InputStream {
31 * An enumeration which will return types of InputStream.
33 private Enumeration<? extends InputStream> e;
38 private InputStream in;
51 public SequenceInputStream(InputStream s1, InputStream s2) {
55 Vector<InputStream> inVector = new Vector<InputStream>(1);
64 * {@code e.nextElement()} must be of type {@link InputStream}
[all...]
H A DFilterInputStream.java21 * Wraps an existing {@link InputStream} and performs some transformation on
30 public class FilterInputStream extends InputStream {
35 protected volatile InputStream in;
47 protected FilterInputStream(InputStream in) {
/libcore/luni/src/main/java/java/net/
H A DCacheResponse.java20 import java.io.InputStream;
26 * InputStream} to access the response body and a {@code Map} for the response headers.
31 * Returns an {@code InputStream} to access the response body.
33 * @return an {@code InputStream} which can be used to fetch the response
39 public abstract InputStream getBody() throws IOException;
/libcore/luni/src/main/java/org/xml/sax/
H A DInputSource.java8 import java.io.InputStream;
57 * @see java.io.InputStream
114 public InputSource (InputStream byteStream)
233 * @see java.io.InputStream
235 public void setByteStream (InputStream byteStream)
251 public InputStream getByteStream ()
332 private InputStream byteStream;
/libcore/luni/src/main/java/java/sql/
H A DBlob.java20 import java.io.InputStream;
38 * @return a binary {@code InputStream} giving access to the {@code Blob}
43 public InputStream getBinaryStream() throws SQLException;
49 * @return a binary {@code InputStream} giving access to the {@code Blob}
54 public InputStream getBinaryStream(long pos, long length) throws SQLException;
124 * @return a binary {@code InputStream} which can be used to write data into
H A DPreparedStatement.java20 import java.io.InputStream;
147 * {@code InputStream}, which has a specified number of bytes.
151 * InputStream} until end-of-file is reached or the specified number of
158 * the ASCII {@code InputStream} carrying the data to which the
161 * the number of bytes in the {@code InputStream} to copy to the
166 public void setAsciiStream(int parameterIndex, InputStream theInputStream,
188 * binary {@code InputStream}, which has a specified number of bytes.
197 * the binary {@code InputStream} carrying the data to update the
200 * the number of bytes in the {@code InputStream} to copy to the
205 public void setBinaryStream(int parameterIndex, InputStream theInputStrea
[all...]
H A DResultSet.java20 import java.io.InputStream;
267 * @return an {@code InputStream} with the data from the column.
271 public InputStream getAsciiStream(int columnIndex) throws SQLException;
279 * @return an {@code InputStream} with the data from the column.
283 public InputStream getAsciiStream(String columnName) throws SQLException;
350 * data in the {@code InputStream} should be read before getting data from
352 * the {@code InputStream}.
356 * @return an {@code InputStream} with the data from the column. If the
361 public InputStream getBinaryStream(int columnIndex) throws SQLException;
367 * data in the {@code InputStream} shoul
[all...]
/libcore/luni/src/main/java/libcore/net/url/
H A DFtpURLInputStream.java21 import java.io.InputStream;
29 class FtpURLInputStream extends InputStream {
31 private InputStream is; // Actual input stream
35 public FtpURLInputStream(InputStream is, Socket controlSocket) {
/libcore/luni/src/test/java/libcore/io/
H A DStrictLineReaderTest.java24 import java.io.InputStream;
25 import java.io.InputStream;
35 InputStream refStream = createTestInputStream();
64 private InputStream createTestInputStream() {
/libcore/luni/src/main/java/java/security/
H A DCertificate.java21 import java.io.InputStream;
37 * Decodes a certificate from the given {@code InputStream}. The format of
42 * the {@code InputStream} to read from.
50 public void decode(InputStream stream) throws KeyException, IOException;
54 * {@link #decode(InputStream)} method must be able to decode the format
63 * @see #decode(InputStream)
/libcore/luni/src/main/java/javax/xml/transform/stream/
H A DStreamSource.java23 import java.io.InputStream;
31 * <p><em>Note:</em> Due to their internal use of either a {@link Reader} or {@link InputStream} instance,
49 * {@link #setInputStream(java.io.InputStream inputStream)} or
52 * create an empty source {@link java.io.InputStream} using
53 * {@link java.io.InputStream#InputStream() new InputStream()}.</p>
69 * @param inputStream A valid InputStream reference to an XML stream.
71 public StreamSource(InputStream inputStream) {
85 * @param inputStream A valid InputStream referenc
[all...]
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
H A DMyCertificateFactorySpi.java26 import java.io.InputStream;
66 public Certificate engineGenerateCertificate(InputStream inStream)
75 public Collection engineGenerateCertificates(InputStream inStream)
83 public CRL engineGenerateCRL(InputStream inStream) throws CRLException {
91 public Collection engineGenerateCRLs(InputStream inStream)
99 public CertPath engineGenerateCertPath(InputStream inStream)
111 public CertPath engineGenerateCertPath(InputStream inStream, String encoding)
/libcore/luni/src/main/java/org/w3c/dom/ls/
H A DLSInput.java83 public java.io.InputStream getByteStream();
92 public void setByteStream(java.io.InputStream byteStream);
/libcore/luni/src/main/java/libcore/net/http/
H A DAbstractHttpInputStream.java20 import java.io.InputStream;
35 abstract class AbstractHttpInputStream extends InputStream {
36 protected final InputStream in;
42 AbstractHttpInputStream(InputStream in, HttpEngine httpEngine,
/libcore/luni/src/test/java/tests/api/java/lang/reflect/
H A DGenericSignatureFormatErrorTest.java12 import java.io.InputStream;
30 InputStream is = this.getClass().getResourceAsStream("dex1.bytes");
61 InputStream is = this.getClass().getResourceAsStream("dex1.bytes");
90 private void copy(InputStream is, OutputStream os) {
/libcore/luni/src/main/java/libcore/io/
H A DStreams.java22 import java.io.InputStream;
35 * Implements InputStream.read(int) in terms of InputStream.read(byte[], int, int).
36 * InputStream assumes that you implement InputStream.read(int) and provides default
39 public static int readSingleByte(InputStream in) throws IOException {
59 public static void readFully(InputStream in, byte[] dst) throws IOException {
69 public static void readFully(InputStream in, byte[] dst, int offset, int byteCount) throws IOException {
93 public static byte[] readFully(InputStream in) throws IOException {
104 public static byte[] readFullyNoClose(InputStream i
[all...]
H A DStrictLineReader.java22 import java.io.InputStream;
28 * Buffers input from an {@link InputStream} for reading lines.
49 private final InputStream in;
56 * {@code InputStream} throws an {@code IOException}, end may remain as either pos or -1.
65 * @param in the {@code InputStream} to read data from.
68 public StrictLineReader(InputStream in) {
75 * @param in the {@code InputStream} to read data from.
80 public StrictLineReader(InputStream in, int capacity) {
87 * @param in the {@code InputStream} to read data from.
93 public StrictLineReader(InputStream i
[all...]
/libcore/luni/src/test/java/libcore/java/io/
H A DOldAndroidByteArrayInputStreamTest.java21 import java.io.InputStream;
44 public static String read(InputStream a) throws IOException {
55 public static String read(InputStream a, int x) throws IOException {
64 public static String skipRead(InputStream a) throws IOException {
76 public static String markRead(InputStream a, int x, int y) throws IOException {
/libcore/luni/src/test/java/libcore/java/util/jar/
H A DOldJarInputStreamTest.java24 import java.io.InputStream;
35 InputStream is = new BufferedInputStream(new ByteArrayInputStream(new byte[0]));
47 public Mock_JarInputStream(InputStream in) throws IOException {
59 InputStream is = Support_Resources.getStream("Broken_entry.jar");
67 InputStream is = Support_Resources.getStream("Broken_entry_data.jar");
/libcore/luni/src/test/java/libcore/javax/crypto/
H A DCipherInputStreamTest.java22 import java.io.InputStream;
44 InputStream in = new CipherInputStream(
53 InputStream in = new CipherInputStream(new ByteArrayInputStream(cipherText), cipher);
61 InputStream in = new CipherInputStream(new ByteArrayInputStream(cipherText), cipher);
65 private byte[] readAll(InputStream in) throws IOException {

Completed in 789 milliseconds

12345678910