We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a31f2e commit 39678efCopy full SHA for 39678ef
src/main/java/org/apache/ibatis/io/DefaultVFS.java
@@ -295,6 +295,18 @@ protected URL findJarForResource(URL url) throws MalformedURLException {
295
return null;
296
}
297
298
+ /**
299
+ * Converts a Java package name to a path that can be looked up with a call to
300
+ * {@link ClassLoader#getResources(String)}.
301
+ *
302
+ * @param packageName
303
+ * The Java package name to convert to a path
304
+ * @return the package path
305
+ */
306
+ protected String getPackagePath(String packageName) {
307
+ return packageName == null ? null : packageName.replace('.', '/');
308
+ }
309
+
310
/**
311
* Returns true if the resource located at the given URL is a JAR file.
312
*
0 commit comments