public static Pair<String,String> splitResourceName(String resourceName){
  if (TextUtils.isEmpty(resourceName)) {
    return null;
  }
  final String[] splitId=RESOURCE_NAME_SPLIT_PATTERN.split(resourceName,2);
  if (splitId.length != 2 || TextUtils.isEmpty(splitId[0]) || TextUtils.isEmpty(splitId[1])) {
    LogUtils.log(CustomLabelManager.class,Log.WARN,"Failed to parse resource: %s",resourceName);
    return null;
  }
  return new Pair<>(splitId[0],splitId[1]);
}

public static Pair < String , String > splitResourceName ( String resourceName ) { if ( TextUtils . isEmpty ( resourceName ) ) { return null ; } final String [ ] splitId = RESOURCE_NAME_SPLIT_PATTERN . split ( resourceName , 2 ) ; if ( splitId . length != 2 || TextUtils . isEmpty ( splitId [ 0 ] ) || TextUtils . isEmpty ( splitId [ 1 ] ) ) { LogUtils . log ( CustomLabelManager . class , Log . WARN , "Failed to parse resource: %s" , resourceName ) ; return null ; } return new Pair < > ( splitId [ 0 ] , splitId [ 1 ] ) ; }
splits a fully - qualified resource identifier name into its package and id name .
