
com.qiniu.service.interfaces.IEntryParam Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qsuits Show documentation
Show all versions of qsuits Show documentation
qiniu-suits is a efficient tools for qiniu api implemented by java8.
package com.qiniu.service.interfaces;
import java.io.IOException;
public interface IEntryParam {
/**
* 获取属性值,判断是否存在相应的 key,要求不存在或 value 为空则抛出异常
* @param key 属性名
* @return 属性值字符
* @throws IOException 无法获取参数值或者参数值为空时抛出异常
*/
String getValue(String key) throws IOException;
/**
* 获取属性值,不抛出异常,使用 default 值进行返回,要求原值为空时同样返回默认值
* @param key 属性名
* @param Default 默认返回值
* @return 属性值字符
*/
String getValue(String key, String Default);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy