|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Ingester
Interface for media-independent ingesting of media assets. Different kinds of media will have different implementations of this interface to discern their meta-data.
Last modified $Date: 2006/05/21 20:34:38 $
| Field Summary | |
|---|---|
static String |
EXTENSION
|
static String |
HEIGHT
|
static String |
WIDTH
|
| Method Summary | |
|---|---|
void |
clear()
Clears the ingester to handle a new media stream. |
Map<String,Object> |
getMetaData()
Provides the meta-data associated with the last ingested media asset. |
MimeType |
getMimeType()
|
long |
getSize()
If the ingest process requires multiple passes in order to determine file size, this method should return -1 to allow the requesting application to determine size on its own. |
void |
ingest()
Performs an ingest of the specified stream. |
void |
setInput(InputStream is)
Sets an input stream to be ingested. |
| Field Detail |
|---|
static final String EXTENSION
static final String HEIGHT
static final String WIDTH
| Method Detail |
|---|
void clear()
Map<String,Object> getMetaData()
MimeType getMimeType()
long getSize()
void ingest()
throws IOException,
InvalidMediaTypeException
IOException - an error occurred reading the input stream
InvalidMediaTypeException - the media in the input stream
is not one supported by this ingestervoid setInput(InputStream is)
clear() method to clear out any information from a previous
ingest.
is - the input stream to be ingested
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||