Package org.apache.tika.example
Class RecentFiles
java.lang.Object
org.apache.tika.example.RecentFiles
Builds on top of the LuceneIndexer and the Metadata discussions in Chapter 6
to output an RSS (or RDF) feed of files crawled by the LuceneIndexer within
the last N minutes.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongenerateRSS
(Path indexFile) getRSSItem
(org.apache.lucene.document.Document doc)
-
Constructor Details
-
RecentFiles
public RecentFiles()
-
-
Method Details
-
generateRSS
public String generateRSS(Path indexFile) throws org.apache.lucene.index.CorruptIndexException, IOException - Throws:
org.apache.lucene.index.CorruptIndexException
IOException
-
getRSSItem
-
getRSSHeaders
-