|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A bundle of information about a resource represented by a Link
.
Field Summary | |
static int |
ICON_COLOR_16x16
Constant to indicate a 16 x 16 color icon. |
static int |
ICON_COLOR_32x32
Constant to indicate a 32 x 32 color icon. |
static int |
ICON_MONO_16x16
Constant to indicate a 16 x 16 monochrome icon. |
static int |
ICON_MONO_32x32
Constant to indicate a 32 x 32 monochrome icon. |
Method Summary | |
java.lang.String |
getDescription()
Gets a short description for this resource, suitable for presentation to users, under the current locale. |
java.lang.String |
getDescription(java.util.Locale locale)
Gets a short description for this resource, suitable for presentation to users, under the specified locale. |
java.net.URL |
getIconImageFile(int iconKind)
Gets a URL for the image file of an icon for this resource, suitable for presentation to users, under the current locale. |
java.net.URL |
getIconImageFile(java.util.Locale locale,
int iconKind)
Gets a URL for the image file of an icon for this resource, suitable for presentation to users, under the specified locale. |
java.io.InputStream |
getIconImageFileAsStream(int iconKind)
Gets an InputStream for the image file of an icon for this resource, suitable for presentation to users, under the current locale. |
java.io.InputStream |
getIconImageFileAsStream(java.util.Locale locale,
int iconKind)
Gets an InputStream for the image file of an icon for this resource, suitable for presentation to users, under the specified locale. |
java.lang.String |
getName()
Gets the name of this resource, suitable for presentation to users,. |
java.lang.String |
getName(java.util.Locale locale)
Gets the name of this resource, suitable for presentation to users. |
java.util.Locale[] |
getSupportedLocales()
Returns an array of locales supported by this ResourceInfo. |
Field Detail |
public static final int ICON_COLOR_16x16
public static final int ICON_COLOR_32x32
public static final int ICON_MONO_16x16
public static final int ICON_MONO_32x32
Method Detail |
public java.util.Locale[] getSupportedLocales()
public java.lang.String getName()
public java.lang.String getName(java.util.Locale locale)
public java.lang.String getDescription()
public java.lang.String getDescription(java.util.Locale locale)
public java.net.URL getIconImageFile(int iconKind)
public java.io.InputStream getIconImageFileAsStream(int iconKind)
public java.net.URL getIconImageFile(java.util.Locale locale, int iconKind)
public java.io.InputStream getIconImageFileAsStream(java.util.Locale locale, int iconKind)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |