Some comments + translations removed
This commit is contained in:
parent
8b0f92bcc5
commit
eb638be292
|
@ -220,7 +220,11 @@ public class HttpsConnection {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***
|
||||||
|
* Download method which works for http and https connections
|
||||||
|
* @param downloadUrl String download url
|
||||||
|
* @param listener OnDownloadInterface, listener which manages progress
|
||||||
|
*/
|
||||||
public void download(final String downloadUrl, final OnDownloadInterface listener) {
|
public void download(final String downloadUrl, final OnDownloadInterface listener) {
|
||||||
new Thread(new Runnable() {
|
new Thread(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
|
@ -432,6 +436,11 @@ public class HttpsConnection {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Upload method - https only
|
||||||
|
* @param inputStream InputStream of the file to upload
|
||||||
|
* @param listener - OnRetrieveAttachmentInterface: listener to send information about attachment once uploaded.
|
||||||
|
*/
|
||||||
public void upload(final InputStream inputStream, final OnRetrieveAttachmentInterface listener) {
|
public void upload(final InputStream inputStream, final OnRetrieveAttachmentInterface listener) {
|
||||||
|
|
||||||
new Thread(new Runnable() {
|
new Thread(new Runnable() {
|
||||||
|
|
Loading…
Reference in New Issue