All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.qiniu.service.interfaces.IEntryParam Maven / Gradle / Ivy

There is a newer version: 8.4.8
Show newest version
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