public interface IHasOutputStream
OutputStream objects.| Modifier and Type | Method and Description |
|---|---|
default OutputStream |
getBufferedOutputStream(EAppend eAppend)
Get the output stream to read from the object.
|
OutputStream |
getOutputStream(EAppend eAppend)
Get the output stream to read from the object.
|
boolean |
isWriteMultiple()
Check if the
OutputStream from getOutputStream(EAppend) or
getBufferedOutputStream(EAppend) can be acquired more than once or
not. |
@Nullable OutputStream getOutputStream(@Nonnull EAppend eAppend)
OutputStream needs to be created!eAppend - appending mode. May not be null.null if resolving failed.@Nullable default OutputStream getBufferedOutputStream(@Nonnull EAppend eAppend)
OutputStream needs to be created. Internally invokes
getOutputStream(EAppend).eAppend - appending mode. May not be null.null if resolving failed.boolean isWriteMultiple()
OutputStream from getOutputStream(EAppend) or
getBufferedOutputStream(EAppend) can be acquired more than once or
not.true if the output stream can be acquired more than
once, false if not.Copyright © 2014–2022 Philip Helger. All rights reserved.