示例#1
0
 /**
  * Create a {@link InputStream} containing a zip representation of the given folder.
  *
  * @param folder the folder to compress
  * @param prefix an optional entry prefix. This allows a entries to be nested within a folder if
  *     required
  */
 public static InputStream compress(Folder folder, String prefix) {
   return compress(folder.find(), prefix);
 }