public ContentPackageBuilder thumbnailImage(InputStream is) throws IOException {
    metadata.setThumbnailImage(IOUtils.toByteArray(is));
    return this;
  }
public ContentPackageBuilder thumbnailImage ( InputStream is ) throws IOException { metadata . setThumbnailImage ( IOUtils . toByteArray ( is ) ) ; return this ; }
Set thumbnail PNG image.
@param is Input stream with Thumbnail PNG image binary data
@return this
@throws IOException I/O exception