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
DAMException
default void close() throws IOException
close
in interface AutoCloseable
close
in interface Closeable
IOException