public interface JavaResource extends FileResource<JavaResource>
| Modifier and Type | Method and Description |
|---|---|
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. |
createNewFile, createTempResource, deleteOnExit, getParent, getSize, isDirectory, isExecutable, isReadable, isStale, isWritable, markUpToDate, mkdir, mkdirs, monitor, monitor, renameTo, renameTo, setContents, setContents, setContents, setContents, setContentscreateFrom, delete, delete, exists, getChild, getContents, getContents, getFullyQualifiedName, getName, getResourceFactory, getResourceInputStream, getUnderlyingResourceObject, listResources, listResources, reifyJavaResource 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.FileNotFoundExceptionCopyright © 2013 JBoss by Red Hat. All rights reserved.