01: package org.obe.event;
02:
03: import org.obe.spi.service.ServiceManager;
04: import org.obe.client.api.repository.RepositoryException;
05: import java.util.Properties;
06:
07: /**
08: * Handles MIME <tag>video/*</tag> content.
09: * <p/>
10: * TODO: implement video/* content handler support.
11: *
12: * @author Adrian Price
13: */
14: public class MIMEVideoHandler extends AbstractContentHandler {
15: public MIMEVideoHandler() {
16: }
17:
18: public void init(ServiceManager svcMgr, Properties props) {
19: init(svcMgr);
20: }
21:
22: protected String getSchema(Object data, String contentType) {
23: return "";
24: }
25:
26: public String getContentType(Object data)
27: throws RepositoryException {
28: return "video";
29: }
30: }
|