org.netbeans.api.java.classpath/1 1.29.1

org.netbeans.api.java.queries
Interface BinaryForSourceQuery.Result

Enclosing class:
BinaryForSourceQuery

public static interface BinaryForSourceQuery.Result

Result of finding binaries, encapsulating the answer as well as the ability to listen to it.


Method Summary
 void addChangeListener(ChangeListener l)
          Add a listener to changes in the roots.
 URL[] getRoots()
          Get the binary roots.
 void removeChangeListener(ChangeListener l)
          Remove a listener to changes in the roots.
 

Method Detail

getRoots

URL[] getRoots()
Get the binary roots.

Returns:
array of roots of compiled classes (may be empty but not null)

addChangeListener

void addChangeListener(ChangeListener l)
Add a listener to changes in the roots.

Parameters:
l - a listener to add

removeChangeListener

void removeChangeListener(ChangeListener l)
Remove a listener to changes in the roots.

Parameters:
l - a listener to remove

org.netbeans.api.java.classpath/1 1.29.1

Built on December 5 2011.  |  Portions Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.