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

com.cloudinary.ResponsiveBreakpoint Maven / Gradle / Ivy

Go to download

Cloudinary is a cloud service that offers a solution to a web application's entire image management pipeline. Upload images to the cloud. Automatically perform smart image resizing, cropping and conversion without installing any complex software. Integrate Facebook or Twitter profile image extraction in a snap, in any dimension and style to match your website’s graphics requirements. Images are seamlessly delivered through a fast CDN, and much much more. This Java library allows to easily integrate with Cloudinary in Java applications.

There is a newer version: 1.0.1-dummy
Show newest version
package com.cloudinary;

import org.cloudinary.json.JSONObject;

public class ResponsiveBreakpoint extends JSONObject {
    public ResponsiveBreakpoint() {
        put("create_derived", true);
    }

    public boolean isCreateDerived() {
        return optBoolean("create_derived");
    }

    public ResponsiveBreakpoint createDerived(boolean createDerived) {
        put("create_derived", createDerived);
        return this;
    }

    public Transformation transformation() {
        return (Transformation) opt("transformation");
    }

    public ResponsiveBreakpoint transformation(Transformation transformation) {
        put("transformation", transformation);
        return this;
    }

    public ResponsiveBreakpoint format(String format) {
        put("format", format);
        return this;
    }

    public String format() {
        return optString("format");
    }

    public int maxWidth() {
        return optInt("max_width");
    }

    public ResponsiveBreakpoint maxWidth(int maxWidth) {
        put("max_width", maxWidth);
        return this;
    }

    public int minWidth() {
        return optInt("min_width");
    }

    public ResponsiveBreakpoint minWidth(Integer minWidth) {
        put("min_width", minWidth);
        return this;
    }

    public int bytesStep() {
        return optInt("bytes_step");
    }

    public ResponsiveBreakpoint bytesStep(Integer bytesStep) {
        put("bytes_step", bytesStep);
        return this;
    }

    public int maxImages() {
        return optInt("max_images");
    }

    public ResponsiveBreakpoint maxImages(Integer maxImages) {
        put("max_images", maxImages);
        return this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy