org.jimageanalyst
Class JImageAnalyst

java.lang.Object
  extended by org.jimageanalyst.JImageAnalyst

public class JImageAnalyst
extends java.lang.Object

JImageAnalyst is the main class of this project. It provides easy to use methods for getting meta information from image files.

Version:
$LastChangedRevision: 2 $
Author:
Oliver J. Siegmar

Constructor Summary
JImageAnalyst()
           
 
Method Summary
 ImageInfo analyze(Configuration configuration, java.io.File file)
          Analyzes data read from file with the given configuration.
 ImageInfo analyze(Configuration configuration, java.io.InputStream inputStream)
          Analyzes data read from inputStream with the given configuration.
 ImageInfo analyze(java.io.File file)
          Analyzes data read from file with default configuration.
 ImageInfo analyze(java.io.InputStream inputStream)
          Analyzes data read from inputStream with default configuration.
 void registerImageAnalyzer(ImageAnalyzer imageAnalyzer)
          Registers an ImageAnalyzer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JImageAnalyst

public JImageAnalyst()
Method Detail

analyze

public ImageInfo analyze(java.io.InputStream inputStream)
                  throws java.io.IOException,
                         InvalidDataException
Analyzes data read from inputStream with default configuration.

Parameters:
inputStream - the InputStream to read from.
Returns:
the analyzed data.
Throws:
java.io.IOException - if an I/O error occurs.
InvalidDataException - if the read data were invalid.

analyze

public ImageInfo analyze(Configuration configuration,
                         java.io.InputStream inputStream)
                  throws java.io.IOException,
                         InvalidDataException
Analyzes data read from inputStream with the given configuration.

Parameters:
configuration - the Configuration use use.
inputStream - the InputStream to read from.
Returns:
the analyzed data.
Throws:
java.io.IOException - if an I/O error occurs.
InvalidDataException - if the read data were invalid.

analyze

public ImageInfo analyze(java.io.File file)
                  throws java.io.IOException,
                         InvalidDataException
Analyzes data read from file with default configuration.

Parameters:
file - the File to read from.
Returns:
the analyzed data.
Throws:
java.io.IOException - if an I/O error occurs.
InvalidDataException - if the read data were invalid.

analyze

public ImageInfo analyze(Configuration configuration,
                         java.io.File file)
                  throws java.io.IOException,
                         InvalidDataException
Analyzes data read from file with the given configuration.

Parameters:
configuration - the Configuration use use.
file - the File to read from.
Returns:
the analyzed data.
Throws:
java.io.IOException - if an I/O error occurs.
InvalidDataException - if the read data were invalid.

registerImageAnalyzer

public void registerImageAnalyzer(ImageAnalyzer imageAnalyzer)
Registers an ImageAnalyzer.

Parameters:
imageAnalyzer - a ImageAnalyzer to register.


Copyright © 2006-2007. All Rights Reserved.