|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.im4java.core.Info
public class Info
This class implements an image-information object.
The class just calls "identify -verbose" and parses the output.
Field Summary | |
---|---|
private java.util.Hashtable<java.lang.String,java.lang.String> |
iAttributes
Internal hashtable with image-attributes. |
private int |
iOldIndent
Current value of indentation level |
private java.lang.String |
iPrefix
Current value of attribute-prefix |
Constructor Summary | |
---|---|
Info(java.lang.String pFilename)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getProperty(java.lang.String pPropertyName)
Return the given property. |
java.util.Enumeration<java.lang.String> |
getPropertyNames()
Return an enumeration of all properties. |
private void |
parseLine(java.lang.String pLine)
Parse line of identify-output |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.Hashtable<java.lang.String,java.lang.String> iAttributes
private int iOldIndent
private java.lang.String iPrefix
Constructor Detail |
---|
public Info(java.lang.String pFilename) throws InfoException
InfoException
Method Detail |
---|
private void parseLine(java.lang.String pLine)
public java.lang.String getProperty(java.lang.String pPropertyName)
public java.util.Enumeration<java.lang.String> getPropertyNames()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |