org.ow2.weblab.service.exposer
Class LocalFileExposer

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

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

This service is used in conjunction with an Apache Tomcat or Apache server. The purpose is to annotate documents in input with an "exposition URL" i.e. an URL that can be used in a web browser to access this document. This service only works when processed file are exposed using the server and have the same naming pattern than the read annotation on the document (in most of the case, we use dc:source). Some parameter can be set using the deployment file.

Author:
ymombrun
Date:
2008-10-04

Constructor Summary
LocalFileExposer(ExposerConfigBean configuration)
          Constructors
 
Method Summary
 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
 

Constructor Detail

LocalFileExposer

public LocalFileExposer(ExposerConfigBean configuration)
Constructors

Method Detail

process

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


Copyright © 2004-2012. All Rights Reserved.