@DefaultNonNull public final class ResourceInfoCache extends Object
| Constructor and Description |
|---|
ResourceInfoCache(DomApplication application) |
| Modifier and Type | Method and Description |
|---|---|
Dimension |
getImageDimension(NodeBase node,
String themeResource)
Find the image dimensions for the specified resource specified in Java terms.
|
Dimension |
getImageDimension(String resourceRURL)
Find the image dimensions for the specified resource specified as a RURL.
|
public ResourceInfoCache(DomApplication application)
@Nullable public Dimension getImageDimension(NodeBase node, String themeResource) throws Exception
node - themeResource - Exception@Nullable public Dimension getImageDimension(String resourceRURL) throws Exception
getImageDimension(NodeBase, String) for that.resourceRURL - ExceptionCopyright © 2017 etc.to. All rights reserved.