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