01: /******************************************************************************
02: * MediaCache.java
03: * ****************************************************************************/package org.openlaszlo.cache;
04:
05: import java.io.File;
06: import java.io.IOException;
07: import java.util.Properties;
08:
09: import javax.servlet.http.HttpServletRequest;
10: import javax.servlet.http.HttpServletResponse;
11:
12: import org.openlaszlo.data.MediaConverter;
13:
14: /**
15: * A media cache
16: *
17: * @author <a href="mailto:bloch@laszlosystems.com">Eric Bloch</a>
18: */
19: public class MediaCache extends RequestCache {
20:
21: public MediaCache(File cacheDirectory, Properties props)
22: throws IOException {
23:
24: super ("mcache", cacheDirectory, new MediaConverter(), props);
25: }
26: }
|