class FilePart extends AbstractPart {

	@Override
	public InputStream getContent() throws IOException {
		if (!file.exists()) {
			throw new IOException("The file of parts doesn't exist. [PATH : ] "
					+ file.getAbsolutePath());
		}

		InputStream is = new BufferedInputStream(new FileInputStream(file));
		return is;
	}

	public  FilePart(File file);
	public  FilePart(String name, File file);
	public  FilePart(String name, File file, ContentType contentType);

}