Timecode
Inheritance: java.lang.Object, com.aspose.psd.xmp.types.XmpTypeBase
All Implemented Interfaces: com.aspose.ms.System.IEquatable
public final class Timecode extends XmpTypeBase implements System.IEquatable<Timecode>
Represents timecode value in video.
Constructors
Constructor | Description |
---|---|
Timecode(TimeFormat format, String timeValue) | Initializes a new instance of the Timecode class. |
Methods
Method | Description |
---|---|
equals(Object obj) | Determines whether the specified System.Object , is equal to this instance. |
getClass() | |
getFormat() | Gets or sets the format used in the TimeValue . |
getTimeValue() | Gets or sets the time value in the specified format. |
getXmpRepresentation() | Returns the string contained value in XMP format. |
hashCode() | Returns a hash code for this instance. |
isEquals(Timecode other) | Indicates whether the current object is equal to another object of the same type. |
notify() | |
notifyAll() | |
setFormat(TimeFormat value) | Gets or sets the format used in the TimeValue . |
setTimeValue(String value) | Gets or sets the time value in the specified format. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
Timecode(TimeFormat format, String timeValue)
public Timecode(TimeFormat format, String timeValue)
Initializes a new instance of the Timecode class.
Parameters:
Parameter | Type | Description |
---|---|---|
format | TimeFormat | The time format. |
timeValue | java.lang.String | The time value. |
equals(Object obj)
public boolean equals(Object obj)
Determines whether the specified System.Object , is equal to this instance.
Parameters:
Parameter | Type | Description |
---|---|---|
obj | java.lang.Object | The System.Object to compare with this instance. |
Returns: boolean - true if the specified System.Object is equal to this instance; otherwise, false .
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getFormat()
public TimeFormat getFormat()
Gets or sets the format used in the TimeValue .
Value: The format used in the TimeValue .
Returns: TimeFormat
getTimeValue()
public String getTimeValue()
Gets or sets the time value in the specified format.
Value: The time value in the specified format.
Returns: java.lang.String
getXmpRepresentation()
public String getXmpRepresentation()
Returns the string contained value in XMP format.
Returns: java.lang.String - Returns the string contained value in XMP format.
hashCode()
public int hashCode()
Returns a hash code for this instance.
Returns: int - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
isEquals(Timecode other)
public boolean isEquals(Timecode other)
Indicates whether the current object is equal to another object of the same type.
Parameters:
Parameter | Type | Description |
---|---|---|
other | Timecode | An object to compare with this object. |
Returns: boolean - true if the current object is equal to the other parameter; otherwise, false.
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setFormat(TimeFormat value)
public void setFormat(TimeFormat value)
Gets or sets the format used in the TimeValue .
Value: The format used in the TimeValue .
Parameters:
Parameter | Type | Description |
---|---|---|
value | TimeFormat |
setTimeValue(String value)
public void setTimeValue(String value)
Gets or sets the time value in the specified format.
Value: The time value in the specified format.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |