package model;

import java.io.File;

import com.oreilly.servlet.multipart.FileRenamePolicy;

public class RandomNameUploading implements FileRenamePolicy{

	@Override
	public File rename(File arg0) {
		// TODO Auto-generated method stub
		return new File(arg0.getParentFile(), Long.toHexString(Double.doubleToLongBits(Math.random())).toUpperCase());
	}

}
