Module uk.autores

Class ResourceFiling

java.lang.Object
uk.autores.handling.ResourceFiling

public final class ResourceFiling extends Object
Utility type for working with Filer. Sample usage:

     Filer filer = ...;
     String annotationPackage = "foo.bar";
     String resourcePath = "/META-INF/foo.txt";
     String pkg = ResourceFiling.pkg(annotationPackage, resourcePath);
     String relativeName = ResourceFiling.relativeName(resourcePath);
     FileObject fo = filer.getResource(location, pkg, relativeName);