
public class file {

	private int appearances;
	private byte[] content;
	private long responseSize;
	private String fileType;

	/**
	 * Builder.
	 * 
	 * @param fileSize
	 *            : File size.
	 * @param fileType
	 *            : File type.
	 * @param content
	 *            :Content file.
	 **/
	file(long fileSize, String fileType, byte[] content) {
		this.responseSize = fileSize;
		this.fileType = fileType;
		this.appearances = 1;
		this.content = content;
	}

	// Getters and setters
	public int getAppearances() {
		return appearances;
	}

	public void setAppearances(int appearances) {
		this.appearances = appearances;
	}

	public byte[] getContent() {
		return content;
	}

	public void setContent(byte[] content) {
		this.content = content;
	}

	public long getResponseSize() {
		return responseSize;
	}

	public String getFileType() {
		return fileType;
	}

}


/**
 * Author: Carlos Cámara
 */
public class file {

	private int appearances;
	private byte[] content;
	private long responseSize;
	private String fileType;

	/**
	 * Builder.
	 * 
	 * @param fileSize
	 *            : File size.
	 * @param fileType
	 *            : File type.
	 * @param content
	 *            :Content file.
	 **/
	file(long fileSize, String fileType, byte[] content) {
		this.responseSize = fileSize;
		this.fileType = fileType;
		this.appearances = 1;
		this.content = content;
	}

	// Getters and setters
	public int getAppearances() {
		return appearances;
	}

	public void setAppearances(int appearances) {
		this.appearances = appearances;
	}

	public byte[] getContent() {
		return content;
	}

	public void setContent(byte[] content) {
		this.content = content;
	}

	public long getResponseSize() {
		return responseSize;
	}

	public String getFileType() {
		return fileType;
	}

}


Update file.java