public interface MediaContent extends Closeable
MediaContent.| Modifier and Type | Method and Description |
|---|---|
default void |
close() |
void |
closeInputStream()
Close the input stream.
|
long |
getContentLength()
Returns the content length.
|
InputStream |
getInputStream()
Returns the input stream.
|
InputStream getInputStream()
long getContentLength()
void closeInputStream()
throws DAMException
DAMExceptiondefault void close()
throws IOException
close in interface AutoCloseableclose in interface CloseableIOException