Class SmbInboundFileSynchronizer
java.lang.Object
org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<jcifs.smb.SmbFile>
org.springframework.integration.smb.inbound.SmbInboundFileSynchronizer
- All Implemented Interfaces:
Closeable,AutoCloseable,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.InitializingBean,org.springframework.integration.file.remote.synchronizer.InboundFileSynchronizer
public class SmbInboundFileSynchronizer
extends org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<jcifs.smb.SmbFile>
An implementation of
AbstractInboundFileSynchronizer for SMB.- Since:
- 6.0
-
Field Summary
Fields inherited from class org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer
EXPRESSION_PARSER, logger -
Constructor Summary
ConstructorsConstructorDescriptionSmbInboundFileSynchronizer(org.springframework.integration.file.remote.session.SessionFactory<jcifs.smb.SmbFile> sessionFactory) Create a synchronizer with theSessionFactoryused to acquireSessioninstances. -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetFilename(jcifs.smb.SmbFile _file) protected longgetModified(jcifs.smb.SmbFile file) protected booleanisFile(jcifs.smb.SmbFile _file) protected Stringprotocol()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(org.springframework.integration.file.remote.session.SessionFactory<jcifs.smb.SmbFile> sessionFactory) Create a synchronizer with theSessionFactoryused to acquireSessioninstances.- Parameters:
sessionFactory- theSessionFactoryto use.
-
-
Method Details
-
isFile
protected boolean isFile(jcifs.smb.SmbFile _file) - Specified by:
isFilein classorg.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<jcifs.smb.SmbFile>
-
getFilename
- Specified by:
getFilenamein classorg.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<jcifs.smb.SmbFile>
-
getModified
protected long getModified(jcifs.smb.SmbFile file) - Specified by:
getModifiedin classorg.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<jcifs.smb.SmbFile>
-
protocol
- Specified by:
protocolin classorg.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<jcifs.smb.SmbFile>
-