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,- Aware,- BeanFactoryAware,- BeanNameAware,- InitializingBean,- InboundFileSynchronizer
An implementation of 
AbstractInboundFileSynchronizer for SMB.- Since:
- 6.0
- Author:
- Markus Spann, Artem Bilan
- 
Field SummaryFields inherited from class org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizerEXPRESSION_PARSER, logger
- 
Constructor SummaryConstructorsConstructorDescriptionSmbInboundFileSynchronizer(SessionFactory<jcifs.smb.SmbFile> sessionFactory) Create a synchronizer with theSessionFactoryused to acquireSessioninstances.
- 
Method SummaryModifier and TypeMethodDescriptionprotected StringgetFilename(jcifs.smb.SmbFile _file) protected longgetModified(jcifs.smb.SmbFile file) protected booleanisFile(jcifs.smb.SmbFile _file) protected Stringprotocol()Return the protocol this synchronizer works with.Methods inherited from class org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizerafterPropertiesSet, 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- 
SmbInboundFileSynchronizerCreate a synchronizer with theSessionFactoryused to acquireSessioninstances.- Parameters:
- sessionFactory- the- SessionFactoryto use.
 
 
- 
- 
Method Details- 
isFileprotected boolean isFile(jcifs.smb.SmbFile _file) - Specified by:
- isFilein class- AbstractInboundFileSynchronizer<jcifs.smb.SmbFile>
 
- 
getFilename- Specified by:
- getFilenamein class- AbstractInboundFileSynchronizer<jcifs.smb.SmbFile>
 
- 
getModifiedprotected long getModified(jcifs.smb.SmbFile file) - Specified by:
- getModifiedin class- AbstractInboundFileSynchronizer<jcifs.smb.SmbFile>
 
- 
protocolDescription copied from class:AbstractInboundFileSynchronizerReturn the protocol this synchronizer works with.- Specified by:
- protocolin class- AbstractInboundFileSynchronizer<jcifs.smb.SmbFile>
- Returns:
- the protocol this synchronizer works with.
 
 
-