Package org.openxava.util
Class MDIIconMapper
- java.lang.Object
-
- org.openxava.util.MDIIconMapper
-
public final class MDIIconMapper extends java.lang.ObjectMaps legacy Material Design Icons (pre v7) names to current ones (v7+) so existing controllers.xml from applications keep working without changes. Mapping is loaded from classpath resource "/xava-mdi-icon-mapping.properties". Each line must follow the format: old-name=new-name Applications can override or extend this file by adding a resource with the same path in their own classpath (it will shadow the core one). If no mapping is found for a given icon, the original name is returned.- Since:
- 7.6
- Author:
- Javier Paniza
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Stringmap(java.lang.String icon)Returns the mapped icon name for the given legacy icon, or the same value if there is no mapping.
-