org.neociclo.odetteftp.protocol.data
Interface MappingStrategy
- All Known Implementing Classes:
- AbstractMapping, CompressionMapping, NormalMapping
public interface MappingStrategy
- Version:
- $Rev: 459 $ $Date: 2010-07-02 06:33:44 -0300 (Fri, 02 Jul 2010) $
- Author:
- Rafael Marins
readData
boolean readData(VirtualFile virtualFile,
FileChannel fileChannel,
DataExchangeBuffer dataBuffer)
throws OdetteFtpException
- Parameters:
virtualFile
- dataBuffer
-
- Returns:
true
reach end of the stream (EOF).
- Throws:
OdetteFtpException
writeData
long writeData(VirtualFile virtualFile,
DataExchangeBuffer dataBuffer,
FileChannel fileChannel)
throws OdetteFtpException
- Throws:
OdetteFtpException
ACCORD