public interface IPFSClient
| Modifier and Type | Field and Description |
|---|---|
static String |
ENV_IPFS_GATEWAY_ADDR |
static String |
ENV_IPFS_GATEWAY_PORT |
static String |
ENV_IPFS_JSONRPC_ADDR |
static String |
ENV_IPFS_JSONRPC_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) |
io.ipfs.multiaddr.MultiAddress |
getAPIAddress() |
boolean |
hasConnection() |
String |
version() |
static final String ENV_IPFS_JSONRPC_ADDR
static final String ENV_IPFS_JSONRPC_PORT
static final String ENV_IPFS_GATEWAY_ADDR
static final String ENV_IPFS_GATEWAY_PORT
io.ipfs.multiaddr.MultiAddress getAPIAddress()
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.