예제 #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;
 }