diff --git a/README.md b/README.md index fdfcbd3..fb250e4 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,6 @@ Maintained, quietly. The API is small and settled; expect dependency updates rat org.codehaus.plexus plexus-resources - 1.3.1 ``` @@ -38,6 +37,8 @@ InputStream in = resourceManager.getResourceAsInputStream( "checkstyle.xml" ); File file = resourceManager.getResourceAsFile( "checkstyle.xml" ); ``` +Check the badge above for the current version. + `getResourceAsFile` will materialise a temporary file when the resource is not already one, so it works for classpath and URL resources too.