public interface FTCRequester
| Modifier and Type | Method and Description |
|---|---|
FileChannel |
createFileChannel(File file,
boolean readOnly)
Solicita a criação de um java.util.FileChannel de acesso ao arquivo.
|
void |
fileChannelClosed(File file)
Informa que o canal para o arquivo indicado foi fechado.
|
boolean |
isLocked(File file)
Informa se o arquivo indicado está bloqueado para escrita.
|
FileChannel createFileChannel(File file, boolean readOnly) throws Exception
file - o arquivo a ser acessado.readOnly - indica se o acesso é somente leitura (true) ou se é de
leitura e escrita (false).Exception - caso haja erro na operação.boolean isLocked(File file) throws Exception
file - o arquivo.Exception - caso haja erro na operação.Copyright © 2018. All rights reserved.