io.proximax.model.Constants Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-chain-xipfs-sdk Show documentation
Show all versions of java-chain-xipfs-sdk Show documentation
Official ProximaX P2P Storage SDK Library in Java.
The newest version!
package io.proximax.model;
import java.util.List;
import static java.util.Arrays.asList;
/**
* This class specifies the constants used by this SDK
*/
public class Constants {
/**
* The upload schema version
*/
public static final String SCHEMA_VERSION = "1.0";
/**
* The content type to indicate it is a path upload
*/
public static final String PATH_UPLOAD_CONTENT_TYPE = "ipfs/directory";
/**
* The reserved content types that cannot be specified as content type when uploading
*/
public static final List RESERVED_CONTENT_TYPES = asList(PATH_UPLOAD_CONTENT_TYPE);
private Constants() {
}
}