comirva.web.ie.countryoforigin
Class HTMLDocument_CountryOfOrigin

java.lang.Object
  extended by comirva.web.ie.countryoforigin.HTMLDocument_CountryOfOrigin

public class HTMLDocument_CountryOfOrigin
extends Object

A utility for making Lucene Documents for HTML documents, optimized for finding country names.


Field Summary
(package private) static char dirSep
           
 
Method Summary
static org.apache.lucene.document.Document Document(File f, String artist, String country)
           
static String uid(File f)
           
static String uid2url(String uid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dirSep

static char dirSep
Method Detail

uid

public static String uid(File f)

uid2url

public static String uid2url(String uid)

Document

public static org.apache.lucene.document.Document Document(File f,
                                                           String artist,
                                                           String country)
                                                    throws IOException,
                                                           InterruptedException
Throws:
IOException
InterruptedException