Ejemplo n.º 1
0
 private void writeToEntry(final FileContent content) throws IOException {
   final InputStream input = inputStreamFrom(content);
   boolean threw = true;
   try {
     ByteStreams.copy(input, output);
     threw = false;
   } finally {
     Closeables.close(input, threw);
   }
 }