public interface IHasInputStream
InputStream objects.| Modifier and Type | Method and Description |
|---|---|
default InputStream |
getBufferedInputStream()
Get a buffered input stream to read from the object.
|
InputStream |
getInputStream()
Get the input stream to read from the object.
|
boolean |
isReadMultiple()
Check if the
InputStream from getInputStream() and
getBufferedInputStream() can be acquired more than once. |
@Nullable InputStream getInputStream()
InputStream needs to be created.null if resolving failed.@Nullable default InputStream getBufferedInputStream()
InputStream needs to be created. Internally
invokes getInputStream().null if resolving failed.boolean isReadMultiple()
InputStream from getInputStream() and
getBufferedInputStream() can be acquired more than once.true if the input stream can be acquired more than
once, false if not.Copyright © 2014–2022 Philip Helger. All rights reserved.