com.dropbox.client2.jsonextract.JsonBase Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dropbox-java-sdk Show documentation
Show all versions of dropbox-java-sdk Show documentation
The Dropbox API for Java is a Dropbox supported client library for accessing the
JSON+REST interface to Dropbox. It supports OAuth proxied authentication. It is
designed to be simple and easy to use, as well as instructional in case you want
to write your own. It is MIT licensed.
The newest version!
package com.dropbox.client2.jsonextract;
/**
* (Internal class for extracting JSON.)
*/
abstract class JsonBase {
public final T internal;
public final String path;
public JsonBase(T internal) {
this(internal, null);
}
public JsonBase(T internal, String path) {
this.internal = internal;
this.path = path;
}
public JsonExtractionException error(String message) {
return new JsonExtractionException(path, message, internal);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy