public class ExportStringTask extends LocalTask<Void>
String.getBytes()| Constructor and Description |
|---|
ExportStringTask(File targetFile,
String content,
Window win)
Cria a tarefa.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getTotalSize()
Retorna o volume total transferido.
|
protected void |
handleError(Exception error)
Especifica como é feito o tratamento de erros.
|
protected void |
performTask()
Executa a tarefa.
|
getCancelDelaySecs, getDefaultParentWindowafterTaskUI, beforeTaskUI, cancelTask, execute, execute, execute, execute, execute, execute, executeNonBlocking, getAdditionalInfo, getError, getProgressDialogDelay, getResult, getStatus, getTaskMessage, run, setProgressDialogDelay, setProgressDialogEnabled, setProgressStatus, setResult, setStepText, setUnknownStatus, wasCancelledprotected void handleError(Exception error)
IOException, outros erros são repassados para o método pai na
hierarquia.handleError in class Task<Void>error - - exceção que representa o erro durante execução da tarefa.protected void performTask()
throws Exception
public long getTotalSize()
Copyright © 2019. All rights reserved.