|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jdeveloper.compiler.DependencyProvider
@Deprecated public class DependencyProvider
Constructor Summary | |
---|---|
DependencyProvider()
Deprecated. public constructor |
Method Summary | |
---|---|
void |
computeDependencies()
Deprecated. computeDependencies will create an HashMap of all found classes and in the value part of each class is going to be another HashMap of all the classes that are using this class, plus an additional special value ' sourcefile ', which will be the URL into which this class is defined |
java.util.Collection |
getDependants(java.util.ArrayList urlList,
boolean includeSelf)
Deprecated. |
void |
load(java.io.InputStream in,
boolean dependant)
Deprecated. load data from a given input stream, the return format is an array of elements where the number of elements is data.size() / 6 and each group of 6 elements contain the following information: data[0] --> the URL for the source file data[1] --> the package name data[2] --> a string[] of all type references in that given source file data[3] --> a string[] of all the classes defined in the source file data[4] --> a list of all the imports encoutered in the source file data[5] --> a boolean value indicating whether this data is a dependency if dependant is true, then this dependency information is not coming from the main set of data but of a set of data used as usedBy the main data |
static void |
main(java.lang.String[] args)
Deprecated. |
void |
reinit()
Deprecated. reinit internal data structure |
void |
save(java.io.OutputStream out,
boolean everything)
Deprecated. |
static void |
test1()
Deprecated. |
java.util.ArrayList |
updateData(java.util.ArrayList urlList,
boolean rebuild,
boolean synch,
java.util.HashMap sourceMap)
Deprecated. updateData() general algorithm is as follows: for all files specified in given urlList: check if they are present in the main data and if yes if the file in the data is out of date reparse the file and update the record if no parse and add the file to the data remove every non dependant records from main data that aren't in urlList if the synchronized flag is true |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DependencyProvider()
Method Detail |
---|
public void reinit()
public void computeDependencies()
public void load(java.io.InputStream in, boolean dependant) throws java.io.IOException
java.io.IOException
public void save(java.io.OutputStream out, boolean everything) throws java.io.IOException
java.io.IOException
public java.util.ArrayList updateData(java.util.ArrayList urlList, boolean rebuild, boolean synch, java.util.HashMap sourceMap) throws java.io.IOException
rebuild
- if true then rebuilds regardless
Returns the list of files that got parsed (out of date and new files)
java.io.IOException
public java.util.Collection getDependants(java.util.ArrayList urlList, boolean includeSelf)
public static void test1() throws java.net.MalformedURLException, java.io.IOException
java.net.MalformedURLException
java.io.IOException
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |