//----------------------------BEGIN LICENSE----------------------------
/* 
 * Willow : the Open Source WorkFlow Project
 * Distributable under GNU LGPL license by gun.org
 *
 * Copyright (C) 2004-2010  huihoo.org 
 * Copyright (C) 2004-2010  ZosaTapo <dertyang@hotmail.com> 
 * 
 * ====================================================================
 * Project Homepage : http://www.huihoo.org/willow
 * Source Forge     : http://sourceforge.net/projects/huihoo
 * Mailing list     : willow@lists.sourceforge.net 
 */
//----------------------------END  LICENSE-----------------------------
package org.huihoo.willow.loader;

import java.net.URL;
import java.security.cert.Certificate;
import java.util.jar.Manifest;

public class ResourceEntry
{

	/**
	 * The "last modified" time of the origin file at the time this class
	 * was loaded, in milliseconds since the epoch.
	 */
	public long lastModified = -1;

	/**
	 * Binary content of the resource.
	 */
	public byte[] binaryContent = null;

	/**
	 * Loaded class.
	 */
	public Class loadedClass = null;

	/**
	 * URL source from where the object was loaded.
	 */
	public URL source = null;


	/**
	 * URL of the codebase from where the object was loaded.
	 */
	public URL codeBase = null;

	/**
	 * Manifest (if the resource was loaded from a JAR).
	 */
	public Manifest manifest = null;

	/**
	 * Certificates (if the resource was loaded from a JAR).
	 */
	public Certificate[] certificates = null;

}
