org.netbeans.api.java/1 1.38

org.netbeans.api.java.queries
Class SourceJavadocAttacher

java.lang.Object
  extended by org.netbeans.api.java.queries.SourceJavadocAttacher

public final class SourceJavadocAttacher
extends Object

A support for attaching source roots and javadoc roots to binary roots.

Since:
1.35

Nested Class Summary
static interface SourceJavadocAttacher.AttachmentListener
          Listener notified by SourceJavadocAttacher about a result of attaching source (javadoc) to binary root.
 
Method Summary
static void attachJavadoc(URL root, SourceJavadocAttacher.AttachmentListener listener)
          Attaches a javadoc root provided by the SPI SourceJavadocAttacherImplementation to given binary root.
static void attachSources(URL root, SourceJavadocAttacher.AttachmentListener listener)
          Attaches a source root provided by the SPI SourceJavadocAttacherImplementation to given binary root.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

attachSources

public static void attachSources(@NonNull
                                 URL root,
                                 @NullAllowed
                                 SourceJavadocAttacher.AttachmentListener listener)
Attaches a source root provided by the SPI SourceJavadocAttacherImplementation to given binary root.

Parameters:
root - the binary root to attach sources to
listener - notified about result when attaching is done

attachJavadoc

public static void attachJavadoc(@NonNull
                                 URL root,
                                 @NullAllowed
                                 SourceJavadocAttacher.AttachmentListener listener)
Attaches a javadoc root provided by the SPI SourceJavadocAttacherImplementation to given binary root.

Parameters:
root - the binary root to attach javadoc to
listener - notified about result when attaching is done

org.netbeans.api.java/1 1.38

Built on May 17 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.