private static long getFileSize(String filename, Object location) {
		if (location instanceof File) {
			return ((File) location).length();// + "-" + new Date(((File)location).lastModified());
		}
		try {
			ZipEntry entry = FileSupport.getZipEntryFromZip(filename, (String) location);
			return entry.getSize();// + "-" + new Date(entry.getTime());
		} catch (IOException e) {
		}
		return 0;
	}
private static long getFileSize ( String filename , Object location ) { if ( location instanceof File ) { return ( ( File ) location ) . length ( ) ; } try { ZipEntry entry = FileSupport . getZipEntryFromZip ( filename , ( String ) location ) ; return entry . getSize ( ) ; } catch ( IOException e ) { } return 0 ; }
@param filename
@param location
@return