使用 DOM 和 JDOM 之类的 API 将 XML 数据结构直接写入文件
Using the DOM and JDOM APIs and the like directly to write to a file from your XML data structure
如前所述,可以直接释放没有经过修改的永久存储分页,无需将其写入到文件系统中,因为文件系统包含该数据的原始副本。
As mentioned earlier, an unmodified permanent storage page can just be released without being written to the file system, since the file system contains a pristine copy of the data.
这个类将不会调用方法,因为这些常量直接写入了类文件静态属性初始化中,这个初始化直接由虚拟机来处理。
The class no longer requires a method, because the constants go into static field initializers in the dex file.
应用推荐