Class GcsInboundFileSynchronizer
- java.lang.Object
-
- org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<BlobInfo>
-
- com.google.cloud.spring.storage.integration.inbound.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.
-
-
Constructor Summary
Constructors Constructor Description GcsInboundFileSynchronizer(Storage gcs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetFilename(BlobInfo file)protected longgetModified(BlobInfo file)protected booleanisFile(BlobInfo 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 Detail
-
GcsInboundFileSynchronizer
public GcsInboundFileSynchronizer(Storage gcs)
-
-
Method Detail
-
isFile
protected boolean isFile(BlobInfo file)
- Specified by:
isFilein classorg.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<BlobInfo>
-
getFilename
protected String getFilename(BlobInfo file)
- Specified by:
getFilenamein classorg.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<BlobInfo>
-
getModified
protected long getModified(BlobInfo file)
- Specified by:
getModifiedin classorg.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<BlobInfo>
-
-