Package com.liferay.adaptive.media
Interface AdaptiveMedia<T>
@ProviderType
public interface AdaptiveMedia<T>
Represents content (images, audio, video, and other types of content) along
with a set of attributes which characterize the content.
-
Method Summary
Modifier and TypeMethodDescriptionReturns anInputStreamwith the raw contents of thisAdaptiveMediainstance.getURI()Returns the URI of thisAdaptiveMediainstance.<V> VgetValue(AMAttribute<T, V> amAttribute)
-
Method Details
-
getInputStream
InputStream getInputStream()Returns anInputStreamwith the raw contents of thisAdaptiveMediainstance.- Returns:
- An
InputStreamwith the raw contents of thisAdaptiveMediainstance
-
getURI
URI getURI()Returns the URI of thisAdaptiveMediainstance. The URI can be used by other parts of the system to uniquely identify eachAdaptiveMediainstance. This URI should be treated as an opaque value.- Returns:
- a URI for this
AdaptiveMediainstance
-
getValue
-