Class UrlKey

java.lang.Object
net.sourceforge.jnlp.util.UrlKey

public class UrlKey extends Object
  • Field Details

    • url

      private final URL url
    • protocol

      private final String protocol
    • host

      private final String host
    • file

      private final String file
    • port

      private final int port
    • ref

      private final String ref
  • Constructor Details

    • UrlKey

      public UrlKey(URL url)
  • Method Details

    • getUrl

      public URL getUrl()
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • samePort

      private boolean samePort(int port, int other)
    • getDefaultPort

      private int getDefaultPort()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object