Interface MediaContent
-
- All Superinterfaces:
java.lang.AutoCloseable
,java.io.Closeable
public interface MediaContent extends java.io.Closeable
Contains methods related toMediaContent
.- Since:
- 1.6.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
close()
void
closeInputStream()
Close the input stream.long
getContentLength()
Returns the content length.java.io.InputStream
getInputStream()
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 DAMException
Close the input stream.- Throws:
DAMException
-
close
default void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Throws:
java.io.IOException
-
-