类 AppBundlePackager

java.lang.Object
io.github.amsonix.molt.internal.reschiper.bundle.AppBundlePackager

public class AppBundlePackager extends Object
Utility class for packaging an Android App Bundle (AAB) and writing it to an output file.
  • 构造器概要

    构造器
    构造器
    说明
    AppBundlePackager(com.android.tools.build.bundletool.model.AppBundle appBundle, Path output)
    Constructs an AppBundlePackager with the provided AppBundle and output path.
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    Executes the packaging of the Android App Bundle (AAB) and writes it to the output file.

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • AppBundlePackager

      public AppBundlePackager(com.android.tools.build.bundletool.model.AppBundle appBundle, Path output)
      Constructs an AppBundlePackager with the provided AppBundle and output path.
      参数:
      appBundle - The Android App Bundle (AAB) to package and write.
      output - The path to the output file where the packaged AAB will be written.
      抛出:
      IllegalArgumentException - If the output file already exists.
  • 方法详细资料

    • execute

      public void execute() throws IOException
      Executes the packaging of the Android App Bundle (AAB) and writes it to the output file.
      抛出:
      IOException - If an I/O error occurs during packaging or writing.