use of org.lastaflute.web.ruts.multipart.MultipartFormFile in project fess by codelibs.
the class FessMultipartRequestHandler method addFileParameter.
protected void addFileParameter(final FileItem item) {
final MultipartFormFile formFile = newActionMultipartFormFile(item);
elementsFile.put(item.getFieldName(), formFile);
elementsAll.put(item.getFieldName(), formFile);
}
use of org.lastaflute.web.ruts.multipart.MultipartFormFile in project fess by codelibs.
the class FessMultipartRequestHandler method rollback.
// ===================================================================================
// Roll-back
// =========
@Override
public void rollback() {
final Iterator<MultipartFormFile> iter = elementsFile.values().iterator();
while (iter.hasNext()) {
final MultipartFormFile formFile = iter.next();
formFile.destroy();
}
}
Aggregations