|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.processor.ProcessorUtil
public class ProcessorUtil
Utilities methods.
| Constructor Summary | |
|---|---|
ProcessorUtil()
|
|
| Method Summary | |
|---|---|
static void |
doProcess(Processor processor,
File in,
File out)
Launch the process of the given processor to the given files. |
static void |
doProcess(Processor processor,
String in,
String out)
Launch the process of the given processor to the given files. |
static Filter[] |
getFilters(String filters,
String separator)
Instanciate a array of filters given by thier FQN separated by the given separator. |
static Processor |
newProcessor(String filters,
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 |
|---|
public ProcessorUtil()
| Method Detail |
|---|
public static Processor newProcessor(String filters,
String separator)
throws Exception
Processor given an array of filters given by
their FQN separated by the given separator.
filters - the string representionf of the filtersseparator - the separator of filter
Exception - if any pb
public static Filter[] getFilters(String filters,
String separator)
throws Exception
filters - the list of filters separated by the given separatorseparator - filter separator
Exception - if any pb
public static void doProcess(Processor processor,
String in,
String out)
throws IOException
processor to the given files.
processor - the processor to launchin - the input fileout - the output file
IOException - if any problems while processing file
public static void doProcess(Processor processor,
File in,
File out)
throws IOException
processor to the given files.
processor - the processor to launchin - the input fileout - the output file
IOException - if any problems while processing file
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||