Hi, Marcus, probably yes, but how do I tell it which parser to use? Today, I just do that
String text = tika.parseToString(inputStream, metadata); and it know the parser. Thank you Mark Kerzner, SHMsoft <http://shmsoft.com/>, Book a call with me here <http://www.meetme.so/markkerzner> Mobile: 713-724-2534 Skype: mark.kerzner1 <http://shmsoft.com/> On Wed, Sep 28, 2016 at 2:56 AM, Markus Jelsma <[email protected]> wrote: > Hello Mark, > > Would SourceCodeParser suit your needs? > https://tika.apache.org/1.13/api/org/apache/tika/parser/ > code/SourceCodeParser.html > > Regards, > Markus > > -----Original message----- > > From:Mark Kerzner <[email protected]> > > Sent: Wednesday 28th September 2016 7:22 > > To: Tika User <[email protected]> > > Subject: Code parser? > > > > Hi, > > > > I want Tika to parse source code files, primarily Java. Is there > anything special I need to do? > > > > Right now my code seems to recognize Java as Microsoft Office Document. > > > > Thank you, > > Mark > > > > <br clear="all" />Mark Kerzner, SHMsoft <http://shmsoft.com/>, > > Book a call with me here <http://www.meetme.so/markkerzner> > > Mobile: 713-724-2534 > > Skype: mark.kerzner1 > > <http://shmsoft.com/> >
