Class FileIconService


  • public class FileIconService
    extends java.lang.Object
    Provides Icons that represent the type and status of a file, based on a filename mapping and caller specified status overlays.

    The mappings between a file's extension and its icon are stored in a resource file called "file_extension_icons.xml", which is read and parsed the first time this service is referenced.

    Status overlays are also specified in the file_extension_icons.xml file, and are resized to be 1/2 the width and height of the icon they are being overlaid on.

    Threadsafe

    • Field Detail

      • OVERLAY_IMPORTED

        public static final java.lang.String OVERLAY_IMPORTED
        See Also:
        Constant Field Values
      • OVERLAY_FILESYSTEM

        public static final java.lang.String OVERLAY_FILESYSTEM
        See Also:
        Constant Field Values
      • OVERLAY_MISSING_PASSWORD NEW

        public static final java.lang.String OVERLAY_MISSING_PASSWORD
        See Also:
        Constant Field Values

Method Detail