Code example for JarEntry

Methods: getTime

0
	 * @return modification time of an entry, 0 if not found, or -1 if not specified 
	 */ 
	@Override 
	public long getResourceTime(String pathWithinBundle) {
		JarEntry entry = jarModule.getJarEntry(pathWithinBundle);
		return (entry != null ? entry.getTime() : 0);
	} 
 
	/* 
	 * (non-Javadoc) 
	 * @see com.idega.idegaweb.DefaultIWBundle#unload(boolean) 
	 */ 
	@Override 
	public synchronized void unload(boolean storeState) {
		super.unload(storeState);
		this.jarModule=null;	
	} 
 
	protected String getLocalizedResourcePath(Locale locale){
		return "resources/" + locale.toString() + ".locale";