A Matroska segment info element. More...
Public Member Functions | |
| fm.liveswitch.NullableDate | getDateUtc () |
| Gets the date in UTC time. More... | |
| fm.liveswitch.NullableFloat | getDuration () |
| Gets the duration. More... | |
| byte[] | getId () |
| Gets the EBML ID. More... | |
| String | getMuxingApp () |
| Gets the muxing application. More... | |
| String | getNextFilename () |
| Gets the next filename. More... | |
| fm.liveswitch.NullableGuid | getNextUid () |
| Gets the next UID. More... | |
| String | getPrevFilename () |
| Gets the previous filename. More... | |
| fm.liveswitch.NullableGuid | getPrevUid () |
| Gets the previous UID. More... | |
| String | getSegmentFilename () |
| Gets the segment filename. More... | |
| fm.liveswitch.NullableGuid | getSegmentUid () |
| Gets the segment UID. More... | |
| long | getTimecodeScale () |
| Gets the timecode scale. More... | |
| String | getTitle () |
| Gets the title. More... | |
| String | getWritingApp () |
| Gets the writing application. More... | |
| void | merge (fm.liveswitch.matroska.SegmentInfo segmentInfo) |
| Merges another fm.liveswitch.matroska.SegmentInfo into this one. More... | |
| SegmentInfo () | |
| Initializes a new instance of the fm.liveswitch.matroska.SegmentInfo class. More... | |
| SegmentInfo (byte[] bytes) | |
| Initializes a new instance of the fm.liveswitch.matroska.SegmentInfo class. More... | |
| void | setDateUtc (fm.liveswitch.NullableDate value) |
| Sets the date in UTC time. More... | |
| void | setDuration (fm.liveswitch.NullableFloat value) |
| Sets the duration. More... | |
| void | setMuxingApp (String value) |
| Sets the muxing application. More... | |
| void | setNextFilename (String value) |
| Sets the next filename. More... | |
| void | setNextUid (fm.liveswitch.NullableGuid value) |
| Sets the next UID. More... | |
| void | setPrevFilename (String value) |
| Sets the previous filename. More... | |
| void | setPrevUid (fm.liveswitch.NullableGuid value) |
| Sets the previous UID. More... | |
| void | setSegmentFilename (String value) |
| Sets the segment filename. More... | |
| void | setSegmentUid (fm.liveswitch.NullableGuid value) |
| Sets the segment UID. More... | |
| void | setTimecodeScale (long value) |
| Sets the timecode scale. More... | |
| void | setTitle (String value) |
| Sets the title. More... | |
| void | setWritingApp (String value) |
| Sets the writing application. More... | |
Public Member Functions inherited from fm.liveswitch.matroska.Element | |
| byte[] | getBytes () |
| Serializes to a byte array. More... | |
| int | getLength () |
| Gets the total length of the element (including ID/size field), set after calling fm.liveswitch.matroska.Element#getBytes. More... | |
| int | getSize () |
| Gets the size of the element (excluding ID/size field), set after calling fm.liveswitch.matroska.Element#getBytes. More... | |
| int | getSizeLength () |
| Gets the length of the size field, in bytes. More... | |
| boolean | getWriteDefaultValues () |
| Gets whether to include default values when serializing. More... | |
| void | setSizeLength (int value) |
| Sets the length of the size field, in bytes. More... | |
| void | setWriteDefaultValues (boolean value) |
| Sets whether to include default values when serializing. More... | |
Static Public Member Functions | |
| static long | getDefaultTimecodeScale () |
| Gets the default timecode scale. More... | |
| static byte[] | getEbmlId () |
| Gets the EBML ID. More... | |
Static Public Member Functions inherited from fm.liveswitch.matroska.Element | |
| static boolean | compare (byte[] bytes1, byte[] bytes2) |
| Compares two byte arrays for equality. More... | |
| static boolean | readBool (byte[] value) |
| Reads a boolean element from the stream. More... | |
| static java.util.Date | readDate (byte[] value) |
| Reads a date string element from the stream. More... | |
| static double | readDouble (byte[] value) |
| Reads a double element from the stream. More... | |
| static float | readFloat (byte[] value) |
| Reads a float element from the stream. More... | |
| static fm.liveswitch.Guid | readGuid (byte[] value) |
| Reads a GUID element from the stream. More... | |
| static byte[] | readId (byte[] bytes, int offset, fm.liveswitch.IntegerHolder offsetPlus) |
| Reads a binary ID from the stream. More... | |
| static long | readSignedInteger (byte[] value) |
| Reads a signed integer element from the byte array. More... | |
| static String | readString (byte[] value) |
| Reads an ASCII string element from the stream. More... | |
| static long | readUnsignedInteger (byte[] value) |
| Reads an unsigned integer element from the byte array. More... | |
| static String | readUtf8 (byte[] value) |
| Reads a UTF-8 string element from the stream. More... | |
| static byte[] | readValue (byte[] bytes, int offset, fm.liveswitch.IntegerHolder offsetPlus) |
| Reads a binary value from the stream. More... | |
| static long | readVariableInteger (byte[] bytes, int offset, fm.liveswitch.IntegerHolder offsetPlus) |
| Reads a variable integer ("vint") from the byte array. More... | |
| static byte[] | serializeVariableInteger (long value) |
| Serializes a variable integer. More... | |
| static byte[] | serializeVariableInteger (long value, int length) |
| Serializes a variable integer using a fixed length. More... | |
Protected Member Functions | |
| byte[] | getInnerBytes () |
| Gets the inner bytes. More... | |
Protected Member Functions inherited from fm.liveswitch.matroska.Element | |
| Element () | |
| void | write (byte[] value, byte[] idValue, fm.liveswitch.ByteOutputStream stream) |
| Writes a binary element to the stream. More... | |
| void | writeBool (boolean value, byte[] idValue, fm.liveswitch.ByteOutputStream stream) |
| Writes a boolean element to the stream. More... | |
| void | writeDate (java.util.Date value, byte[] idValue, fm.liveswitch.ByteOutputStream stream) |
| Writes a date element to the stream. More... | |
| void | writeDouble (double value, byte[] idValue, fm.liveswitch.ByteOutputStream stream) |
| Writes a double element to the stream. More... | |
| void | writeFloat (float value, byte[] idValue, fm.liveswitch.ByteOutputStream stream) |
| Writes a float element to the stream. More... | |
| void | writeGuid (fm.liveswitch.Guid value, byte[] idValue, fm.liveswitch.ByteOutputStream stream) |
| Writes a GUID element to the stream. More... | |
| void | writeSignedInteger (long value, byte[] idValue, fm.liveswitch.ByteOutputStream stream) |
| Writes an signed integer element to the stream. More... | |
| void | writeString (String value, byte[] idValue, fm.liveswitch.ByteOutputStream stream) |
| Writes an ASCII string element to the stream. More... | |
| void | writeUnsignedInteger (long value, byte[] idValue, fm.liveswitch.ByteOutputStream stream) |
| Writes an unsigned integer element to the stream. More... | |
| void | writeUtf8 (String value, byte[] idValue, fm.liveswitch.ByteOutputStream stream) |
| Writes a UTF-8 string element to the stream. More... | |
| void | writeVariableInteger (long value, fm.liveswitch.ByteOutputStream stream) |
| Writes a variable integer ("vint") to the stream. More... | |
| void | writeVariableInteger (long value, fm.liveswitch.ByteOutputStream stream, int length) |
| Writes a variable integer ("vint") to the stream using a fixed length. More... | |
A Matroska segment info element.
| fm.liveswitch.matroska.SegmentInfo.SegmentInfo | ( | ) |
Initializes a new instance of the fm.liveswitch.matroska.SegmentInfo class.
| fm.liveswitch.matroska.SegmentInfo.SegmentInfo | ( | byte[] | bytes | ) |
Initializes a new instance of the fm.liveswitch.matroska.SegmentInfo class.
| bytes | The bytes. |
| fm.liveswitch.NullableDate fm.liveswitch.matroska.SegmentInfo.getDateUtc | ( | ) |
Gets the date in UTC time.
|
static |
Gets the default timecode scale.
| fm.liveswitch.NullableFloat fm.liveswitch.matroska.SegmentInfo.getDuration | ( | ) |
Gets the duration.
|
static |
Gets the EBML ID.
| byte [] fm.liveswitch.matroska.SegmentInfo.getId | ( | ) |
Gets the EBML ID.
Reimplemented from fm.liveswitch.matroska.Element.
|
protected |
Gets the inner bytes.
Reimplemented from fm.liveswitch.matroska.Element.
| String fm.liveswitch.matroska.SegmentInfo.getMuxingApp | ( | ) |
Gets the muxing application.
| String fm.liveswitch.matroska.SegmentInfo.getNextFilename | ( | ) |
Gets the next filename.
| fm.liveswitch.NullableGuid fm.liveswitch.matroska.SegmentInfo.getNextUid | ( | ) |
Gets the next UID.
| String fm.liveswitch.matroska.SegmentInfo.getPrevFilename | ( | ) |
Gets the previous filename.
| fm.liveswitch.NullableGuid fm.liveswitch.matroska.SegmentInfo.getPrevUid | ( | ) |
Gets the previous UID.
| String fm.liveswitch.matroska.SegmentInfo.getSegmentFilename | ( | ) |
Gets the segment filename.
| fm.liveswitch.NullableGuid fm.liveswitch.matroska.SegmentInfo.getSegmentUid | ( | ) |
Gets the segment UID.
| long fm.liveswitch.matroska.SegmentInfo.getTimecodeScale | ( | ) |
Gets the timecode scale.
| String fm.liveswitch.matroska.SegmentInfo.getTitle | ( | ) |
Gets the title.
| String fm.liveswitch.matroska.SegmentInfo.getWritingApp | ( | ) |
Gets the writing application.
| void fm.liveswitch.matroska.SegmentInfo.merge | ( | fm.liveswitch.matroska.SegmentInfo | segmentInfo | ) |
Merges another fm.liveswitch.matroska.SegmentInfo into this one.
| segmentInfo | The fm.liveswitch.matroska.SegmentInfo. |
| void fm.liveswitch.matroska.SegmentInfo.setDateUtc | ( | fm.liveswitch.NullableDate | value | ) |
Sets the date in UTC time.
| void fm.liveswitch.matroska.SegmentInfo.setDuration | ( | fm.liveswitch.NullableFloat | value | ) |
Sets the duration.
| void fm.liveswitch.matroska.SegmentInfo.setMuxingApp | ( | String | value | ) |
Sets the muxing application.
| void fm.liveswitch.matroska.SegmentInfo.setNextFilename | ( | String | value | ) |
Sets the next filename.
| void fm.liveswitch.matroska.SegmentInfo.setNextUid | ( | fm.liveswitch.NullableGuid | value | ) |
Sets the next UID.
| void fm.liveswitch.matroska.SegmentInfo.setPrevFilename | ( | String | value | ) |
Sets the previous filename.
| void fm.liveswitch.matroska.SegmentInfo.setPrevUid | ( | fm.liveswitch.NullableGuid | value | ) |
Sets the previous UID.
| void fm.liveswitch.matroska.SegmentInfo.setSegmentFilename | ( | String | value | ) |
Sets the segment filename.
| void fm.liveswitch.matroska.SegmentInfo.setSegmentUid | ( | fm.liveswitch.NullableGuid | value | ) |
Sets the segment UID.
| void fm.liveswitch.matroska.SegmentInfo.setTimecodeScale | ( | long | value | ) |
Sets the timecode scale.
| void fm.liveswitch.matroska.SegmentInfo.setTitle | ( | String | value | ) |
Sets the title.
| void fm.liveswitch.matroska.SegmentInfo.setWritingApp | ( | String | value | ) |
Sets the writing application.