본문 바로가기

IT 세상/자바세상

org.apache.commons.io.IOUtils.copy


  •         FileOutputStream output = new FileOutputStream(destination);   
  •         try {   
  •             IOUtils.copy(input, output);   
  •         } finally {   
  •             IOUtils.closeQuietly(output);   
  •         }



  • 'IT 세상 > 자바세상' 카테고리의 다른 글