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
Constructors Constructor Description DisposableResource(com.google.common.io.ByteSource resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose()InputStreamgetInputStream()
-
-
-
Method Detail
-
dispose
public void dispose() throws IOException- Specified by:
disposein interfaceDisposableInputStreamSource- Throws:
IOException
-
getInputStream
public InputStream getInputStream() throws IOException
- Specified by:
getInputStreamin interfaceDisposableInputStreamSource- Throws:
IOException
-
-