@ Deprecated public List < Icon > getIconFiles ( ) throws IOException { List < IconPath > iconPaths = getIconPaths ( ) ; List < Icon > icons = new ArrayList <> ( iconPaths . size ( ) ) ; for ( IconPath iconPath : iconPaths ) { Icon icon = newFileIcon ( iconPath . getPath ( ) , iconPath . getDensity ( ) ) ; icons . add ( icon ) ; } return icons ; }
Get all the icons for different densities .