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 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

      public String getFilename()
    • getPermissions

      public String getPermissions()
    • getFileInfo

      public com.google.cloud.storage.BlobInfo getFileInfo()
    • toString

      public String toString()
      Overrides:
      toString in class org.springframework.integration.file.remote.AbstractFileInfo<com.google.cloud.storage.BlobInfo>