|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jimageanalyst.JImageAnalyst
public class JImageAnalyst
JImageAnalyst is the main class of this project. It provides easy to use methods for getting meta information from image files.
| 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 |
|---|
public JImageAnalyst()
| Method Detail |
|---|
public ImageInfo analyze(java.io.InputStream inputStream)
throws java.io.IOException,
InvalidDataException
inputStream - the InputStream to read from.
java.io.IOException - if an I/O error occurs.
InvalidDataException - if the read data were invalid.
public ImageInfo analyze(Configuration configuration,
java.io.InputStream inputStream)
throws java.io.IOException,
InvalidDataException
configuration - the Configuration use use.inputStream - the InputStream to read from.
java.io.IOException - if an I/O error occurs.
InvalidDataException - if the read data were invalid.
public ImageInfo analyze(java.io.File file)
throws java.io.IOException,
InvalidDataException
file - the File to read from.
java.io.IOException - if an I/O error occurs.
InvalidDataException - if the read data were invalid.
public ImageInfo analyze(Configuration configuration,
java.io.File file)
throws java.io.IOException,
InvalidDataException
configuration - the Configuration use use.file - the File to read from.
java.io.IOException - if an I/O error occurs.
InvalidDataException - if the read data were invalid.public void registerImageAnalyzer(ImageAnalyzer imageAnalyzer)
ImageAnalyzer.
imageAnalyzer - a ImageAnalyzer to register.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||