Ignore:
Timestamp:
2010-07-07T19:18:19+02:00 (14 years ago)
Author:
bastiK
Message:

see #5220 - Timestamp and GPS tags fail to load from HTC Tattoo images

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/ImageProvider.java

    r2990 r3365  
    8888    /**
    8989     * Like {@link #get(String)}, but does not throw and return <code>null</code> in case of nothing
    90      * is found. Use this, if the image to retrieve is optional.
     90     * is found. Use this, if the image to retrieve is optional. Nevertheless a warning will
     91     * be printed on the console if the image could not be found.
    9192     */
    9293    public static ImageIcon getIfAvailable(Collection<String> dirs, String id, String subdir, String name) {
     
    9495    }
    9596
     97    /**
     98     * The full path of the image is either a url (starting with http://)
     99     * or something like
     100     *   dirs.get(i)+"/"+subdir+"/"+name+".png".
     101     * @param dirs      Directories to look.
     102     * @param id        An id used for caching. Id is not used for cache if name starts with http://. (URL is unique anyway.)
     103     * @param subdir    Subdirectory the image lies in.
     104     * @param name      The name of the image. If it contains no '.', a png extension is added.
     105     * @param archive   A zip file where the image is located.
     106     */
    96107    public static ImageIcon getIfAvailable(Collection<String> dirs, String id, String subdir, String name, File archive) {
    97108        if (name == null)
Note: See TracChangeset for help on using the changeset viewer.