Class File
java.lang.Object
repository.File
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidget(IPFSProxyConnector connector, Encryption encryption, String path) Downloads the file into the provided directory
-
Field Details
-
fileName
The name of the file as it was before being uploaded -
chunkCIDs
-
-
Constructor Details
-
File
-
-
Method Details
-
get
public void get(IPFSProxyConnector connector, Encryption encryption, String path) throws IOException, EncryptionException, IPFSException Downloads the file into the provided directory- Parameters:
connector- The ipfs connectorencryption- The encryption helperpath- The path to use- Throws:
IOExceptionEncryptionExceptionIPFSException
-