@Override
    public void parse(InputStream stream, ContentHandler handler, Metadata metadata,
                      ParseContext context) throws IOException, SAXException, TikaException {
        SQLite3DBParser p = new SQLite3DBParser();
        p.parse(stream, handler, metadata, context);
    }
@Test
    public void testSpacesInBodyContentHandler() throws Exception {
        Metadata metadata = new Metadata();
        metadata.set(TikaCoreProperties.RESOURCE_NAME_KEY, TEST_FILE_NAME);
        ContentHandler handler = new BodyContentHandler(-1);
        ParseContext ctx = new ParseContext();
        try (InputStream stream = getResourceAsStream(TEST_FILE1)) {
            TikaTest.AUTO_DETECT_PARSER.parse(stream, handler, metadata, ctx);
        }
        String s = handler.toString();
        TikaTest.assertContains("0\t2.3\t2.4\tlorem", s);
        TikaTest.assertContains("tempor\n", s);
        assertEquals("0", metadata.get(SQLite3Parser.SQLITE_APPLICATION_ID));
        assertEquals("0", metadata.get(SQLite3Parser.SQLITE_USER_VERSION));
    }