类 ResourceTableBuilder.PackageBuilder
java.lang.Object
io.github.amsonix.molt.internal.reschiper.bundle.ResourceTableBuilder.PackageBuilder
- 封闭类:
ResourceTableBuilder
Builder for generating packages within the ResourceTable.
-
方法概要
修饰符和类型方法说明addResource(com.android.aapt.Resources.Type resType, @NotNull com.android.aapt.Resources.Entry resEntry) Adds a resource entry to the package builder.build()Builds the package and returns to the ResourceTableBuilder.
-
方法详细资料
-
build
Builds the package and returns to the ResourceTableBuilder.- 返回:
- The ResourceTableBuilder.
-
addResource
public ResourceTableBuilder.PackageBuilder addResource(com.android.aapt.Resources.Type resType, @NotNull com.android.aapt.Resources.Entry resEntry) Adds a resource entry to the package builder.- 参数:
resType- The resource type for the entry.resEntry- The resource entry to add.- 返回:
- The package builder.
-