aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/embedding/java/embedding/ExampleFO2PDF.java1
-rw-r--r--examples/embedding/java/embedding/ExampleObj2PDF.java1
-rw-r--r--examples/embedding/java/embedding/ExampleSVG2PDF.java1
-rw-r--r--examples/embedding/java/embedding/ExampleXML2PDF.java1
4 files changed, 4 insertions, 0 deletions
diff --git a/examples/embedding/java/embedding/ExampleFO2PDF.java b/examples/embedding/java/embedding/ExampleFO2PDF.java
index 6171e031d..da02dde9f 100644
--- a/examples/embedding/java/embedding/ExampleFO2PDF.java
+++ b/examples/embedding/java/embedding/ExampleFO2PDF.java
@@ -95,6 +95,7 @@ public class ExampleFO2PDF {
//Setup output
OutputStream out = new java.io.FileOutputStream(pdf);
+ out = new java.io.BufferedOutputStream(out);
try {
driver.setOutputStream(out);
diff --git a/examples/embedding/java/embedding/ExampleObj2PDF.java b/examples/embedding/java/embedding/ExampleObj2PDF.java
index 591142eff..c23b3faa4 100644
--- a/examples/embedding/java/embedding/ExampleObj2PDF.java
+++ b/examples/embedding/java/embedding/ExampleObj2PDF.java
@@ -106,6 +106,7 @@ public class ExampleObj2PDF {
//Setup output
OutputStream out = new java.io.FileOutputStream(pdf);
+ out = new java.io.BufferedOutputStream(out);
try {
driver.setOutputStream(out);
diff --git a/examples/embedding/java/embedding/ExampleSVG2PDF.java b/examples/embedding/java/embedding/ExampleSVG2PDF.java
index 666f50960..80e0380d2 100644
--- a/examples/embedding/java/embedding/ExampleSVG2PDF.java
+++ b/examples/embedding/java/embedding/ExampleSVG2PDF.java
@@ -93,6 +93,7 @@ public class ExampleSVG2PDF {
//Setup output
OutputStream out = new java.io.FileOutputStream(pdf);
+ out = new java.io.BufferedOutputStream(out);
try {
TranscoderOutput output = new TranscoderOutput(out);
diff --git a/examples/embedding/java/embedding/ExampleXML2PDF.java b/examples/embedding/java/embedding/ExampleXML2PDF.java
index 186e6b087..9cabadc0c 100644
--- a/examples/embedding/java/embedding/ExampleXML2PDF.java
+++ b/examples/embedding/java/embedding/ExampleXML2PDF.java
@@ -103,6 +103,7 @@ public class ExampleXML2PDF {
//Setup output
OutputStream out = new java.io.FileOutputStream(pdf);
+ out = new java.io.BufferedOutputStream(out);
try {
driver.setOutputStream(out);