test_class.file: gazeplay-commons/src/test/java/net/gazeplay/commons/utils/games/ResourceFileManagerTest.java
test_class.identifier: ResourceFileManagerTest
test_case.body: @Test
      void canGetAllFilesInResourcePackageWithBackslashes() {
          Set<String> set = ResourceFileManager.getResourcePaths("data\\biboule\\images");
          assert (set.size() == 1);
          set = ResourceFileManager.getResourcePaths("data\\biboule");
          assert (set.size() == 1);
      }
test_case.class_method_signature: ResourceFileManagerTest.canGetAllFilesInResourcePackageWithBackslashes()
test_case.full_signature: @Test void canGetAllFilesInResourcePackageWithBackslashes()
test_case.identifier: canGetAllFilesInResourcePackageWithBackslashes
test_case.invocations: getResourcePaths size getResourcePaths size
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void canGetAllFilesInResourcePackageWithBackslashes()
focal_class.file: gazeplay-commons/src/main/java/net/gazeplay/commons/utils/games/ResourceFileManager.java
focal_class.identifier: ResourceFileManager
focal_class.class_method_signature: ResourceFileManager.getResourcePaths(String path)
focal_class.full_signature: public static Set<String> getResourcePaths(String path)
focal_class.identifier: getResourcePaths
focal_class.modifiers: public static
focal_class.parameters: (String path)
focal_class.return: Set<String>
focal_class.signature: Set<String> getResourcePaths(String path)
focal_class.class_method_signature: ResourceFileManager.getResourceFolders(String path)
focal_class.full_signature: public static Set<String> getResourceFolders(String path)
focal_class.identifier: getResourceFolders
focal_class.modifiers: public static
focal_class.parameters: (String path)
focal_class.return: Set<String>
focal_class.signature: Set<String> getResourceFolders(String path)
focal_class.class_method_signature: ResourceFileManager.resourceExists(String location)
focal_class.full_signature: public static boolean resourceExists(String location)
focal_class.identifier: resourceExists
focal_class.modifiers: public static
focal_class.parameters: (String location)
focal_class.return: boolean
focal_class.signature: boolean resourceExists(String location)
focal_class.class_method_signature: ResourceFileManager.getMatchingResources(String location)
focal_class.full_signature: public static Set<String> getMatchingResources(String location)
focal_class.identifier: getMatchingResources
focal_class.modifiers: public static
focal_class.parameters: (String location)
focal_class.return: Set<String>
focal_class.signature: Set<String> getMatchingResources(String location)
focal_class.class_method_signature: ResourceFileManager.createExtensionRegex(Set<String> fileExtensions)
focal_class.full_signature: static String createExtensionRegex(Set<String> fileExtensions)
focal_class.identifier: createExtensionRegex
focal_class.modifiers: static
focal_class.parameters: (Set<String> fileExtensions)
focal_class.return: String
focal_class.signature: String createExtensionRegex(Set<String> fileExtensions)
focal_method.body: public static Set<String> getResourcePaths(String path) {
          String packageName = path.replaceAll("[/\\\\]", ".");
          Reflections reflections = new Reflections(packageName, new ResourcesScanner());
  
          return reflections.getResources(Pattern.compile(createExtensionRegex(ImageUtils.supportedFilesExtensions)));
      }
focal_method.class_method_signature: ResourceFileManager.getResourcePaths(String path)
focal_method.full_signature: public static Set<String> getResourcePaths(String path)
focal_method.identifier: getResourcePaths
focal_method.invocations: replaceAll getResources compile createExtensionRegex
focal_method.modifiers: public static
focal_method.parameters: (String path)
focal_method.return: Set<String>
focal_method.signature: Set<String> getResourcePaths(String path)