|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ContentHandlers are adapter classes that convert from an Object (usually Ant's 'Task' or 'Type') to a String. This is used to convert Task types, like <jelly>, into strings, usually the result of running the task.
Method Summary | |
String |
getContent(Object obj)
Generate text content as a result of processing an object. |
String[] |
getHandledTypes()
Gets an array of names of classes that the implementing ContentHandler can process. |
Method Detail |
public String[] getHandledTypes()
public String getContent(Object obj) throws Exception
obj
- An object that the ContentHandler implementation knows how to
process. Typically an Ant task.
null
, which represents 'no content'.
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |