/** * Associate a File with this entry, implicitly determining the mime type * from the file's extension. * * @deprecated use setFile(File, String) instead. */ @Deprecated public void setFile(File file) { setFile(file, getMimeTypeFromFileName(file.getName())); }
/** * Associate a File with this entry, implicitly determining the mime type * from the file's extension. * * @deprecated use setFile(File, String) instead. */ @Deprecated public void setFile(File file) { setFile(file, getMimeTypeFromFileName(file.getName())); }
/** * Associate a File with this entry, implicitly determining the mime type * from the file's extension. * * @deprecated use setFile(File, String) instead. */ @Deprecated public void setFile(File file) { setFile(file, getMimeTypeFromFileName(file.getName())); }