org.nuiton.processor
Class ProcessorUtil

java.lang.Object
  extended by org.nuiton.processor.ProcessorUtil

public class ProcessorUtil
extends java.lang.Object

Utilities methods.

Since:
1.0.0.0
Author:
chemit

Constructor Summary
ProcessorUtil()
           
 
Method Summary
static Filter[] getFilters(java.lang.String filters, java.lang.String separator)
          Instanciate a array of filters given by thier FQN separated by the given separator.
static Processor newProcessor(java.lang.String filters, java.lang.String separator)
          Instanciate a new Processor given an array of filters given by their FQN separated by the given separator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessorUtil

public ProcessorUtil()
Method Detail

newProcessor

public static Processor newProcessor(java.lang.String filters,
                                     java.lang.String separator)
                              throws java.lang.Exception
Instanciate a new Processor given an array of filters given by their FQN separated by the given separator.

Parameters:
filters - the string representionf of the filters
separator - the separator of filter
Returns:
the instanciated processor
Throws:
java.lang.Exception - if any pb

getFilters

public static Filter[] getFilters(java.lang.String filters,
                                  java.lang.String separator)
                           throws java.lang.Exception
Instanciate a array of filters given by thier FQN separated by the given separator.

Parameters:
filters - the list of filters separated by the given separator
separator - filter separator
Returns:
the array of instanciated filters.
Throws:
java.lang.Exception - if any pb


Copyright © 2002-2009 CodeLutin. All Rights Reserved.