Mercurial > hg > digilib-old
comparison servlet/src/digilib/io/DocuFile.java @ 122:a32e8c80e2f2
Servlet Version 1.10b1
- more intelligent handling of resolutions
- different handling of mo=lores
author | robcast |
---|---|
date | Wed, 11 Jun 2003 22:51:28 +0200 |
parents | 997ba69afb81 |
children | c36944be0b58 |
comparison
equal
deleted
inserted
replaced
121:1ac2c5c6ec0e | 122:a32e8c80e2f2 |
---|---|
21 | 21 |
22 package digilib.io; | 22 package digilib.io; |
23 | 23 |
24 import java.awt.Dimension; | 24 import java.awt.Dimension; |
25 import java.io.File; | 25 import java.io.File; |
26 import java.io.IOException; | |
27 | |
28 import digilib.image.DocuInfo; | |
26 | 29 |
27 /** | 30 /** |
28 * @author casties | 31 * @author casties |
29 */ | 32 */ |
30 public class DocuFile { | 33 public class DocuFile { |
47 public String getName() { | 50 public String getName() { |
48 if (file != null) { | 51 if (file != null) { |
49 return file.getName(); | 52 return file.getName(); |
50 } | 53 } |
51 return null; | 54 return null; |
55 } | |
56 | |
57 | |
58 public void check(DocuInfo info) { | |
59 try { | |
60 info.checkFile(this); | |
61 } catch (IOException e) { | |
62 checked = false; | |
63 } | |
52 } | 64 } |
53 | 65 |
54 /** | 66 /** |
55 * @return File | 67 * @return File |
56 */ | 68 */ |