Class ImagePath.PathEntry

  • Enclosing class:
    ImagePath

    public static class ImagePath.PathEntry
    extends java.lang.Object
    represents an imagepath entry
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String path  
      java.net.URL pathURL  
    • Constructor Summary

      Constructors 
      Constructor Description
      PathEntry​(java.io.File folder)  
      PathEntry​(java.lang.String givenName, java.net.URL eqivalentURL)
      create a new image path entry
    • Field Detail

      • pathURL

        public java.net.URL pathURL
      • path

        public java.lang.String path
    • Constructor Detail

      • PathEntry

        public PathEntry​(java.lang.String givenName,
                         java.net.URL eqivalentURL)
        create a new image path entry
        Parameters:
        givenName - the given path relative or absolute
        eqivalentURL - the evaluated URL
      • PathEntry

        public PathEntry​(java.io.File folder)
    • Method Detail

      • isValid

        public boolean isValid()
      • getPath

        public java.lang.String getPath()
      • isFile

        public boolean isFile()
      • isJar

        public boolean isJar()
      • isHTTP

        public boolean isHTTP()
      • getFile

        public java.io.File getFile()
      • existsFile

        public boolean existsFile()
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object