org.ow2.weblab.service.gazetteer
Class GazetteerImpl

java.lang.Object
  extended by org.ow2.weblab.service.gazetteer.GazetteerImpl
All Implemented Interfaces:
org.ow2.weblab.core.services.Analyser

public class GazetteerImpl
extends java.lang.Object
implements org.ow2.weblab.core.services.Analyser


Field Summary
protected  org.ow2.weblab.core.services.Analyser annotator
           
protected static java.util.Map<java.lang.String,java.util.Set<java.lang.String>> gaz
           
protected static boolean LOADED
           
protected  org.apache.commons.logging.Log logger
           
protected  javax.xml.ws.WebServiceContext webServiceContext
           
 
Constructor Summary
GazetteerImpl()
           
 
Method Summary
 void init()
           
protected  void loadFile(java.io.File gazFile)
           
protected  void loadGaz(java.io.File gazFolder, java.lang.String suffix)
           
 org.ow2.weblab.core.services.analyser.ProcessReturn process(org.ow2.weblab.core.services.analyser.ProcessArgs args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

webServiceContext

protected javax.xml.ws.WebServiceContext webServiceContext

gaz

protected static java.util.Map<java.lang.String,java.util.Set<java.lang.String>> gaz

annotator

protected org.ow2.weblab.core.services.Analyser annotator

logger

protected org.apache.commons.logging.Log logger

LOADED

protected static boolean LOADED
Constructor Detail

GazetteerImpl

public GazetteerImpl()
Method Detail

init

@PostConstruct
public void init()

process

public org.ow2.weblab.core.services.analyser.ProcessReturn process(org.ow2.weblab.core.services.analyser.ProcessArgs args)
                                                            throws org.ow2.weblab.core.services.AccessDeniedException,
                                                                   org.ow2.weblab.core.services.ContentNotAvailableException,
                                                                   org.ow2.weblab.core.services.InsufficientResourcesException,
                                                                   org.ow2.weblab.core.services.InvalidParameterException,
                                                                   org.ow2.weblab.core.services.ServiceNotConfiguredException,
                                                                   org.ow2.weblab.core.services.UnexpectedException,
                                                                   org.ow2.weblab.core.services.UnsupportedRequestException
Specified by:
process in interface org.ow2.weblab.core.services.Analyser
Throws:
org.ow2.weblab.core.services.AccessDeniedException
org.ow2.weblab.core.services.ContentNotAvailableException
org.ow2.weblab.core.services.InsufficientResourcesException
org.ow2.weblab.core.services.InvalidParameterException
org.ow2.weblab.core.services.ServiceNotConfiguredException
org.ow2.weblab.core.services.UnexpectedException
org.ow2.weblab.core.services.UnsupportedRequestException

loadGaz

protected void loadGaz(java.io.File gazFolder,
                       java.lang.String suffix)

loadFile

protected void loadFile(java.io.File gazFile)
                 throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2004-2012. All Rights Reserved.