org.neociclo.odetteftp.protocol.data
Class CompressionMapping
java.lang.Object
org.neociclo.odetteftp.protocol.data.AbstractMapping
org.neociclo.odetteftp.protocol.data.CompressionMapping
- All Implemented Interfaces:
- MappingStrategy
public class CompressionMapping
- extends AbstractMapping
- Version:
- $Rev: 463 $ $Date: 2010-07-02 18:37:41 -0300 (Fri, 02 Jul 2010) $
- Author:
- Rafael Marins
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompressionMapping
public CompressionMapping()
readData
public boolean readData(VirtualFile virtualFile,
FileChannel in,
DataExchangeBuffer deb)
throws OdetteFtpException
- Specified by:
readData
in interface MappingStrategy
- Specified by:
readData
in class AbstractMapping
- Returns:
true
reach end of the stream (EOF).
- Throws:
OdetteFtpException
writeData
public long writeData(VirtualFile virtualFile,
DataExchangeBuffer deb,
FileChannel out)
throws OdetteFtpException
- Specified by:
writeData
in interface MappingStrategy
- Specified by:
writeData
in class AbstractMapping
- Throws:
OdetteFtpException
ACCORD