Class Extern.Item

  • Enclosing class:
    Extern

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

      Fields 
      Modifier and Type Field Description
      (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 available.
      (package private) boolean relative
      If given path is directory path then true else if it is a URL then false.
    • Constructor Summary

      Constructors 
      Constructor Description
      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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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 available.
      • relative

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

      • Item

        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