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

src.main.java.com.aceql.client.jdbc.util.AceQLStatementUtil Maven / Gradle / Ivy

Go to download

The AceQL Java Client SDK allows to wrap the AceQL HTTP APIs and eliminate the tedious works of handling communications errors and parsing JSON results. Android and Java Desktop application developers can access remote SQL databases and/or SQL databases in the cloud by simply including standard JDBC calls in their code, just like they would for a local database.

There is a newer version: 5.1
Show newest version
package com.aceql.client.jdbc.util;

import java.io.IOException;
import java.io.InputStream;
import java.util.zip.GZIPInputStream;

public class AceQLStatementUtil {

    public static InputStream getFinalInputStream(InputStream in, boolean gzipResult) throws IOException {

        InputStream inFinal = null;
        if (!gzipResult) {
            inFinal = in;
        } else {
            inFinal = new GZIPInputStream(in);
        }
        return inFinal;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy