
public class Container extends Configurable
| Modifier and Type | Class and Description |
|---|---|
static class |
Container.Flag
Do not set these flags -- several are used by the internals of Humble Video.
|
| Modifier and Type | Method and Description |
|---|---|
Container |
copyReference()
Create a new Container object that is actually referring to the
exact same underlying native object.
|
boolean |
equals(Object obj)
Compares two values, returning true if the underlying objects in native code are the same object.
|
int |
getNumStreams()
The number of streams in this container.
|
int |
hashCode()
Get a hashable value for this object.
|
String |
toString() |
getNumProperties, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsInt, getPropertyAsLong, getPropertyAsRational, getPropertyAsString, getPropertyMetaData, getPropertyMetaData, setProperty, setProperty, setProperty, setProperty, setProperty, setPropertydelete, getCurrentRefCountpublic Container copyReference()
copyReference in class Configurablepublic boolean equals(Object obj)
equals in class Configurablepublic int hashCode()
hashCode in class Configurablepublic int getNumStreams()
throws InterruptedException,
IOException
If this container is a Source this will query the stream and find out
how many streams are in it.
If the current thread is interrupted while this blocking method
is running the method will return with a negative value.
To check if the method exited because of an interruption
pass the return value to Error#make(int) and then
check Error#getType() to see if it is
Error.Type#ERROR_INTERRUPTED.
InterruptedExceptionIOExceptionCopyright © 2018 Humble Software. All rights reserved.