01: // HttpFileResource.java
02: // $Id: HttpFileResource.java,v 1.4 2002/06/26 17:55:05 ylafon Exp $
03: // (c) COPYRIGHT MIT and INRIA, 1996.
04: // Please first read the full copyright statement in file COPYRIGHT.html
05:
06: package org.w3c.jigsaw.resources;
07:
08: import org.w3c.tools.resources.FileResource;
09: import org.w3c.tools.resources.FramedResource;
10:
11: public class HttpFileResource extends FileResource {
12:
13: public void initialize(Object values[]) {
14: super .initialize(values);
15: try {
16: registerFrameIfNone("org.w3c.jigsaw.frames.HTTPFrame",
17: "http-frame".intern());
18: } catch (Exception ex) {
19: ex.printStackTrace();
20: }
21: }
22: }
|