protected List<Metadata> getRecursiveMetadata(String filePath, Parser parserToWrap)
            throws Exception {
        return getRecursiveMetadata(filePath, parserToWrap,
                BasicContentHandlerFactory.HANDLER_TYPE.XML);
    }
This method will give you back the filename incl. the absolute path name
to the resource. If the resource does not exist it will give you back the
resource name incl. the path.

@param name The named resource to search for.
@return an absolute path incl. the name which is in the same directory as
the the class you've called it from.
tika-core/src/test/java/org/apache/tika/TikaTest.java