comparison servlet/src/digilib/io/SVGFile.java @ 188:dde98eaf97ff

Servlet version 1.18b3 new Raster servlet - new Raster servlet for rastering SVG graphics into PNG - new SVGFile class and accompanying changes - fixes in DocuDirectory for better handling of other file classes
author robcast
date Fri, 28 Nov 2003 13:19:37 +0100
parents
children 686086d6e6d6
comparison
equal deleted inserted replaced
187:b3f9a7f646c5 188:dde98eaf97ff
1 /* SVGFile -- Class for SVG files
2
3 Digital Image Library servlet components
4
5 Copyright (C) 2003 Robert Casties (robcast@mail.berlios.de)
6
7 This program is free software; you can redistribute it and/or modify it
8 under the terms of the GNU General Public License as published by the
9 Free Software Foundation; either version 2 of the License, or (at your
10 option) any later version.
11
12 Please read license.txt for the full details. A copy of the GPL
13 may be found at http://www.gnu.org/copyleft/lgpl.html
14
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
19 * Created on 25.11.2003 by casties
20 *
21 */
22 package digilib.io;
23
24 import java.io.File;
25
26 /** Class for SVG files.
27 *
28 * @author casties
29 *
30 */
31 public class SVGFile extends DocuDirent {
32 /** this is a text file */
33 protected static int fileClass = FileOps.CLASS_SVG;
34 /** our File instance */
35 protected File file = null;
36
37 /** Constructor taking a file.
38 *
39 * @param f
40 */
41 public SVGFile(File f) {
42 this.file = f;
43 }
44
45 /* (non-Javadoc)
46 * @see digilib.io.DocuDirent#checkMeta()
47 */
48 public void checkMeta() {
49 // Auto-generated method stub
50
51 }
52
53 /* (non-Javadoc)
54 * @see digilib.io.DocuDirent#getFile()
55 */
56 public File getFile() {
57 return file;
58 }
59
60 }