aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/image/analyser/AbstractImageReader.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/apache/fop/image/analyser/AbstractImageReader.java')
-rw-r--r--src/org/apache/fop/image/analyser/AbstractImageReader.java57
1 files changed, 0 insertions, 57 deletions
diff --git a/src/org/apache/fop/image/analyser/AbstractImageReader.java b/src/org/apache/fop/image/analyser/AbstractImageReader.java
deleted file mode 100644
index 999ffa127..000000000
--- a/src/org/apache/fop/image/analyser/AbstractImageReader.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * $Id$
- * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
- * For details on use and redistribution please refer to the
- * LICENSE file included with these sources.
- */
-
-package org.apache.fop.image.analyser;
-
-// Java
-import java.io.BufferedInputStream;
-import java.io.IOException;
-
-import org.apache.fop.fo.FOUserAgent;
-
-/**
- * Base class implementing ImageReader.
- * @author Pankaj Narula
- * @version 1.0
- * @see ImageReader
- */
-public abstract class AbstractImageReader implements ImageReader {
-
- /**
- * Image width.
- */
- protected int width = 0;
-
- /**
- * Image height.
- */
- protected int height = 0;
-
- /**
- * Image stream.
- */
- protected BufferedInputStream imageStream = null;
-
- public abstract boolean verifySignature(String uri,
- BufferedInputStream fis, FOUserAgent ua) throws IOException;
-
- public int getHeight() {
- return this.height;
- }
-
- public int getWidth() {
- return this.width;
- }
-
- public abstract String getMimeType();
-
- public BufferedInputStream getInputStream() {
- return this.imageStream;
- }
-
-}
-