public static class DefaultIconScheme.IconResource
extends java.lang.Object
Constructor and Description |
---|
IconResource(java.lang.String fileName,
java.lang.String path,
java.lang.ClassLoader loader)
Creates a new source for icons
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFileName()
Gets the name of the file with the "key=path" values.
|
java.lang.ClassLoader |
getLoader()
Gets the
ClassLoader which should be used to load files |
java.lang.String |
getPath()
Gets the prefix of the paths that are found in the icons file.
|
public IconResource(java.lang.String fileName, java.lang.String path, java.lang.ClassLoader loader)
fileName
- the name of the file that contains "key=path" valuespath
- the prefix of the paths that are found in the fileloader
- the ClassLoader
to load the iconspublic java.lang.String getFileName()
public java.lang.String getPath()
null
public java.lang.ClassLoader getLoader()
ClassLoader
which should be used to load files