|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EdgecodeValue
Specifies a value that represents film edge code information. A film edge code is described by its code format, the film kind, a header and a start frame.
EdgecodeSegment
,
EdgecodeValue
,
AAFFactory.makeEdgecodeValue(long, FilmType, EdgeType)
Method Summary | |
---|---|
EdgeType |
getCodeFormat()
Returns the format of the edge code. |
FilmType |
getFilmKind()
Returns the film type of this edge code. |
byte[] |
getHeader()
Returns the text prefix that identifies the film. |
long |
getStartFrame()
Returns the edge code at the beginning of the corresponding segment. |
void |
setCodeFormat(EdgeType codeFormat)
Sets the format of the edge code. |
void |
setFilmKind(FilmType filmKind)
Sets the type of film for this edge code. |
void |
setHeader(byte[] header)
Sets the text prefix that identifies the film. |
void |
setStartFrame(long startFrame)
Sets the edge code at the beginning of the corresponding segment. |
Method Detail |
---|
EdgeType getCodeFormat()
Returns the format of the edge code.
void setCodeFormat(EdgeType codeFormat) throws NullPointerException
Sets the format of the edge code.
codeFormat
- Format of the edge code.
NullPointerException
- The given edge code format is null
.FilmType getFilmKind()
Returns the film type of this edge code.
void setFilmKind(FilmType filmKind) throws NullPointerException
Sets the type of film for this edge code.
filmKind
- Type of film for this edge code.
NullPointerException
- The given film type for the edge code is null
.@EdgecodeHeader byte[] getHeader()
Returns the text prefix that identifies the film. Typically, this is a text string of no more than 8 7-bit ISO characters. This is an optional property.
PropertyNotPresentException
- The optional header property is not present for this edgecode
value.void setHeader(@EdgecodeHeader byte[] header)
Sets the text prefix that identifies the film. Typically, this is a text string of no
more than 8 7-bit ISO characters. Set the value to null
to omit this
optoinal property.
To convert a String
to an array of bytes, use
String.getBytes(String)
.
header
- Text prefix that identifies the film.@FrameOffset long getStartFrame()
Returns the edge code at the beginning of the corresponding segment.
void setStartFrame(@FrameOffset long startFrame)
Sets the edge code at the beginning of the corresponding segment.
startFrame
- Edge code the the beginning of the corresponding segment.
|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |