public void writeExif(InputStream jpegStream,OutputStream exifOutStream) throws IOException {
  if (jpegStream == null || exifOutStream == null) {
    throw new IllegalArgumentException(NULL_ARGUMENT_STRING);
  }
  OutputStream s=getExifWriterStream(exifOutStream);
  doExifStreamIO(jpegStream,s);
  s.flush();
}

public void writeExif ( InputStream jpegStream , OutputStream exifOutStream ) throws IOException { if ( jpegStream == null || exifOutStream == null ) { throw new IllegalArgumentException ( NULL_ARGUMENT_STRING ) ; } OutputStream s = getExifWriterStream ( exifOutStream ) ; doExifStreamIO ( jpegStream , s ) ; s . flush ( ) ; }
writes the tags from this exifinterface object into a jpeg stream , removing prior exif tags .
