KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > openlaszlo > cache > MediaCache


1 /******************************************************************************
2  * MediaCache.java
3  * ****************************************************************************/

4
5 /* J_LZ_COPYRIGHT_BEGIN *******************************************************
6 * Copyright 2001-2004 Laszlo Systems, Inc. All Rights Reserved. *
7 * Use is subject to license terms. *
8 * J_LZ_COPYRIGHT_END *********************************************************/

9
10 package org.openlaszlo.cache;
11
12 import java.io.File JavaDoc;
13 import java.io.IOException JavaDoc;
14 import java.util.Properties JavaDoc;
15
16 import javax.servlet.http.HttpServletRequest JavaDoc;
17 import javax.servlet.http.HttpServletResponse JavaDoc;
18
19 import org.openlaszlo.data.MediaConverter;
20
21 /**
22  * A media cache
23  *
24  * @author <a HREF="mailto:bloch@laszlosystems.com">Eric Bloch</a>
25  */

26 public class MediaCache extends RequestCache {
27
28     public MediaCache(File JavaDoc cacheDirectory, Properties JavaDoc props)
29         throws IOException JavaDoc {
30
31         super("mcache", cacheDirectory, new MediaConverter(), props);
32     }
33 }
34
Popular Tags