⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 loader.java

📁 非常接近C/S操作方式的Java Ajax框架-ZK 用ZK框架使你的B/S应用程序更漂亮更易操作。 官网:www.zkoss.org
💻 JAVA
字号:
/* Loader.java{{IS_NOTE	Purpose:			Description:			History:		Fri Jun  3 09:13:02     2005, Created by tomyeh}}IS_NOTECopyright (C) 2005 Potix Corporation. All Rights Reserved.{{IS_RIGHT	This program is distributed under GPL Version 2.0 in the hope that	it will be useful, but WITHOUT ANY WARRANTY.}}IS_RIGHT*/package org.zkoss.util.resource;/** * A loader that could load a resource to another format. * It is mainly designed to work with {@link ResourceCache}. * * @author tomyeh */public interface Loader {	/** Returns whether to call {@link #getLastModified}.	 * If false, it assumes the current cached content is up-to-date.	 *	 * @param expiredMillis how many milli-seconds are expired after the last	 * check. In most cases, just return true if expiredMillis > 0	 */	public boolean shallCheck(Object src, long expiredMillis);	/** Returns the last modified time, or -1 if reload is required or not exists.	 */	public long getLastModified(Object src);	/** Loads the resource.	 * @return null if not found	 * @exception Exception you might throw any exception which will be	 * passed back to the caller of {@link ResourceCache#get}	 */	public Object load(Object src) throws Exception;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -