|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.dropframetimecode.java.DropFrameTimeCode
models the behaviour of a single timecode value.
provides methos to conver the timecode value
to a numerical framecoount or formatted HH:MM:SS:FF
string representation.
| Constructor Summary | |
DropFrameTimeCode()
Creates a new instance of DropFrameTimeCode |
|
DropFrameTimeCode(org.dropframetimecode.java.DropFrameTimeCode dftc)
Creates a new copy of an existing DropFrameTimeCode |
|
DropFrameTimeCode(long l)
Creates a new instance of DropFrameTimeCode |
|
DropFrameTimeCode(java.lang.String s)
Creates a new instance of DropFrameTimeCode |
|
| Method Summary | |
void |
decrease(org.dropframetimecode.java.DropFrameTimeCode dftc)
Decreases this DropFrameTimeCode value. |
void |
decrease(long l)
Decreases this DropFrameTimeCode value. |
void |
decrease(java.lang.String s)
Decreases this DropFrameTimeCode value. |
long |
getFrames()
Get a numerical framecount representation of this timecode value |
java.lang.String |
getString()
Get a string representation of this timecode value |
void |
increase(org.dropframetimecode.java.DropFrameTimeCode dftc)
Increases this DropFrameTimeCode value. |
void |
increase(long l)
Increases this DropFrameTimeCode value. |
void |
increase(java.lang.String s)
Increases this DropFrameTimeCode value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DropFrameTimeCode()
public DropFrameTimeCode(long l)
l - the numerical frame count
public DropFrameTimeCode(java.lang.String s)
throws java.lang.NumberFormatException,
DFTCelementRangeException,
DFTCdroppedException
s - the string representation of a timcode value
formatted as HH:MM:SS:FF
java.lang.NumberFormatException - if a parsed element is
not a number, for example AB:CD:EF:GH
ElementRangeException - if the parsed values are
out of range, for example
HHMMSSFFDroppedException - if the parsed values
ae within range, but are not a representation
of a legal dropframe timecode value, for example
00:01:00:0000:01:00:01DFTCelementRangeException
DFTCdroppedExceptionpublic DropFrameTimeCode(org.dropframetimecode.java.DropFrameTimeCode dftc)
dftc - the DropFrameTimeCode to be copied| Method Detail |
public long getFrames()
MIN_VALUE and MAX_VALUEpublic java.lang.String getString()
HH:MM:SS:FFpublic void increase(long l)
MIN_VALUE representing 00:00:00:00
and MAX_VALUE representing 23:59:59:29
l - the number of frames to increasepublic void decrease(long l)
MIN_VALUE representing 00:00:00:00
and MAX_VALUE representing 23:59:59:29
l - the number of frames to decrease
public void increase(java.lang.String s)
throws java.lang.NumberFormatException,
DFTCelementRangeException,
DFTCdroppedException
MIN_VALUE representing 00:00:00:00
and MAX_VALUE representing 23:59:59:29
s - a string, in HH:MM:SS:FF format,
representing the amount to increase
ElementRangeException - if the parsed values are
out of range, for example
HHMMSSFFDroppedException - if the parsed values
ae within range, but are not a representation
of a legal dropframe timecode value, for example
00:01:00:0000:01:00:01java.lang.NumberFormatException
DFTCelementRangeException
DFTCdroppedException
public void decrease(java.lang.String s)
throws java.lang.NumberFormatException,
DFTCelementRangeException,
DFTCdroppedException
MIN_VALUE representing 00:00:00:00
and MAX_VALUE representing 23:59:59:29
s - a string, in HH:MM:SS:FF format,
representing the amount to decrease
ElementRangeException - if the parsed values are
out of range, for example
HHMMSSFFDroppedException - if the parsed values
ae within range, but are not a representation
of a legal dropframe timecode value, for example
00:01:00:0000:01:00:01java.lang.NumberFormatException
DFTCelementRangeException
DFTCdroppedExceptionpublic void increase(org.dropframetimecode.java.DropFrameTimeCode dftc)
MIN_VALUE representing 00:00:00:00
and MAX_VALUE representing 23:59:59:29
dftc - the amount to increasepublic void decrease(org.dropframetimecode.java.DropFrameTimeCode dftc)
MIN_VALUE representing 00:00:00:00
and MAX_VALUE representing 23:59:59:29
dftc - the amount to decrease
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||