@ParametersAreNonnullByDefault
public final class Source
extends Object
A data source along with some optional content hints.
-
Constructor Summary
Constructors
-
Method Summary
Optional<org.opencastproject.util.MimeType>
mk(URI uri,
Long size,
org.opencastproject.util.MimeType mimeType)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
-
-
mk
public static Source mk(URI uri,
Long size,
org.opencastproject.util.MimeType mimeType)
Create a new source.
-
-
-
-
getMimeType
public Optional<org.opencastproject.util.MimeType> getMimeType()