Class SmbInboundFileSynchronizer
java.lang.Object
org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<org.codelibs.jcifs.smb.impl.SmbFile>
org.springframework.integration.smb.inbound.SmbInboundFileSynchronizer
- All Implemented Interfaces:
Closeable,AutoCloseable,Aware,BeanFactoryAware,BeanNameAware,InitializingBean,InboundFileSynchronizer
public class SmbInboundFileSynchronizer
extends AbstractInboundFileSynchronizer<org.codelibs.jcifs.smb.impl.SmbFile>
An implementation of
AbstractInboundFileSynchronizer for SMB.- Since:
- 6.0
- Author:
- Markus Spann, Artem Bilan, Daniel Frey
-
Field Summary
Fields inherited from class org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer
EXPRESSION_PARSER, logger -
Constructor Summary
ConstructorsConstructorDescriptionSmbInboundFileSynchronizer(SessionFactory<org.codelibs.jcifs.smb.impl.SmbFile> sessionFactory) Create a synchronizer with theSessionFactoryused to acquireSessioninstances. -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetFilename(org.codelibs.jcifs.smb.impl.SmbFile _file) protected longgetModified(org.codelibs.jcifs.smb.impl.SmbFile file) protected booleanisFile(org.codelibs.jcifs.smb.impl.SmbFile _file) protected Stringprotocol()Return the protocol this synchronizer works with.Methods inherited from class org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer
afterPropertiesSet, close, copyFileToLocalDirectory, doInit, doSetFilter, doSetRemoteDirectoryExpression, filterFiles, getComparator, getRemoteFileMetadata, getTemporaryFileSuffix, removeRemoteFileMetadata, rollbackFromFileToListEnd, setBeanFactory, setBeanName, setComparator, setDeleteRemoteFiles, setFilter, setLocalFilenameGeneratorExpression, setLocalFilenameGeneratorExpressionString, setMetadataStorePrefix, setPreserveTimestamp, setRemoteDirectory, setRemoteDirectoryExpression, setRemoteDirectoryExpressionString, setRemoteFileMetadataStore, setRemoteFileSeparator, setTemporaryFileSuffix, synchronizeToLocalDirectory, synchronizeToLocalDirectory
-
Constructor Details
-
SmbInboundFileSynchronizer
public SmbInboundFileSynchronizer(SessionFactory<org.codelibs.jcifs.smb.impl.SmbFile> sessionFactory) Create a synchronizer with theSessionFactoryused to acquireSessioninstances.- Parameters:
sessionFactory- theSessionFactoryto use.
-
-
Method Details
-
isFile
protected boolean isFile(org.codelibs.jcifs.smb.impl.SmbFile _file) - Specified by:
isFilein classAbstractInboundFileSynchronizer<org.codelibs.jcifs.smb.impl.SmbFile>
-
getFilename
- Specified by:
getFilenamein classAbstractInboundFileSynchronizer<org.codelibs.jcifs.smb.impl.SmbFile>
-
getModified
protected long getModified(org.codelibs.jcifs.smb.impl.SmbFile file) - Specified by:
getModifiedin classAbstractInboundFileSynchronizer<org.codelibs.jcifs.smb.impl.SmbFile>
-
protocol
Description copied from class:AbstractInboundFileSynchronizerReturn the protocol this synchronizer works with.- Specified by:
protocolin classAbstractInboundFileSynchronizer<org.codelibs.jcifs.smb.impl.SmbFile>- Returns:
- the protocol this synchronizer works with.
-