ListItem (App Engine Client for Google Cloud Storage 0.6 API)

com.google.appengine.tools.cloudstorage

Class ListItem

  • All Implemented Interfaces:
    Serializable


    public final class ListItem
    extends Object
    implements Serializable
    Contains information of an individual listing item. If listing was non-recursive, GCS objects that match the prefix, ListOptions.Builder.setPrefix(String), and has a separator after the prefix would be considered a directory and will only have the directory name set (length would be zero).
    See Also:
    Serialized Form
    • Method Detail

      • isDirectory

        public boolean isDirectory()
      • getName

        public String getName()
      • getLength

        public long getLength()
      • getEtag

        public String getEtag()
      • getLastModified

        public Date getLastModified()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object

Copyright © 2016 Google. All rights reserved.

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

App Engine standard environment for Java