| java.lang.Object org.netbeans.napi.gsfret.source.ModificationResult
ModificationResult | final public class ModificationResult (Code) | | This file is originally from Retouche, the Java Support
infrastructure in NetBeans. I have modified the file as little
as possible to make merging Retouche fixes back as simple as
possible.
Class that collects changes built during a modification task run.
author: Dusan Balek |
Inner Class :final public static class Difference | |
ModificationResult | ModificationResult(Source js)(Code) | | Creates a new instance of ModificationResult
|
commit | public void commit() throws IOException(Code) | | Once all of the changes have been collected, this method can be used
to commit the changes to the source files
|
getDifferences | public List<? extends Difference> getDifferences(FileObject fo)(Code) | | |
getModifiedFileObjects | public Set<? extends FileObject> getModifiedFileObjects()(Code) | | |
getResultingSource | public String getResultingSource(FileObject fileObject) throws IOException(Code) | | Returned string represents preview of resulting source. No difference
really is applied. Respects
isExcluded() flag of difference.
Parameters: there - can be more resulting source, user has to specifywhich wants to preview. if changes are applied source looks like return string |
|
|