Package org.apache.jena.tools.schemagen

Examples of org.apache.jena.tools.schemagen.SchemagenMojo.addExcludes()


    @Test
    public void testMatchFileNames3() {
        SchemagenMojo sm = new SchemagenMojo();
        String f = "src/test/resources/test1/*.ttl";
        sm.addIncludes( f );
        sm.addExcludes( "src/test/resources/test1/test1.ttl" );

        List<String> s = sm.matchFileNames();
        assertNotNull(s);
        assertEquals( 1, s.size() );
        assertTrue( s.get(0).endsWith( "test2.ttl" ));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.