コード例 #1
0
 private CreateDirectoryOptions() {
   mRecursive = false;
   mAllowExists = false;
   WriteType defaultWriteType =
       Configuration.getEnum(Constants.USER_FILE_WRITE_TYPE_DEFAULT, WriteType.class);
   mUnderStorageType = defaultWriteType.getUnderStorageType();
 }
コード例 #2
0
 /**
  * @param writeType the write type to use
  * @return the updated options object
  */
 public CreateDirectoryOptions setWriteType(WriteType writeType) {
   mUnderStorageType = writeType.getUnderStorageType();
   return this;
 }