de.humatic.dsj
Class DSMovie.MovieSelection
java.lang.Object
de.humatic.dsj.DSMovie.MovieSelection
- Enclosing class:
- DSMovie
public static class DSMovie.MovieSelection
- extends java.lang.Object
MovieSelection is a struct, that contains information needed by an editable DSMovie to access a certain portion of data
from a given file. MovieSelections can refer to an unopened file on disc or an active DSMovie object (also see DSMovie.copy()).
|
Constructor Summary |
DSMovie.MovieSelection(java.lang.String filePath,
int i,
int o)
Creates a MovieSelection referencing the media between i & o in the given file. |
|
Method Summary |
java.lang.String |
getFileName()
|
int |
getIn()
|
java.lang.String |
getName()
|
int |
getOut()
|
java.lang.String |
getPath()
|
void |
setIn(int i)
|
void |
setName(java.lang.String name)
Associates a name string with this selection, which will be used to name tracks, that get created as a result of
adding or pasting the selection into a movie. |
void |
setOut(int o)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DSMovie.MovieSelection
public DSMovie.MovieSelection(java.lang.String filePath,
int i,
int o)
throws DSJException
- Creates a MovieSelection referencing the media between i & o in the given file.
Use -1 for the out time to select in time to duration.
- Throws:
DSJException
setName
public void setName(java.lang.String name)
- Associates a name string with this selection, which will be used to name tracks, that get created as a result of
adding or pasting the selection into a movie.
getFileName
public java.lang.String getFileName()
getPath
public java.lang.String getPath()
getName
public java.lang.String getName()
getIn
public int getIn()
getOut
public int getOut()
setIn
public void setIn(int i)
setOut
public void setOut(int o)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object