|
org.netbeans.modules.java.source 0.39.0 5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.api.java.source.ModificationResult
public final class ModificationResult
Class that collects changes built during a modification task run.
| Nested Class Summary | |
|---|---|
static class |
ModificationResult.Difference
|
| Method Summary | |
|---|---|
void |
commit()
Once all of the changes have been collected, this method can be used to commit the changes to the source files |
List<? extends ModificationResult.Difference> |
getDifferences(FileObject fo)
|
Set<? extends FileObject> |
getModifiedFileObjects()
|
Set<File> |
getNewFiles()
|
String |
getResultingSource(FileObject fileObject)
Returned string represents preview of resulting source. |
int[] |
getSpan(Object tag)
Provides span of tree tagged with tag |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Set<? extends FileObject> getModifiedFileObjects()
public List<? extends ModificationResult.Difference> getDifferences(FileObject fo)
public Set<File> getNewFiles()
public void commit()
throws IOException
IOException
public String getResultingSource(FileObject fileObject)
throws IOException
isExcluded() flag of difference.
there - can be more resulting source, user has to specify
which wants to preview.
IOExceptionpublic int[] getSpan(Object tag)
tag
tag -
|
org.netbeans.modules.java.source 0.39.0 5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||