File tree Expand file tree Collapse file tree
trunk/gcloud-java-storage/src/main/java/com/google/gcloud/storage Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
2- refs/heads/master: 93dd0c244fdbc6843ed2fc43912fa55a4c9e6258
2+ refs/heads/master: 6de12f20c202386d66588059b6c9ec55ff47a058
33refs/heads/travis: 0fa997e2fc9c6b61b2d91e6d163655aae67d44b6
44refs/heads/gh-pages: 5a10432ecc75f29812e33a8236c900379509fe99
Original file line number Diff line number Diff line change @@ -38,10 +38,16 @@ private BlobId(String bucket, String name) {
3838 this .name = name ;
3939 }
4040
41+ /**
42+ * Returns the name of the bucket containing the blob.
43+ */
4144 public String bucket () {
4245 return bucket ;
4346 }
4447
48+ /**
49+ * Returns the name of the blob.
50+ */
4551 public String name () {
4652 return name ;
4753 }
@@ -72,6 +78,12 @@ StorageObject toPb() {
7278 return storageObject ;
7379 }
7480
81+ /**
82+ * Creates a blob identifier.
83+ *
84+ * @param bucket the name of the bucket that contains the blob
85+ * @param name the name of the blob
86+ */
7587 public static BlobId of (String bucket , String name ) {
7688 return new BlobId (checkNotNull (bucket ), checkNotNull (name ));
7789 }
You can’t perform that action at this time.
0 commit comments