|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Nested Class Summary | |
static interface |
Translator.Log
|
Method Summary | |
boolean |
canBuild(Storage store)
canBuild is a predicate to find out if this translator
can build the specified store (i.e. |
java.util.ArrayList |
getInputTypes()
getInputTypes should return an array of 0 or more
supported input types (currently the form is a string representing
a file extension) |
java.lang.String |
getName()
Translator name (i.e. |
java.util.ArrayList |
getOutputTypes()
getOutputTypes should return an array of 0 or more
supported output/generated type of files/stores (currently the form is
a string representing a file extension) |
boolean |
needToBuild(Storage store)
needToBuild is a predicate to find out if this translator
needs the specified store to successfully build the other requested stores
(i.e. |
void |
setLog(Translator.Log log)
|
void |
setParameter(java.lang.String name,
java.lang.String value)
|
void |
setProject(Project project)
|
int |
translate(Project prjNode,
boolean rebuild,
java.util.ArrayList sources,
java.util.ArrayList results)
Translate(), main entry point to the translator, the method will translate every specified files in 'sources' and all generated files will be returned in 'results'. |
void |
updateProject(Project project)
|
Method Detail |
public java.lang.String getName()
public java.util.ArrayList getInputTypes()
getInputTypes
should return an array of 0 or more
supported input types (currently the form is a string representing
a file extension)
public java.util.ArrayList getOutputTypes()
getOutputTypes
should return an array of 0 or more
supported output/generated type of files/stores (currently the form is
a string representing a file extension)
public boolean canBuild(Storage store)
canBuild
is a predicate to find out if this translator
can build the specified store (i.e. Ojc can't build a PL/SQL or JSP store).
store
- Storage element to check
public boolean needToBuild(Storage store)
needToBuild
is a predicate to find out if this translator
needs the specified store to successfully build the other requested stores
(i.e. the SQLJ precompiler needs to have all .java files to build .sqlj
files).
store
- Storage element to check
public void setProject(Project project)
public void updateProject(Project project)
public void setParameter(java.lang.String name, java.lang.String value)
public void setLog(Translator.Log log)
public int translate(Project prjNode, boolean rebuild, java.util.ArrayList sources, java.util.ArrayList results)
rebuild
- -- if true will unconditinally rebuild all sourcessources
- -- a ArrayList of one or more Storage instanceresults
- -- a ArrayList of one or more Storage instance
|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©1997, 2003, Oracle. All rights reserved.