读取properties文件的Android库:android-properties
                 jopen
                 11年前
            
                    这是一个Android库提供一种简单的方式来读取存储在assets文件夹中的properties文件。你只需要扩展AssetsProperties并使用@Property注释来调用自动属性映射。
示例:
assets/config.properties
int_value=23  flag=true  tax=2.3fConfig.java
public class Config extends AssetsProperties {      @Property("int_value") int intValue;    @Property boolean flag;    @Property float tax;      public Config(Context context) { super(context); }  } 