com.sun.jini.tool.classdepend
Class ReferencedClasses

java.lang.Object
  extended by com.sun.jini.tool.classdepend.ReferencedClasses

public class ReferencedClasses
extends Object

A utility class for computing the classes referred to by another class. This class cannot be instantiated.


Method Summary
static Set compute(InputStream in)
          Computes the classes referred to by another class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

compute

public static Set compute(InputStream in)
                   throws IOException
Computes the classes referred to by another class. The argument should be a input stream containing the bytecodes for the class. The return value is a set containing the names of the classes referred to by the class bytecodes in the input. The input stream is left open when this method returns.

Parameters:
in - the input stream containing the class bytecodes
Returns:
a set of the names of the classes referred to by the class bytecodes
Throws:
IOException - if a I/O failure occurs while reading the class bytecodes


Copyright 2007, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.