本文整理了Java中com.cloudinary.Util.putEager()
方法的一些代码示例,展示了Util.putEager()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Util.putEager()
方法的具体详情如下:
包路径:com.cloudinary.Util
类名称:Util
方法名:putEager
暂无
代码示例来源:origin: com.cloudinary/cloudinary-core
putEager("eager", options, params);
Object transformation = options.get("transformation");
if (transformation != null) {
代码示例来源:origin: cloudinary/cloudinary_java
putEager("eager", options, params);
Object transformation = options.get("transformation");
if (transformation != null) {
代码示例来源:origin: cloudinary/cloudinary_java
@SuppressWarnings({"rawtypes", "unchecked"})
public static final Map<String, Object> buildArchiveParams(Map options, String targetFormat) {
Map<String, Object> params = new HashMap<String, Object>();
if (options != null && options.size() > 0){
params.put("type", options.get("type"));
params.put("mode", options.get("mode"));
params.put("target_format", targetFormat);
params.put("target_public_id", options.get("target_public_id"));
putBoolean("flatten_folders", options, params);
putBoolean("flatten_transformations", options, params);
putBoolean("use_original_filename", options, params);
putBoolean("async", options, params);
putBoolean("keep_derived", options, params);
params.put("notification_url", options.get("notification_url"));
putArray("target_tags", options, params);
putArray("tags", options, params);
putArray("public_ids", options, params);
putArray("prefixes", options, params);
putEager("transformations", options, params);
putObject("timestamp", options, params, Util.timestamp());
putBoolean("skip_transformation_name", options, params);
putBoolean("allow_missing", options, params);
putObject("expires_at", options, params);
}
return params;
}
代码示例来源:origin: com.cloudinary/cloudinary-core
@SuppressWarnings({"rawtypes", "unchecked"})
public static final Map<String, Object> buildArchiveParams(Map options, String targetFormat) {
Map<String, Object> params = new HashMap<String, Object>();
if (options != null && options.size() > 0){
params.put("type", options.get("type"));
params.put("mode", options.get("mode"));
params.put("target_format", targetFormat);
params.put("target_public_id", options.get("target_public_id"));
putBoolean("flatten_folders", options, params);
putBoolean("flatten_transformations", options, params);
putBoolean("use_original_filename", options, params);
putBoolean("async", options, params);
putBoolean("keep_derived", options, params);
params.put("notification_url", options.get("notification_url"));
putArray("target_tags", options, params);
putArray("tags", options, params);
putArray("public_ids", options, params);
putArray("prefixes", options, params);
putEager("transformations", options, params);
putObject("timestamp", options, params, Util.timestamp());
putBoolean("skip_transformation_name", options, params);
putBoolean("allow_missing", options, params);
putObject("expires_at", options, params);
}
return params;
}
内容来源于网络,如有侵权,请联系作者删除!