Update of /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/pipeline/stage
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv28600/modules/core/src/com/babeldoc/core/pipeline/stage
Modified Files:
GenericWriterPipelineStage.java FileWriterPipelineStage.java
Log Message:
news pipeline stages
Index: FileWriterPipelineStage.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/pipeline/stage/FileWriterPipelineStage.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** FileWriterPipelineStage.java 18 Dec 2007 10:02:55 -0000 1.10
--- FileWriterPipelineStage.java 18 Dec 2007 10:35:54 -0000 1.11
***************
*** 119,123 ****
options.add(new ConfigOption(DONE_FILE, IConfigOptionType.FILENAME,
null, false, I18n.get("100021")));
! // 20071114 jmenriquez
// ENCODING it's a general Option and NEW_LINE it's undefined
//options.add(new ConfigOption(ENCODING, IConfigOptionType.STRING,
--- 119,123 ----
options.add(new ConfigOption(DONE_FILE, IConfigOptionType.FILENAME,
null, false, I18n.get("100021")));
! // 20071114 josem_dev
// ENCODING it's a general Option and NEW_LINE it's undefined
//options.add(new ConfigOption(ENCODING, IConfigOptionType.STRING,
***************
*** 185,189 ****
BufferedWriter writer = new BufferedWriter(new FileWriter(outfile, append));
! // 20071114 jmenriquez
//writer.write(new String(document.getBytes()));
writer.write(document.getContents());
--- 185,189 ----
BufferedWriter writer = new BufferedWriter(new FileWriter(outfile, append));
! // 20071114 josem_dev
//writer.write(new String(document.getBytes()));
writer.write(document.getContents());
Index: GenericWriterPipelineStage.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/pipeline/stage/GenericWriterPipelineStage.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** GenericWriterPipelineStage.java 18 Dec 2007 10:02:55 -0000 1.7
--- GenericWriterPipelineStage.java 18 Dec 2007 10:35:54 -0000 1.8
***************
*** 124,128 ****
newDocument.setMimeType(this.getDocument().getMimeType());
newDocument.setBinary(this.getDocument().isBinary());
! // 20071114 jmenriquez
// why not setEncoding and setName?
newDocument.setEncoding(this.getDocument().getEncoding());
--- 124,128 ----
newDocument.setMimeType(this.getDocument().getMimeType());
newDocument.setBinary(this.getDocument().isBinary());
! // 20071114 josem_dev
// why not setEncoding and setName?
newDocument.setEncoding(this.getDocument().getEncoding());
|