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

    Constructors
    Constructor
    Description
    SmbInboundFileSynchronizer(org.springframework.integration.file.remote.session.SessionFactory<jcifs.smb.SmbFile> sessionFactory)
    Create a synchronizer with the SessionFactory used to acquire Session instances.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
    getFilename(jcifs.smb.SmbFile _file)
     
    protected long
    getModified(jcifs.smb.SmbFile file)
     
    protected boolean
    isFile(jcifs.smb.SmbFile _file)
     
    protected String
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SmbInboundFileSynchronizer

      public SmbInboundFileSynchronizer(org.springframework.integration.file.remote.session.SessionFactory<jcifs.smb.SmbFile> sessionFactory)
      Create a synchronizer with the SessionFactory used to acquire Session instances.
      Parameters:
      sessionFactory - the SessionFactory to use.
  • Method Details

    • isFile

      protected boolean isFile(jcifs.smb.SmbFile _file)
      Specified by:
      isFile in class org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<jcifs.smb.SmbFile>
    • getFilename

      protected String getFilename(jcifs.smb.SmbFile _file)
      Specified by:
      getFilename in class org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<jcifs.smb.SmbFile>
    • getModified

      protected long getModified(jcifs.smb.SmbFile file)
      Specified by:
      getModified in class org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<jcifs.smb.SmbFile>
    • protocol

      protected String protocol()
      Specified by:
      protocol in class org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<jcifs.smb.SmbFile>