@@ -0,0 +1,803 @@
+package com.github.to2mbn.jmccc.mcdownloader;%0A%0Apublic class Asset %7B%0A%0A%09private String virtualPath;%0A%09private String hash;%0A%09private int size;%0A%0A%09/**%0A%09 * Creates an asset.%0A%09 * %0A%09 * @param virtualPath the virtual path%0A%09 * @param hash the sha1 hash%0A%09 * @param size the size%0A%09 */%0A%09public Asset(String virtualPath, String hash, int size) %7B%0A%09%09this.virtualPath = virtualPath;%0A%09%09this.hash = hash;%0A%09%09this.size = size;%0A%09%7D%0A%0A%09/**%0A%09 * Gets the virtual path.%0A%09 * %0A%09 * @return the virtual path%0A%09 */%0A%09public String getVirtualPath() %7B%0A%09%09return virtualPath;%0A%09%7D%0A%0A%09/**%0A%09 * Gets the sha1 hash of the asset.%0A%09 * %0A%09 * @return the sha1 hash of the asset%0A%09 */%0A%09public String getHash() %7B%0A%09%09return hash;%0A%09%7D%0A%0A%09/**%0A%09 * Gets the size of the asset.%0A%09 * %0A%09 * @return the size of the asset%0A%09 */%0A%09public int getSize() %7B%0A%09%09return size;%0A%09%7D%0A%0A%7D%0A

add Asset