MCPcopy
hub / github.com/google/guava / openStream

Method openStream

guava/src/com/google/common/io/ByteSource.java:104–104  ·  view source on GitHub ↗

Opens a new {@link InputStream} for reading from this source. This method returns a new, independent stream each time it is called. <p>The caller is responsible for ensuring that the returned stream is closed. @throws IOException if an I/O error occurs while opening the stream

()

Source from the content-addressed store, hash-verified

102 * @throws IOException if an I/O error occurs while opening the stream
103 */
104 public abstract InputStream openStream() throws IOException;
105
106 /**
107 * Opens a new buffered {@link InputStream} for reading from this source. The returned stream is

Callers 10

openBufferedStreamMethod · 0.95
isEmptyMethod · 0.95
sizeMethod · 0.95
copyToMethod · 0.95
readMethod · 0.95
contentEqualsMethod · 0.95
testReadSingleByteMethod · 0.95
openStreamMethod · 0.45
openStreamMethod · 0.45

Calls

no outgoing calls

Tested by 2

testReadSingleByteMethod · 0.76