public interface IPFSClient
| Modifier and Type | Field and Description |
|---|---|
static String |
ENV_IPFS_API_HOST |
static String |
ENV_IPFS_API_PORT |
static String |
ENV_IPFS_GATEWAY_HOST |
static String |
ENV_IPFS_GATEWAY_PORT |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
add(Path path) |
String |
addSingle(Path path) |
InputStream |
cat(String cid) |
Future<Path> |
get(String cid,
Path outdir) |
boolean |
hasConnection() |
String |
version() |
static final String ENV_IPFS_API_HOST
static final String ENV_IPFS_API_PORT
static final String ENV_IPFS_GATEWAY_HOST
static final String ENV_IPFS_GATEWAY_PORT
List<String> add(Path path) throws IOException
IOExceptionString addSingle(Path path) throws IOException
IOExceptionInputStream cat(String cid) throws IOException
IOExceptionString version() throws IOException
IOExceptionboolean hasConnection()
Copyright © 2018. All rights reserved.