Class GcsInboundFileSynchronizer

  • 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 GcsInboundFileSynchronizer
    extends org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<BlobInfo>
    An inbound file synchronizer for Google Cloud Storage.
    • Field Summary

      • Fields inherited from class org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer

        EXPRESSION_PARSER, logger
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected String getFilename​(BlobInfo file)  
      protected long getModified​(BlobInfo file)  
      protected boolean isFile​(BlobInfo file)  
      protected String protocol()  
      • 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 Detail

      • GcsInboundFileSynchronizer

        public GcsInboundFileSynchronizer​(Storage gcs)
    • Method Detail

      • isFile

        protected boolean isFile​(BlobInfo file)
        Specified by:
        isFile in class org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<BlobInfo>
      • getFilename

        protected String getFilename​(BlobInfo file)
        Specified by:
        getFilename in class org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<BlobInfo>
      • getModified

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

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