Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个包含 ASCII 元数据标头的二进制文件。元素的形式为“tag = value”。您是否知道任何可以简化此元数据提取的 Java 库。
是的,您可以使用Properties. 它load和store方法使用的格式与您描述的格式非常相似。
Properties
load
store