|
Forge - Java Parser Addon API 2.0.0.Alpha3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JavaResource
A Resource that represents a Java Class.
| Method Summary | |
|---|---|
org.jboss.forge.parser.java.JavaSource<?> |
getJavaSource()
Attempt to determine and return the JavaSource type of the underlying Class. |
JavaResource |
setContents(org.jboss.forge.parser.java.JavaSource<?> source)
Set the content of this Resource to the value of the given JavaSource. |
| Methods inherited from interface org.jboss.forge.resource.FileResource |
|---|
createNewFile, createTempResource, deleteOnExit, getSize, isDirectory, isExecutable, isReadable, isStale, isWritable, markUpToDate, mkdir, mkdirs, renameTo, renameTo, setContents, setContents, setContents |
| Methods inherited from interface org.jboss.forge.resource.Resource |
|---|
createFrom, delete, delete, exists, getChild, getFullyQualifiedName, getName, getParent, getResourceFactory, getResourceInputStream, getUnderlyingResourceObject, listResources, listResources, reify |
| Methods inherited from interface org.jboss.forge.facets.Faceted |
|---|
getFacet, getFacets, getFacets, hasAllFacets, hasAllFacets, hasFacet, install, supports, uninstall |
| Method Detail |
|---|
JavaResource setContents(org.jboss.forge.parser.java.JavaSource<?> source)
Resource to the value of the given JavaSource.
org.jboss.forge.parser.java.JavaSource<?> getJavaSource()
throws FileNotFoundException
JavaSource type of the underlying Class.
FileNotFoundException
|
Forge - Java Parser Addon API 2.0.0.Alpha3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||