public class FileExchangerConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_EXPORT_DIRECTORIES
Valor default da variável exportDirectories.
|
static boolean |
DEFAULT_EXPORT_MULTIPLE_FILES
Valor default da variável exportMultipleFiles.
|
static long |
DEFAULT_GUI_UPDATE_INTERVAL
Valor default da variável guiUpdateInterval (em ms).
|
static boolean |
DEFAULT_IMPORT_DIRECTORIES
Valor default da variável importDirectories.
|
static boolean |
DEFAULT_IMPORT_MULTIPLE_FILES
Valor default da variável importMultipleFiles.
|
static long |
DEFAULT_MAX_INTERVAL_TO_CHECK_PENDING_TRANSFERS
Valor default da variável maxTransfersStartInterval (em ms).
|
static long |
DEFAULT_MAX_SIMULTANEOUS_TRANSFERS
Valor default da variável maxSimultaneousTransfers.
|
static long |
DEFAULT_MIN_INTERVAL_TO_CHECK_PENDING_TRANSFERS
Valor default da variável minTransfersStartInterval (em ms).
|
| Constructor and Description |
|---|
FileExchangerConfiguration(FileExchanger fileExchanger)
Construtor.
|
| Modifier and Type | Method and Description |
|---|---|
BlockSize |
getBlockSize() |
FileExchanger |
getFileExchanger() |
long |
getGuiUpdateInterval() |
long |
getMaxIntervalToCheckPendingTransfers() |
long |
getMaxSimultaneousTransfers() |
long |
getMinIntervalToCheckPendingTransfers() |
ExchangeMode |
getTransferMode() |
boolean |
isExportDirectories() |
boolean |
isExportMultipleFiles() |
boolean |
isImportDirectories() |
boolean |
isImportMultipleFiles() |
void |
setBlockSize(BlockSize blockSize)
Define o valor do tamanho do buffer no modo ExchangeMode.STREAM.
|
void |
setTransferMode(ExchangeMode transferMode)
Define o valor do modo de transferência.
|
public static final boolean DEFAULT_IMPORT_MULTIPLE_FILES
public static final boolean DEFAULT_IMPORT_DIRECTORIES
public static final boolean DEFAULT_EXPORT_MULTIPLE_FILES
public static final boolean DEFAULT_EXPORT_DIRECTORIES
public static final long DEFAULT_MIN_INTERVAL_TO_CHECK_PENDING_TRANSFERS
public static final long DEFAULT_MAX_INTERVAL_TO_CHECK_PENDING_TRANSFERS
public static final long DEFAULT_MAX_SIMULTANEOUS_TRANSFERS
public static final long DEFAULT_GUI_UPDATE_INTERVAL
public FileExchangerConfiguration(FileExchanger fileExchanger)
fileExchanger - Transferidor de arquivos.public ExchangeMode getTransferMode()
public BlockSize getBlockSize()
public boolean isImportMultipleFiles()
public boolean isImportDirectories()
public boolean isExportMultipleFiles()
public boolean isExportDirectories()
public long getMinIntervalToCheckPendingTransfers()
public long getMaxIntervalToCheckPendingTransfers()
public long getMaxSimultaneousTransfers()
public long getGuiUpdateInterval()
public FileExchanger getFileExchanger()
public void setBlockSize(BlockSize blockSize)
blockSize - Valor do tamanho do buffer no modo ExchangeMode.STREAM.public void setTransferMode(ExchangeMode transferMode)
transferMode - Valor do modo de transferência.Copyright © 2019. All rights reserved.