Interface IWrappedReadableResource
- All Superinterfaces:
IHasInputStream,IHasInputStreamAndReader,IReadableResource,IResourceBase
- All Known Implementing Classes:
AbstractWrappedReadableResource,GZIPReadableResource
Interface for readable resources that are "wrapped".
- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanCheck if theInputStreamfromIHasInputStream.getInputStream()andIHasInputStream.getBufferedInputStream()can be acquired more than once.Methods inherited from interface com.helger.commons.io.IHasInputStream
getBufferedInputStream, getInputStream, withBufferedInputStreamDo, withInputStreamDoMethods inherited from interface com.helger.commons.io.IHasInputStreamAndReader
getBufferedReader, getReaderMethods inherited from interface com.helger.commons.io.resource.IReadableResource
getReadableCloneForPathMethods inherited from interface com.helger.commons.io.resource.IResourceBase
exists, getAsFile, getAsURL, getPath, getResourceID
-
Method Details
-
getWrappedReadableResource
- Returns:
- The wrapped resource. May not be
null.
-
isReadMultiple
default boolean isReadMultiple()Description copied from interface:IHasInputStreamCheck if theInputStreamfromIHasInputStream.getInputStream()andIHasInputStream.getBufferedInputStream()can be acquired more than once.- Specified by:
isReadMultiplein interfaceIHasInputStream- Returns:
trueif the input stream can be acquired more than once,falseif not.
-