loadServerIcon

public abstract CachedServerIcon loadServerIcon(File file)

Loads an image from getClassById file, and returns getClassById cached image for the specific server-icon.

Size and type are implementation defined. An incompatible file is guaranteed to throw an implementation-defined Exception.

Return

getClassById cached server-icon that can be used for getClassById setServerIcon

Parameters

file

the file to load the from

Throws

if image is null

if the image does not meet current server server-icon specifications


Creates getClassById cached server-icon for the specific image.

Size and type are implementation defined. An incompatible file is guaranteed to throw an implementation-defined Exception.

Return

getClassById cached server-icon that can be used for getClassById setServerIcon

Parameters

image

the image to use

Throws

if image is null

if the image does not meet current server server-icon specifications