code: public static void compressTar(Resource[] sources, Resource target, int mode) throws IOException {
  	compressTar(sources, IOUtil.toBufferedOutputStream(target.getOutputStream()), mode);
      }
docs: compress a source file/directory to a tar file
  
  @param sources
  @param target
  @param mode
  @throws IOException