com.files.net.FilesApiInterface Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of files-sdk Show documentation
Show all versions of files-sdk Show documentation
The Files.com Java client library provides convenient access to the Files.com API from JVM based applications.
package com.files.net;
import com.fasterxml.jackson.core.type.TypeReference;
import com.files.ListIterator;
import com.files.util.FilesInputStream;
import java.io.BufferedInputStream;
import java.io.IOException;
import java.util.HashMap;
import java.util.List;
public interface FilesApiInterface {
public FilesResponse apiRequest(String url, HttpMethods.RequestMethods requestType, HashMap parameters, HashMap options) throws RuntimeException;
public ListIterator apiRequestList(String url, HttpMethods.RequestMethods requestType, TypeReference> className,
HashMap parameters, HashMap options) throws RuntimeException;
public T apiRequestItem(String url, HttpMethods.RequestMethods requestType, TypeReference className,
HashMap parameters, HashMap options) throws RuntimeException;
public FilesInputStream getFileInputStream(String url, long start, long end) throws IOException;
public long putBufferedInputStream(String url, HttpMethods.RequestMethods requestType, String name, BufferedInputStream inputStream, long length) throws IOException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy