public class Placeholders extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ELAPSED_TIME
Placeholder to display the total elapsed upload time in minutes and seconds.
|
static String |
PROGRESS
Placeholder to display the integer progress percent from 0 to 100.
|
static String |
TOTAL_FILES
Placeholder to display the total number of files to upload.
|
static String |
UPLOAD_RATE
Placeholder to display the average upload rate.
|
static String |
UPLOADED_FILES
Placeholder to display the number of successfully uploaded files.
|
| Constructor and Description |
|---|
Placeholders() |
| Modifier and Type | Method and Description |
|---|---|
static String |
replace(String string,
UploadInfo uploadInfo)
Replace placeholders in a string.
|
public static final String ELAPSED_TIME
public static final String UPLOAD_RATE
public static final String PROGRESS
public static final String UPLOADED_FILES
public static final String TOTAL_FILES
public static String replace(String string, UploadInfo uploadInfo)
string - string in which to replace placeholdersuploadInfo - upload information data