Tabnine Logo
Util.putArray
Code IndexAdd Tabnine to your IDE (free)

How to use
putArray
method
in
com.cloudinary.Util

Best Java code snippets using com.cloudinary.Util.putArray (Showing top 2 results out of 315)

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;
}
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;
}
com.cloudinaryUtilputArray

Popular methods of Util

  • clearEmpty
  • buildCustomHeaders
  • buildEager
  • buildUploadParams
  • encodeContext
  • processWriteParameters
  • buildArchiveParams
  • encodeAccessControl
  • putBoolean
  • putEager
  • putObject
  • timestamp
  • putObject,
  • timestamp

Popular in Java

  • Making http requests using okhttp
  • getExternalFilesDir (Context)
  • putExtra (Intent)
  • getSystemService (Context)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Path (java.nio.file)
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now