Searched refs:fullResourceName (Results 1 – 2 of 2) sorted by relevance
776 public static String getResourcePackageName(@NonNull String fullResourceName) { in getResourcePackageName() argument777 final int p1 = fullResourceName.indexOf(':'); in getResourcePackageName()781 return fullResourceName.substring(0, p1); in getResourcePackageName()790 public static String getResourceTypeName(@NonNull String fullResourceName) { in getResourceTypeName() argument791 final int p1 = fullResourceName.indexOf(':'); in getResourceTypeName()795 final int p2 = fullResourceName.indexOf('/', p1 + 1); in getResourceTypeName()799 return fullResourceName.substring(p1 + 1, p2); in getResourceTypeName()808 public static String getResourceTypeAndEntryName(@NonNull String fullResourceName) { in getResourceTypeAndEntryName() argument809 final int p1 = fullResourceName.indexOf(':'); in getResourceTypeAndEntryName()813 return fullResourceName.substring(p1 + 1); in getResourceTypeAndEntryName()[all …]
564 private static File extractResource(String baseName, String fullResourceName) { in extractResource() argument574 .getResourceAsStream(fullResourceName); in extractResource()577 throw new IllegalArgumentException("Resource not found: " + fullResourceName); in extractResource()