Class GcsFileInfo
java.lang.Object
org.springframework.integration.file.remote.AbstractFileInfo<com.google.cloud.storage.BlobInfo>
com.google.cloud.spring.storage.integration.GcsFileInfo
- All Implemented Interfaces:
Comparable<org.springframework.integration.file.remote.FileInfo<com.google.cloud.storage.BlobInfo>>
,org.springframework.integration.file.remote.FileInfo<com.google.cloud.storage.BlobInfo>
public class GcsFileInfo
extends org.springframework.integration.file.remote.AbstractFileInfo<com.google.cloud.storage.BlobInfo>
An object that holds metadata information for a Cloud Storage file.
-
Constructor Summary
-
Method Summary
Methods inherited from class org.springframework.integration.file.remote.AbstractFileInfo
compareTo, getRemoteDirectory, setRemoteDirectory, toJson
-
Constructor Details
-
GcsFileInfo
public GcsFileInfo(com.google.cloud.storage.BlobInfo gcsFile)
-
-
Method Details
-
isDirectory
public boolean isDirectory() -
isLink
public boolean isLink() -
getSize
public long getSize() -
getModified
public long getModified() -
getFilename
-
getPermissions
-
getFileInfo
public com.google.cloud.storage.BlobInfo getFileInfo() -
toString
- Overrides:
toString
in classorg.springframework.integration.file.remote.AbstractFileInfo<com.google.cloud.storage.BlobInfo>
-