IT 세상/자바세상

org.apache.commons.io.IOUtils.copy

이현민 (지후지율아빠) 2010. 2. 25. 21:32

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