Class ImageURN

  • All Implemented Interfaces:, java.lang.Cloneable

    public class ImageURN
    extends FileURN
    Image Uniform Resource Naming (URN) instance class, with optional scaling along with options for square or rounded display, all processed and cached on the server side.
    Christopher Mindus
    See Also:
    Serialized Form
    • Method Detail

      • from

        public static ImageURN from​(URNResourceType type,
                                    java.lang.Object id)
        Creates a SVG URN from an SVG string.
        type - The URN resource type.
        id - The URN resource ID for the type: a Long or a String depending of the type.
        java.lang.NullPointerException - If the url is null.
        IllegalArgumentExecption - If the class of the id parameter does not match the type URNResourceType parameter. Currently, only {code Long} and {code String} values are allowed. - If the url is malformed.
        MalformedURNException - If the url is malformed for an iizi URN URL.