Intland's free requirements, development and test management hosting.
This server hosts 100.000+ users on the cloud!
Flexible parsing/formatting rules for text/csv drivers#52167/v5
more
Tags:  v1.1

Flexible parsing/formatting rules for text/csv drivers[TSK-52167]

Tracker: Tasks Priority: NormalNormal Owner: --
Assigned to: -- Submitted by: ejboy May 18, 2012 13:16 Status: --
Start Date: -- End Date: -- Estimated Hours: --
Spent Effort: -- % Spent / Plan: -- Category: --
Severity: --
Relations
Loading...
Description
Note: Previous issue You must login to see this link. Register now, if you have no user account yet. was removed.

Formatting syntax [Draft]:

format.<column_name>.<format_property>=<value>
where format_property can be one of:
  • trim = true|false
  • type = number|date|time + (timestamp or custom class name)
  • pattern. Depends on type:
    • for date/time - See SimpleDateFormat rules
    • for number - See DecimalFormat
    • for timestamp - N/A
  • locale
  • ...

Column_name should be case-insensitive.

Details
Comments & Attachments (2)
Associations (0)
Children (1)
References (0)
SCM Commits (8)
All (8)

Type Submitted Comment
ejboy
Aug 10, 2012 05:01
Flexible parsing/formatting rules for text/csv drivers 

Formatting defaults can be set for locale, pad_left, pad_right, pad_char
(Revision 665; 4 changes)
ejboy
Aug 09, 2012 11:20
Flexible parsing/formatting rules for text/csv drivers 

Added unit test for choice format.
(Revision 664; 1 changes)
ejboy
Aug 08, 2012 17:12
Flexible parsing/formatting rules for text/csv drivers
Names of the formatting properties are now case-insensitive.
(Revision 663; 3 changes)
ejboy
Aug 07, 2012 16:48
Flexible parsing/formatting rules for text/csv drivers
- Added timestamp type
- Extended PropertyFormat with className property. It defines a class name of a custom value formatter.
- Extracted Format instantiation logic into a builder class ValueFormatBuilder.
- Add pad_left, pad_right and pad_char padding options (value format),
(Revision 661; 9 changes)
ejboy
Aug 05, 2012 17:08
Flexible parsing/formatting rules for text/csv drivers
- Added timestamp type
- Extended PropertyFormat with className property. It defines a class name of a custom value formatter.
- Extracted Format instantiation logic into a builder class ValueFormatBuilder.
(Revision 660; 7 changes)
ejboy
Aug 01, 2012 12:27
Flexible parsing/formatting rules for text/csv drivers 

- Renamed ColumnFormat[...] to PropertyFormat[,,,]
- Introduced TextConnectionParameters/CsvConnectionParameters - typed representation of connection parameters.
- Added integration tests to cover new functionality
(Revision 659; 33 changes)
ejboy
Jun 18, 2012 13:14
Flexible parsing/formatting rules for text/csv drivers 

Introduced TypedPropertiesSource. It is now used by ConnectionParameters and ColumnFormatInfo.
(Revision 654; 9 changes)
ejboy
Jun 18, 2012 10:24
Flexible parsing/formatting rules for text/csv drivers 

Initial version of ColumnFormatter and formatting metadata.
(Revision 651; 8 changes)