Directory proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/filters/

Directory Created:
2002-02-15 21:50
Directory Deleted:
2002-03-15 02:44
Total Files:
0
Deleted Files:
17
Lines of Code:
0

Browse with ViewVC

[root]/proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/filters

                                             util (0 files, 0 lines)

Lines of Code

proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/filters/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
umagesh 102 (100.0%) 1825 (100.0%) 17.8

Most Recent Commits

umagesh 2002-03-15 02:44

Remove contents from filter reader proposal, now that the code has been migrated to the main tree.

0 lines of code changed in:

umagesh 2002-03-05 20:40

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:

  • proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/filters: ClassConstants.java (+37 -5)
umagesh 2002-03-04 23:59

Make TailFilter behave exactly like the unix tail application.

4 lines of code changed in:

  • proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/filters: TailFilter.java (+4 -3)
umagesh 2002-03-04 22:17

null check.

2 lines of code changed in:

  • proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/filters: TailFilter.java (+2 -1)
umagesh 2002-03-04 00:33

Cheat the introspector by making ClassConstants delegate bcel stuff to a helper class.

2 lines of code changed in:

  • proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/filters: ClassConstants.java (+2 -31)
umagesh 2002-03-02 02:20

Minor cleanups - sorry for spamming...

13 lines of code changed in:

  • proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/filters: ClassConstants.java (+13 -11)
umagesh 2002-03-02 02:16

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:

  • proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/filters: ClassConstants.java (+1 -1)
umagesh 2002-03-02 02:13

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:

  • proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/filters: ClassConstants.java (new 32)
umagesh 2002-03-01 00:56

New filter reader that gets those lines that match a regular expression pattern.



Requested by: Adam Murdoch

0 lines of code changed in:

umagesh 2002-02-28 22:03

Fix javadoc.

3 lines of code changed in:

umagesh 2002-02-28 21:59

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:

umagesh 2002-02-28 19:21

Skip must use this.read() and not in.read() - Thanks, Adam, for catching this.

1 lines of code changed in:

umagesh 2002-02-28 19:12

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:

umagesh 2002-02-28 18:23

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:

umagesh 2002-02-28 01:48

1. Move a couple of common methods to an abstract base class.

2. Javadoc

300 lines of code changed in:

umagesh 2002-02-28 00:44

Empty line check inserted.

6 lines of code changed in:

umagesh 2002-02-27 20:59

Add License.

217 lines of code changed in:

umagesh 2002-02-27 20:48

CloneableReader -> ChainableReader

Reader clone(Reader) -> Reader chain(Reader)

18 lines of code changed in:

umagesh 2002-02-27 20:41

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 &quot;

495 lines of code changed in:

umagesh 2002-02-27 18:14

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)

Generated by StatSVN 0.3.2-SNAPSHOT