ch.claudio.qtcut
Class QTUtility
java.lang.Object
ch.claudio.qtcut.QTUtility
public final class QTUtility
- extends java.lang.Object
- Version:
- 2004-10-10
- Author:
- Claudio Nieder
Method Summary |
static java.lang.String |
frame2str(int frames)
Convert a frame count into time string displaying minutes, seconds and frame
number. |
static void |
log(java.lang.String msg)
|
static Movie |
newFile(java.lang.String file)
|
static Movie |
readOpen(java.lang.String file)
|
static int |
str2frame(java.lang.String time)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
palWidth
public static final float palWidth
- See Also:
- Constant Field Values
palHeigth
public static final float palHeigth
- See Also:
- Constant Field Values
stdTimescale
public static final int stdTimescale
- See Also:
- Constant Field Values
desk
public static final java.lang.String desk
- See Also:
- Constant Field Values
log
public static void log(java.lang.String msg)
- Parameters:
msg
-
readOpen
public static Movie readOpen(java.lang.String file)
throws QTException
- Parameters:
file
-
- Returns:
- movie belonging to file
- Throws:
QTException
newFile
public static Movie newFile(java.lang.String file)
throws QTException
- Parameters:
file
-
- Returns:
- empty new movie associated with file
- Throws:
QTException
str2frame
public static int str2frame(java.lang.String time)
- Parameters:
time
-
- Returns:
- Frame count matching the time passed in the string
frame2str
public static java.lang.String frame2str(int frames)
- Convert a frame count into time string displaying minutes, seconds and frame
number.
- Parameters:
frames
- Frame number.
- Returns:
- Time string.