01: /*
02: * Created on Feb 12, 2004
03: *
04: * To change the template for this generated file go to
05: * Window>Preferences>Java>Code Generation>Code and Comments
06: */
07: package org.xdev.base.xssl.io;
08:
09: import java.io.File;
10: import java.io.FileReader;
11: import java.util.HashMap;
12:
13: /**
14: * @author AYegorov
15: *
16: * To change the template for this generated type comment go to
17: * Window>Preferences>Java>Code Generation>Code and Comments
18: */
19: public class FileContentReader extends AbstractFile {
20: /**
21: * @param id
22: */
23: public FileContentReader(String id) {
24: super (id);
25: // XXX Auto-generated constructor stub
26: }
27:
28: /**
29: * @param id
30: * @param properties
31: */
32: public FileContentReader(String id, HashMap properties) {
33: super (id, properties);
34: // XXX Auto-generated constructor stub
35: }
36:
37: /* (non-Javadoc)
38: * @see org.xdev.base.xssl.io.AbstractFile#processFile(java.io.File)
39: */
40: protected Object processFile(File f) throws Exception {
41: return new FileReader(f);
42: }
43: }
|