}
}
// Add the new asset into the system, whether the policy is SINGLE or
// MULTIPLE
AssetDBRecord assetRecord = new AssetDBRecord();
assetRecord.assetURI = asset.getAssetURI().toExternalForm();
assetRecord.checksum = asset.getChecksum();
assetRecord.type = asset.getType().toString();
assetRecord.baseURL = asset.getBaseURL();
File file = asset.getLocalCacheFile();