Class FileIcon


  • public final class FileIcon
    extends java.lang.Object
    Utility class used to get the file icon for a specific file type.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  FileIcon.KnownExtensions
      File extensions associated with an icon.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String forExtension​(java.lang.String extension)
      Returns the path of the image to load for the specified file extension.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • forExtension

        public static java.lang.String forExtension​(java.lang.String extension)
        Returns the path of the image to load for the specified file extension.
        Parameters:
        extension - file extension
        Returns:
        path of the image file