/** * Matches the given path to the full class path that is comprised of class files and resources located * inside of JAR files that are on the class path. * * @param pattern The pattern to match * * @return List<String> of matching paths */ private List<String> matchDocumentPaths(String pattern) throws IOException { Resource[] resources = getDocumentResources(pattern); List<String> documentPaths = new ArrayList<String>(resources.length); for (Resource resource : resources) { String documentPath = toDocumentPath(resource.getURL().toExternalForm()); documentPaths.add(documentPath); } return documentPaths; }
/** * Matches the given path to the full class path that is comprised of class files and resources located * inside of JAR files that are on the class path. * * @param pattern The pattern to match * * @return List<String> of matching paths */ private List<String> matchDocumentPaths(String pattern) throws IOException { Resource[] resources = getDocumentResources(pattern); List<String> documentPaths = new ArrayList<String>(resources.length); for (Resource resource : resources) { String documentPath = toDocumentPath(resource.getURL().toExternalForm()); documentPaths.add(documentPath); } return documentPaths; }
/** * Matches the given path to the full class path that is comprised of class files and resources located * inside of JAR files that are on the class path. * * @param pattern The pattern to match * * @return List<String> of matching paths */ private List<String> matchDocumentPaths(String pattern) throws IOException { Resource[] resources = getDocumentResources(pattern); List<String> documentPaths = new ArrayList<String>(resources.length); for (Resource resource : resources) { String documentPath = toDocumentPath(resource.getURL().toExternalForm()); documentPaths.add(documentPath); } return documentPaths; }