[root]/proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/filters
util
(0 files, 0 lines)
Remove contents from filter reader proposal, now that the code has been migrated to the main tree.
0 lines of code changed in:
Eliminate compile time dependency of ClassConstants with JavaClasshelper that uses bcel. Compilation of JavaClassHelper will be performed only if bcel is present at the time of compile.
37 lines of code changed in:
Make TailFilter behave exactly like the unix tail application.
4 lines of code changed in:
null check.
2 lines of code changed in:
Cheat the introspector by making ClassConstants delegate bcel stuff to a helper class.
2 lines of code changed in:
Minor cleanups - sorry for spamming...
13 lines of code changed in:
All the filter cares about is a stream of data - not necessarily if it is from a file. Make documentation reflect that.
1 lines of code changed in:
New filter reader to access straight-forward 'constants' defined in a class file.
This can be used to load class constants as Ant properties.
External Dependency on: BCEL
PR: 6591
32 lines of code changed in:
New filter reader that gets those lines that match a regular expression pattern.
Requested by: Adam Murdoch
0 lines of code changed in:
Fix javadoc.
3 lines of code changed in:
1. ExpandProperties filter introduced as envisioned by Steve.
2. String readFully(Reader) added to FileUtils.java (main trunk revision 1.13)
3. Doc changes
4. Removed the attribute evaluateproperties from <loadfile> as it is no longer necessary.
32 lines of code changed in:
Skip must use this.read() and not in.read() - Thanks, Adam, for catching this.
1 lines of code changed in:
As suggested by Adam, use java.util.Properties.load(InputStream) instead of reinventing the wheel.
Introduced a new class - StringInputStream
0 lines of code changed in:
Refactored code (as suggested by Costin and Adam) - first run.
1. Moved ChainReaderHelper.java to filters/util
2. Moved setInitialized, getInitialized to base class.
3. Introduced BaseParamFilterReader that implements Parameterizable and has setParameter
4. Null check introduced for LoadFile
5. Convenience method readLine() introduced into BaseFilterReader.
124 lines of code changed in:
1. Move a couple of common methods to an abstract base class.
2. Javadoc
300 lines of code changed in:
Empty line check inserted.
6 lines of code changed in:
Add License.
217 lines of code changed in:
CloneableReader -> ChainableReader
Reader clone(Reader) -> Reader chain(Reader)
18 lines of code changed in:
1. Provide a mechanism by which filter readers recognized by Ant's core (FilterreaderSet) can have a better syntax.
2. Remove double-quotes from javadoc and replace with "
495 lines of code changed in:
Provide a mechanism by which filter readers recognized by Ant's core (FilterreaderSet can have a better syntax.
For example, HeadFilter can be added to filterset as this:
<filterreaderset>
<filterreader classname="org.apache.tools.ant.HeadFilter">
<param name="lines" value="3"/>
</filterreader>
</filterreaderset>
or this:
<filterreaderset>
<headfilter lines="3"/>
</filterreaderset>
48 lines of code changed in:
(15 more)