Exemplo n.º 1
0
 @Override
 public void close() {
   try {
     serializer.flush();
   } catch (IOException e) {
     throw new RuntimeException("flush error", e);
   }
   IOUtils.closeQuietly(outputStream);
 }