Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

oracle.jdeveloper.compiler
Class DependencyProvider

java.lang.Object
  extended by oracle.jdeveloper.compiler.DependencyProvider

Deprecated.

@Deprecated
public class DependencyProvider
extends java.lang.Object


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

DependencyProvider

public DependencyProvider()
Deprecated. 
public constructor

Method Detail

reinit

public void reinit()
Deprecated. 
reinit internal data structure


computeDependencies

public 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


load

public void load(java.io.InputStream in,
                 boolean dependant)
          throws java.io.IOException
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

Throws:
java.io.IOException

save

public void save(java.io.OutputStream out,
                 boolean everything)
          throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

updateData

public java.util.ArrayList updateData(java.util.ArrayList urlList,
                                      boolean rebuild,
                                      boolean synch,
                                      java.util.HashMap sourceMap)
                               throws java.io.IOException
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

Parameters:
rebuild - if true then rebuilds regardless Returns the list of files that got parsed (out of date and new files)
Throws:
java.io.IOException

getDependants

public java.util.Collection getDependants(java.util.ArrayList urlList,
                                          boolean includeSelf)
Deprecated. 

test1

public static void test1()
                  throws java.net.MalformedURLException,
                         java.io.IOException
Deprecated. 
Throws:
java.net.MalformedURLException
java.io.IOException

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

Copyright © 1997, 2009, Oracle. All rights reserved.