|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.schmant.task.template.io.zip.EntityOrReadableFile
public class EntityOrReadableFile
This object can contain an Entity or a ReadableFile. It is
used by Zip tasks.
| Constructor Summary | |
|---|---|
EntityOrReadableFile(Object o)
Constructor. |
|
| Method Summary | |
|---|---|
Entity |
getEntity()
Get the entity. |
ReadableFile |
getReadableFile()
Get the readable file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EntityOrReadableFile(Object o)
throws IllegalArgumentException
o - Either an Entity or a ReadableFile. Objects that
are both (EFile:s) are interpreted as entities.
IllegalArgumentException - If the object is neither.| Method Detail |
|---|
public Entity getEntity()
null if this object contains a readable
file.public ReadableFile getReadableFile()
null if this object contains an
entity.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||