Mercurial > hg > digilib-old
comparison servlet/src/digilib/image/DocuImageImpl.java @ 566:50f291d808b1 digilibPDF
starting stream support
author | robcast |
---|---|
date | Mon, 20 Dec 2010 11:57:55 +0100 |
parents | 4c51d71aef13 |
children | beeedf90cb81 |
comparison
equal
deleted
inserted
replaced
565:8beefd1142b2 | 566:50f291d808b1 |
---|---|
30 | 30 |
31 import org.apache.log4j.Logger; | 31 import org.apache.log4j.Logger; |
32 | 32 |
33 import digilib.io.FileOpException; | 33 import digilib.io.FileOpException; |
34 import digilib.io.ImageFile; | 34 import digilib.io.ImageFile; |
35 import digilib.io.ImageInput; | |
35 | 36 |
36 /** Simple abstract implementation of the <code>DocuImage</code> interface. | 37 /** Simple abstract implementation of the <code>DocuImage</code> interface. |
37 * | 38 * |
38 * This implementation provides basic functionality for the utility methods like | 39 * This implementation provides basic functionality for the utility methods like |
39 * <code>getKnownFileTypes</code>. Image methods like | 40 * <code>getKnownFileTypes</code>. Image methods like |
99 } | 100 } |
100 | 101 |
101 /* (non-Javadoc) | 102 /* (non-Javadoc) |
102 * @see digilib.image.DocuImage#identify(digilib.io.ImageFile) | 103 * @see digilib.image.DocuImage#identify(digilib.io.ImageFile) |
103 */ | 104 */ |
104 public ImageFile identify(ImageFile imgf) throws IOException { | 105 public ImageInput identify(ImageFile imgf) throws IOException { |
105 // just a do-nothing implementation | 106 // just a do-nothing implementation |
106 return null; | 107 return null; |
107 } | 108 } |
108 | 109 |
109 public void rotate(double angle) throws ImageOpException { | 110 public void rotate(double angle) throws ImageOpException { |