You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: gcloud-java-contrib/gcloud-java-nio/src/main/java/com/google/gcloud/storage/contrib/nio/CloudStorageConfiguration.java
+11-5Lines changed: 11 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -6,11 +6,13 @@
6
6
7
7
importjava.util.Map;
8
8
9
-
/** Configuration class for {@link CloudStorageFileSystem#forBucket} */
9
+
/** CloudStorageConfiguration is the configuration class for
10
+
* {@link CloudStorageFileSystem#forBucket}. */
10
11
@AutoValue
11
12
publicabstractclassCloudStorageConfiguration {
12
13
13
-
/** Returns the path of the current working directory. Defaults to the root directory. */
14
+
/** Returns the path of the current working directory. Defaults to the root directory.
15
+
*/
14
16
publicabstractStringworkingDirectory();
15
17
16
18
/**
@@ -46,7 +48,8 @@ public static Builder builder() {
46
48
returnnewBuilder();
47
49
}
48
50
49
-
/** Builder for {@link CloudStorageConfiguration}. */
51
+
/** Builder for {@link CloudStorageConfiguration}.
52
+
*/
50
53
publicstaticfinalclassBuilder {
51
54
52
55
privateStringworkingDirectory = UnixPath.ROOT;
@@ -87,7 +90,8 @@ public Builder stripPrefixSlash(boolean value) {
87
90
returnthis;
88
91
}
89
92
90
-
/** Configures if paths with a trailing slash should be treated as fake directories. */
93
+
/** Configures if paths with a trailing slash should be treated as fake directories.
94
+
*/
91
95
publicBuilderusePseudoDirectories(booleanvalue) {
92
96
usePseudoDirectories = value;
93
97
returnthis;
@@ -103,7 +107,9 @@ public Builder blockSize(int value) {
103
107
returnthis;
104
108
}
105
109
106
-
/** Creates a new instance, but does not destroy the builder. */
110
+
111
+
/** Creates a new instance, but does not destroy the builder.
Copy file name to clipboardExpand all lines: gcloud-java-contrib/gcloud-java-nio/src/main/java/com/google/gcloud/storage/contrib/nio/CloudStorageFileAttributeView.java
Copy file name to clipboardExpand all lines: gcloud-java-contrib/gcloud-java-nio/src/main/java/com/google/gcloud/storage/contrib/nio/CloudStorageFileAttributes.java
Copy file name to clipboardExpand all lines: gcloud-java-contrib/gcloud-java-nio/src/main/java/com/google/gcloud/storage/contrib/nio/CloudStorageFileSystem.java
+22-13Lines changed: 22 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -89,41 +89,48 @@ public CloudStorageFileSystemProvider provider() {
89
89
returnprovider;
90
90
}
91
91
92
-
/** Returns the Cloud Storage bucket name being served by this file system. */
92
+
/** Returns the Cloud Storage bucket name being served by this file system.
93
+
*/
93
94
publicStringbucket() {
94
95
returnbucket;
95
96
}
96
97
97
-
/** Returns the configuration object for this filesystem instance. */
98
+
/** Returns the configuration object for this filesystem instance.
99
+
*/
98
100
publicCloudStorageConfigurationconfig() {
99
101
returnconfig;
100
102
}
101
103
102
-
/** Converts a cloud storage object name to a {@link Path} object. */
104
+
/** Converts a cloud storage object name to a {@link Path} object.
0 commit comments