public class FileIcon extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
debug |
| Constructor and Description |
|---|
FileIcon() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getFileExt(String fname)
get the file extension for the given filename
e.g.
|
static javafx.scene.image.Image |
getFileIcon(File file)
get the file icon for the given file
|
static javafx.scene.image.Image |
getFileIcon(String ext)
get the Icon image for the given file extension
|
public static String getFileExt(String fname)
fname - public static javafx.scene.image.Image getFileIcon(File file)
file - Copyright © 2019 BITPlan GmbH. All rights reserved.