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

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

Browse with ViewVC

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

Lines of Code

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

Developers

Author Changes Lines of Code Lines per Change
umagesh 26 (100.0%) 295 (100.0%) 11.3

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-02 16:39

Made <copy> and <move> filterchain aware. Existing <filterset> elements can live together with <filterchain> elements. However, all <filterset>s will only be processed *after* all <filterchain>s have been.

0 lines of code changed in:

  • proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/taskdefs: Copy.java (new), Move.java (new)
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.

2 lines of code changed in:

umagesh 2002-02-28 19:43

Split processStream into two methods to facilitate streamed reads...

Reader getAssembledReader()

String readFully(Reader)

4 lines of code changed in:

umagesh 2002-02-28 19:16

Misplaced null check.

9 lines of code changed in:

  • proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/taskdefs: LoadProperties.java (+9 -8)
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

14 lines of code changed in:

  • proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/taskdefs: LoadProperties.java (+14 -33)
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.

9 lines of code changed in:

umagesh 2002-02-27 21:50

FilterReaderSet -> FilterChain as this is more representative of the collection.



Documentation updates.

14 lines of code changed in:

umagesh 2002-02-24 01:58

Remove unused imports.

0 lines of code changed in:

umagesh 2002-02-23 17:36

Use a helper class to process chained readers.

14 lines of code changed in:

umagesh 2002-02-23 03:29

FilterReaderSet aware task to load Ant properties.

105 lines of code changed in:

  • proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/taskdefs: LoadProperties.java (new 105)
umagesh 2002-02-17 02:09

When passed through filters, the resulting size of the filtered data may be

larger than the actual file size. Keep reading till -1 is returned.

12 lines of code changed in:

  • proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/taskdefs: LoadFile.java (+12 -5)
umagesh 2002-02-16 02:29

1. Change Parameterizable interface's setParameters method signature such that it takes in an array of type Parameter instead of Hashtable.

2. Introduce "type" as an attribute to nested param.

2 lines of code changed in:

  • proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/taskdefs: LoadFile.java (+2 -2)
umagesh 2002-02-16 00:35

1. Class marked as final.

1 lines of code changed in:

  • proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/taskdefs: LoadFile.java (+1 -1)
umagesh 2002-02-16 00:34

1. "final" modifiers introduced in relevant places.

2. BuildExceptions thrown only when failonerror is true.

3. A few variables renamed.

45 lines of code changed in:

  • proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/taskdefs: LoadFile.java (+45 -30)
umagesh 2002-02-15 21:50

Initial version of FilterReaderSet implementation with <loadfile> as example.

64 lines of code changed in:

  • proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/taskdefs: LoadFile.java (new 64)
Generated by StatSVN 0.3.2-SNAPSHOT