protected static final class WebAppManifest.ImageResource extends Object
WebAppManifest.getIcons()
.Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
String |
getSizes() |
String |
getSrc() |
String |
getType() |
int |
hashCode() |
static WebAppManifest.ImageResource |
of(String resourceIdentifier,
WebAppManifest.Size... sizes)
Creates image resource of given resource identifier and sizes.
|
public static WebAppManifest.ImageResource of(String resourceIdentifier, WebAppManifest.Size... sizes)
resourceIdentifier
- The JSF resource identifier. E.g. library:path/name.png
sizes
- The supported sizes of this image resource.NullPointerException
- When resource identifier is null.IllegalArgumentException
- When resource cannot be found.public String getSrc()
public String getSizes()
public String getType()
Copyright © 2012–2021 OmniFaces. All rights reserved.