leonardo 2016-03-02 17:40:07 +00:00
parent b655a49619
commit e281481470
1 changed files with 2 additions and 1 deletions

View File

@ -91,6 +91,7 @@ public class RelatorioArquivoBGMController extends MyGenericForwardComposer {
String fileZip = System.getProperty("jboss.server.log.dir") + "\\ArquivosBGM.zip";
log.debug("nome arquivo: " + fileZip);
FileInputStream inputStream;
compactarArquivos(files, fileZip);
@ -100,7 +101,7 @@ public class RelatorioArquivoBGMController extends MyGenericForwardComposer {
inputStream = new FileInputStream(filez);
Filedownload.save(inputStream, new MimetypesFileTypeMap().getContentType(filez), filez.getName());
}
filez.delete();
//filez.delete();
}
public static void compactarArquivo(String arqSaida,String arqEntrada) throws IOException{