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

How to use
putBoolean
method
in
com.cloudinary.Util

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

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;
}
origin: com.cloudinary/cloudinary-core

params.put("type", (String) options.get("type"));
for (String attr : BOOLEAN_UPLOAD_OPTIONS) {
  putBoolean(attr, options, params);
origin: cloudinary/cloudinary_java

params.put("type", (String) options.get("type"));
for (String attr : BOOLEAN_UPLOAD_OPTIONS) {
  putBoolean(attr, options, params);
com.cloudinaryUtilputBoolean

Popular methods of Util

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

Popular in Java

  • Finding current android device location
  • getSharedPreferences (Context)
  • findViewById (Activity)
  • setRequestProperty (URLConnection)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • JList (javax.swing)
  • Best IntelliJ plugins
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