|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.sconman.handlers.NullHandler net.sourceforge.sconman.handlers.ImageHandler
public class ImageHandler
Knows how to handle image contents
Constructor Summary | |
---|---|
ImageHandler()
Constructor for NullHandler. |
Method Summary | |
---|---|
void |
getInfo(Content content,
boolean overrideAttributes,
boolean createThumbnail)
Tries to read info from content's data |
boolean |
hasThumbnail()
Return true if the content has thumbnail |
Methods inherited from class net.sourceforge.sconman.handlers.NullHandler |
---|
getFieldsAsString, getTextReader, writeAttributes, writeText |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageHandler()
Method Detail |
---|
public boolean hasThumbnail()
IContentTypeHandler
hasThumbnail
in interface IContentTypeHandler
hasThumbnail
in class NullHandler
public void getInfo(Content content, boolean overrideAttributes, boolean createThumbnail)
IContentTypeHandler
getInfo
in interface IContentTypeHandler
getInfo
in class NullHandler
content
- The content to read attributes fromoverrideAttributes
- True to extract attributes from file and
override existent content attributescreateThumbnail
- True to create thumbnail
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |