Interface IWrappedWritableResource
- All Superinterfaces:
IHasOutputStream,IHasOutputStreamAndWriter,IResourceBase,IWritableResource
- All Known Implementing Classes:
AbstractWrappedWritableResource,GZIPWritableResource
Interface for writable resources that are "wrapped".
- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanCheck if theOutputStreamfromIHasOutputStream.getOutputStream(EAppend)orIHasOutputStream.getBufferedOutputStream(EAppend)can be acquired more than once or not.Methods inherited from interface com.helger.commons.io.IHasOutputStream
getBufferedOutputStream, getOutputStreamMethods inherited from interface com.helger.commons.io.IHasOutputStreamAndWriter
getBufferedWriter, getWriterMethods inherited from interface com.helger.commons.io.resource.IResourceBase
exists, getAsFile, getAsURL, getPath, getResourceIDMethods inherited from interface com.helger.commons.io.resource.IWritableResource
getWritableCloneForPath
-
Method Details
-
getWrappedWritableResource
- Returns:
- The wrapped resource. May not be
null.
-
isWriteMultiple
default boolean isWriteMultiple()Description copied from interface:IHasOutputStreamCheck if theOutputStreamfromIHasOutputStream.getOutputStream(EAppend)orIHasOutputStream.getBufferedOutputStream(EAppend)can be acquired more than once or not.- Specified by:
isWriteMultiplein interfaceIHasOutputStream- Returns:
trueif the output stream can be acquired more than once,falseif not.
-