THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
You can if you prefer let the operating system generate temporary file names in the directory specifying an optional prefix and suffix.
Filtering inbound files
You cna configure a java.io.FileFilter
to only accept certain files when polling.
This can be done by configuring the filter
property on the poller:
Code Block | ||
---|---|---|
| ||
<bean class="o.a.s.components.file.FilePoller">
<property name="filter">
<bean ... />
</property>
</bean>
|
The Jakarta ORO project contains RegExp based filters, but you can also define your own filters by implementing java.io.FileFilter
.