Package 

Object BsDiffTool

    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static BsDiffTool INSTANCE
    • Method Summary

      Modifier and Type Method Description
      final Integer diff(String newFilePath, String oldFilePath, String patchFilePath) 生成差分包
      final Integer patch(String oldFilePath, String patchFilePath, String combineFilePath) 合并差分包
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • diff

         final Integer diff(String newFilePath, String oldFilePath, String patchFilePath)

        生成差分包

        Parameters:
        newFilePath - String 新文件地址
        oldFilePath - String 旧文件地址
        patchFilePath - String 生成的差分包地址
      • patch

         final Integer patch(String oldFilePath, String patchFilePath, String combineFilePath)

        合并差分包

        Parameters:
        oldFilePath - String 旧文件地址
        patchFilePath - String 补丁文件地址
        combineFilePath - String 合并后的新文件地址