Interface MediaContent
-
- All Superinterfaces:
java.lang.AutoCloseable,java.io.Closeable
public interface MediaContent extends java.io.CloseableContains methods related toMediaContent.- Since:
- 1.6.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidclose()voidcloseInputStream()Close the input stream.longgetContentLength()Returns the content length.java.io.InputStreamgetInputStream()Returns the input stream.
-
-
-
Method Detail
-
getInputStream
java.io.InputStream getInputStream()
Returns the input stream.
-
getContentLength
long getContentLength()
Returns the content length.
-
closeInputStream
void closeInputStream() throws DAMExceptionClose the input stream.- Throws:
DAMException
-
close
default void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Throws:
java.io.IOException
-
-