com.sun.tools.doclets.internal.toolkit.util
Class Extern.Item

java.lang.Object
  extended by com.sun.tools.doclets.internal.toolkit.util.Extern.Item
Enclosing class:
Extern

private class Extern.Item
extends java.lang.Object

Stores the info for one external doc set


Field Summary
(package private)  java.lang.String packageName
          Package name, found in the "package-list" file in the path.
(package private)  java.lang.String path
          The URL or the directory path at which the package documentation will be avaliable.
(package private)  boolean relative
          If given path is directory path then true else if it is a URL then false.
 
Constructor Summary
Extern.Item(java.lang.String packageName, java.lang.String path, boolean relative)
          Constructor to build a Extern Item object and map it with the package name.
 
Method Summary
 java.lang.String toString()
          String representation of "this" with packagename and the path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

packageName

final java.lang.String packageName
Package name, found in the "package-list" file in the path.


path

final java.lang.String path
The URL or the directory path at which the package documentation will be avaliable.


relative

final boolean relative
If given path is directory path then true else if it is a URL then false.

Constructor Detail

Extern.Item

Extern.Item(java.lang.String packageName,
            java.lang.String path,
            boolean relative)
Constructor to build a Extern Item object and map it with the package name. If the same package name is found in the map, then the first mapped Item object or offline location will be retained.

Parameters:
packagename - Package name found in the "package-list" file.
path - URL or Directory path from where the "package-list" file is picked.
relative - True if path is URL, false if directory path.
Method Detail

toString

public java.lang.String toString()
String representation of "this" with packagename and the path.

Overrides:
toString in class java.lang.Object