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

private class Extern.Item extends Object
Stores the info for one external doc set
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) final String
    Package name, found in the "package-list" file in the path.
    (package private) final String
    The URL or the directory path at which the package documentation will be available.
    (package private) final boolean
    If given path is directory path then true else if it is a URL then false.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Item(String packageName, String path, boolean relative)
    Constructor to build a Extern Item object and map it with the package name.
  • Method Summary

    Modifier and Type
    Method
    Description
    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 Details

    • packageName

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

      final String path
      The URL or the directory path at which the package documentation will be available.
    • relative

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

    • Item

      Item(String packageName, 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 Details

    • toString

      public String toString()
      String representation of "this" with packagename and the path.
      Overrides:
      toString in class Object