public static MobFileName create(String fileName) {
    // The format of a file name is md5HexString(0-31bytes) + date(32-39bytes) + UUID
    // + "_" + region
    // The date format is yyyyMMdd
    String startKey = fileName.substring(0, STARTKEY_END_INDEX);
    String date = fileName.substring(STARTKEY_END_INDEX, DATE_END_INDEX);
    String uuid = fileName.substring(DATE_END_INDEX, UUID_END_INDEX);
    String regionName = fileName.substring(UUID_END_INDEX + 1);
    return new MobFileName(startKey, date, uuid, regionName);
  }
Creates an instance of MobFileName.
@param fileName The string format of a file name.
@return An instance of a MobFileName.
hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobFileName.java