public class FormatsQuery extends Query
NativeObject.InitializerdefaultInit, LIFECYCLE, ownsHandle| Constructor and Description |
|---|
FormatsQuery()
Constructs a new query object for querying formats of the stream.
|
FormatsQuery(NativeObject.Initializer init) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCount()
Gets the number of formats in this query.
|
Format |
getFormat(int index)
Gets a format at
index. |
java.util.List<Format> |
getFormats()
Gets all formats in this query.
|
void |
setFormats(Format... formats)
Sets the formats query result fields.
|
getStructure, makeWritabledisposeNativeHandle, isWritable, makeWritable, ref, unrefclassFor, disown, dispose, equals, finalize, getNativeAddress, handle, hashCode, initializer, initializer, instanceFor, invalidate, isDisposed, nativeValue, objectFor, objectFor, objectFor, objectFor, toStringpublic FormatsQuery()
public FormatsQuery(NativeObject.Initializer init)
public void setFormats(Format... formats)
formats - the formats to set.public int getCount()
public Format getFormat(int index)
index.index - the index of the format to retrieve.