How will you create a Base64 encoder that encodes using the MIME type base64 encoding scheme in Java8?
getMimeEncoder() method of Base64 class returns a Base64.Encoder that encodes using the MIME type base64 encoding scheme.