|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.acciente.commons.loader.FileResourceDef
public class FileResourceDef
An implementation of a ResourceDef backed by files.
ClassDef
Method Summary | |
---|---|
byte[] |
getContent()
This method loads and returns the contents of this resource |
String |
getResourceName()
Returns a fully qualified class name of the that this object manages |
boolean |
isModified()
Returns true if the underlying source of the class data has changed since the last call to getData() |
void |
reload()
Reloads the class byte code from the underlying source |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public String getResourceName()
ResourceDef
getResourceName
in interface ResourceDef
public boolean isModified()
ResourceDef
isModified
in interface ResourceDef
public void reload()
ResourceDef
reload
in interface ResourceDef
public byte[] getContent()
ResourceDef
getContent
in interface ResourceDef
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |