setExpirationDate(new Date(System.currentTimeMillis() + (timeToLive * 1000)));
setExpirationDate(new Date(System.currentTimeMillis() + (1000L * timeToLive)));
	public FileRepresentation(File file, MediaType mediaType, int timeToLive)	{		super(mediaType);		this.file = file;		setModificationDate(new Date(file.lastModified()));		setExpirationDate(new Date(System.currentTimeMillis() + (timeToLive * 1000)));		setMediaType(mediaType);	}