com.iohao.profile.able.Profileable Maven / Gradle / Ivy
package com.iohao.profile.able;
/**
* 通过第三方获取数据的接口
*
* create time : 2019-02-02 15:14
*
* @author [email protected]
*/
public interface Profileable {
/**
* 获取 str 值
*
* @param key key
* @param defVal 默认值
* @return strValue
*/
String get(String key, String defVal);
/**
* 获取 bool 值
*
* @param key key
* @param defVal 默认值
* @return boolValue
*/
boolean getBool(String key, boolean defVal);
/**
* 获取 int 值
*
* @param key key
* @param defVal 默认值
* @return intValue
*/
int getInt(String key, int defVal);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy