org.polliwog.data
Class SearchEngineMapping

java.lang.Object
  extended by org.polliwog.data.SearchEngineMapping

public class SearchEngineMapping
extends java.lang.Object


Nested Class Summary
 class SearchEngineMapping.XMLConstants
           
 
Constructor Summary
SearchEngineMapping(java.io.File f, java.lang.String gzipExtension)
           
 
Method Summary
 org.jdom.Element getAsJDOMElement()
           
 java.util.Map getMappingsByName()
           
 java.lang.String getSearchEngineName(java.lang.String ua)
           
 boolean isSearchEngine(java.lang.String ua)
           
 void mergeMappings(SearchEngineMapping sem)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SearchEngineMapping

public SearchEngineMapping(java.io.File f,
                           java.lang.String gzipExtension)
                    throws java.io.IOException,
                           org.jdom.JDOMException
Throws:
java.io.IOException
org.jdom.JDOMException
Method Detail

getMappingsByName

public java.util.Map getMappingsByName()

getAsJDOMElement

public org.jdom.Element getAsJDOMElement()

mergeMappings

public void mergeMappings(SearchEngineMapping sem)

getSearchEngineName

public java.lang.String getSearchEngineName(java.lang.String ua)

isSearchEngine

public boolean isSearchEngine(java.lang.String ua)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


  Copyright © 2007 Gary Bentley. All Rights Reserved.