/** * This file is auto generated from JavaDoc. Do not modify it manually. */ import type { String } from "../../types/java/lang/String"; import type { Node } from "../../types/javax/jcr/Node"; /** * Utility interface for Icons. * *

* An instance of the Sitevision class implementing this interface can be obtained via {@link senselogic.sitevision.api.Utils#getIconUtil()}. * See {@link senselogic.sitevision.api.Utils} for how to obtain an instance of the Utils interface. *

* @author Magnus Lövgren * @deprecated */ export interface IconUtil { /** * Gets the file icon node for a given file extension. * @param aFileExtension the file extension (e.g "pdf", "PDF", "doc"). The extension is case insensitive. * @return the file icon node for aFileExtension, or null if the extension has no icon mapping */ getFileIcons(aFileExtension: String | string): Node; /** * Gets the small file icon URI for a given file extension * @param aFileExtension the file extension (e.g "pdf", "PDF", "doc"). The extension is case insensitive. * @return the small file icon URI for aFileExtension, or null if no small icon is specified for the extension */ getSmallFileIconURI(aFileExtension: String | string): string; /** * Gets the large file icon URI for a given file extension * @param aFileExtension the file extension (e.g "pdf", "PDF", "doc"). The extension is case insensitive. * @return the large file icon URI for aFileExtension, or null if no large icon is specified for the extension */ getLargeFileIconURI(aFileExtension: String | string): string; } declare namespace IconUtil {} declare var iconUtil: IconUtil; export default iconUtil;