mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-05 04:25:29 -04:00
Fixed some access scopes and made classes final.
This commit is contained in:
parent
87db620dac
commit
156fe8bb25
@ -62,7 +62,7 @@ import java.util.SortedSet;
|
||||
* @see com.twelvemonkeys.io.ole2.CompoundDocument
|
||||
* @see <a href="http://en.wikipedia.org/wiki/Thumbs.db>Wikipedia: Thumbs.db</a>
|
||||
*/
|
||||
public class ThumbsDBImageReader extends ImageReaderBase {
|
||||
public final class ThumbsDBImageReader extends ImageReaderBase {
|
||||
private static final int THUMBNAIL_OFFSET = 12;
|
||||
private Entry root;
|
||||
private Catalog catalog;
|
||||
|
@ -47,7 +47,7 @@ import java.util.Locale;
|
||||
* @author <a href="mailto:harald.kuhr@gmail.com">Harald Kuhr</a>
|
||||
* @version $Id: ThumbsDBImageReaderSpi.java,v 1.0 28.feb.2006 19:21:05 haku Exp$
|
||||
*/
|
||||
public class ThumbsDBImageReaderSpi extends ImageReaderSpiBase {
|
||||
public final class ThumbsDBImageReaderSpi extends ImageReaderSpiBase {
|
||||
private ImageReaderSpi jpegProvider;
|
||||
|
||||
/**
|
||||
@ -61,7 +61,7 @@ public class ThumbsDBImageReaderSpi extends ImageReaderSpiBase {
|
||||
return source instanceof ImageInputStream && canDecode((ImageInputStream) source);
|
||||
}
|
||||
|
||||
public boolean canDecode(final ImageInputStream pInput) throws IOException {
|
||||
boolean canDecode(final ImageInputStream pInput) throws IOException {
|
||||
maybeInitJPEGProvider();
|
||||
// If this is a OLE 2 CompoundDocument, we could try...
|
||||
// TODO: How do we know it's thumbs.db format (structure), without reading quite a lot?
|
||||
|
Loading…
x
Reference in New Issue
Block a user