public static void compressTar(Resource[] sources,Resource target,int mode) throws IOException {
  compressTar(sources,IOUtil.toBufferedOutputStream(target.getOutputStream()),mode);
}

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