[Batchserver-cvs] batchserver/src/org/jmonks/batchserver/io package.html, 1.4, 1.5
Brought to you by:
suresh_pragada
From: Suresh <sur...@us...> - 2006-06-14 21:01:47
|
Update of /cvsroot/batchserver/batchserver/src/org/jmonks/batchserver/io In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv26216 Modified Files: package.html Log Message: no message Index: package.html =================================================================== RCS file: /cvsroot/batchserver/batchserver/src/org/jmonks/batchserver/io/package.html,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** package.html 14 Jun 2006 03:46:10 -0000 1.4 --- package.html 14 Jun 2006 21:01:38 -0000 1.5 *************** *** 24,32 **** using the root tag <file-spec> accepts the attribute <code>file-type</code> which signifies the kind of format of the file it is defining. Implementations may expects other attributes along with the <code>file-type</code> attribute for better file reading and file writing. These additional attributes will be mentioned by the FileSpec impelementors. <pre> ! <file-spec> <!-- Record specs will go on here --> </file-spec> --- 24,35 ---- using the root tag <file-spec> accepts the attribute <code>file-type</code> which signifies the kind of format of the file it is defining. + Allowed values for the <code>file-type</code> attribute should be from FileType + class. This class defines all the available file types can be used. Using the + value doesnt exist in the FileType class results FileSpecException being thrown. Implementations may expects other attributes along with the <code>file-type</code> attribute for better file reading and file writing. These additional attributes will be mentioned by the FileSpec impelementors. <pre> ! <file-spec file-type="file-format"> <!-- Record specs will go on here --> </file-spec> *************** *** 39,43 **** will have a <code>record-type</code> attribute which signifies the kind of record it is configuring like header record or detail record or trailer record. This <code>record-type</code> should be unique ! across the file spec. Along with the <code>record-type</code> attribute each implementation will require additional attributes to idnetify the records in the file and to write the records into the file. These additional attributes will be mentioned by the RecordSpec implementations. --- 42,48 ---- will have a <code>record-type</code> attribute which signifies the kind of record it is configuring like header record or detail record or trailer record. This <code>record-type</code> should be unique ! across the file spec and the value can be taken from RecordType class. Allowed to use other record types ! not defined in the RecordType class. ! Along with the <code>record-type</code> attribute each implementation will require additional attributes to idnetify the records in the file and to write the records into the file. These additional attributes will be mentioned by the RecordSpec implementations. |