public final class JavaDataSupport extends Object
Modifier and Type | Method and Description |
---|---|
static MultiDataObject.Entry |
createJavaFileEntry(MultiDataObject mdo,
FileObject javafile)
In case you write own data loader you should use this entry for the
.java file object. |
static Node |
createJavaNode(FileObject javafile)
Creates a default node for a particular java file object.
|
public static MultiDataObject.Entry createJavaFileEntry(MultiDataObject mdo, FileObject javafile)
.java
file object. The entry provides functionality like
create from template.mdo
- the data object this entry will belong tojavafile
- the file object for the entrypublic static Node createJavaNode(FileObject javafile)
javafile
- the java file object to represent