public class FileUploader
| Modifier and Type | Class and Description |
|---|---|
static class |
FileUploader.Companion |
| Modifier and Type | Field and Description |
|---|---|
static FileUploader.Companion |
Companion |
static int |
KILOBYTE |
static int |
TRANSFER_CHUNK_100_KB |
| Constructor and Description |
|---|
FileUploader(AemExtension aem) |
| Modifier and Type | Method and Description |
|---|---|
void |
logProgress(ProgressLogger $receiver,
java.lang.String operation,
long readLength,
long fullLength,
java.io.File file) |
void |
upload(java.io.File file,
java.io.OutputStream output,
kotlin.jvm.functions.Function1<? super java.io.File,kotlin.Unit> cleanup) |
public static int TRANSFER_CHUNK_100_KB
public static int KILOBYTE
public static FileUploader.Companion Companion
public FileUploader(@NotNull
AemExtension aem)
public void logProgress(@NotNull
ProgressLogger $receiver,
@NotNull
java.lang.String operation,
long readLength,
long fullLength,
@NotNull
java.io.File file)
public void upload(@NotNull
java.io.File file,
@NotNull
java.io.OutputStream output,
@NotNull
kotlin.jvm.functions.Function1<? super java.io.File,kotlin.Unit> cleanup)