| |
|
| java.lang.Object org.netbeans.modules.visualweb.insync.SourceUnit org.netbeans.modules.visualweb.insync.java.JavaUnit
JavaUnit | public class JavaUnit extends SourceUnit (Code) | | A SourceUnit that manages a Java source file.
author: Carl Quinn version: 1.0 |
destroy | public void destroy()(Code) | | |
ensureImport | public boolean ensureImport(String fqn)(Code) | | Ensure that a given import is in the list, if not try to add it
true if the import was added if required or if the import is notrequired to be added |
firstWriteLock | protected synchronized void firstWriteLock()(Code) | | |
flush | public boolean flush()(Code) | | |
lastWriteUnlock | protected synchronized void lastWriteUnlock()(Code) | | |
read | protected void read(char[] cbuf, int len)(Code) | | |
readErrors | protected void readErrors()(Code) | | Read the errors in source
|
sync | public boolean sync()(Code) | | Implicit read. Read the document supplied during construction into this model.
whether or not the read affected the model. |
|
|
|