Package com.cumulocity.model.io
Class DisposableInputStreamSource.DisposableResource
java.lang.Object
com.cumulocity.model.io.DisposableInputStreamSource.DisposableResource
- All Implemented Interfaces:
DisposableInputStreamSource
- Enclosing interface:
- DisposableInputStreamSource
public static class DisposableInputStreamSource.DisposableResource
extends Object
implements DisposableInputStreamSource
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.cumulocity.model.io.DisposableInputStreamSource
DisposableInputStreamSource.DisposableResource, DisposableInputStreamSource.LazyInputStreamSource
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DisposableResource
public DisposableResource(com.google.common.io.ByteSource resource)
-
-
Method Details
-
dispose
- Specified by:
dispose
in interfaceDisposableInputStreamSource
- Throws:
IOException
-
getInputStream
- Specified by:
getInputStream
in interfaceDisposableInputStreamSource
- Throws:
IOException
-