PDF Clown CLI Samples
0.1.2

org.pdfclown.samples.cli
Class StreamExternalizationSample

java.lang.Object
  extended by org.pdfclown.samples.cli.Sample
      extended by org.pdfclown.samples.cli.StreamExternalizationSample

public class StreamExternalizationSample
extends Sample

This sample demonstrates how to move stream data outside PDF files and keep external references to them; it demonstrates also the inverse process (reimporting stream data from external files).

Note that, due to security concerns, external streams are a discouraged feature which is often unsupported on third-party viewers and disabled by default on recent Adobe Acrobat versions; in the latter case, in order to bypass restrictions and allow access to external streams, users have to enable Enhanced Security from the Preferences dialog, specifying privileged locations.

Since:
0.1.2
Version:
0.1.2, 09/24/12
Author:
Stefano Chizzolini (http://www.stefanochizzolini.it)

Constructor Summary
StreamExternalizationSample()
           
 
Method Summary
 void run()
          Executes the sample.
 
Methods inherited from class org.pdfclown.samples.cli.Sample
getIndentation, getOutputPath, getOutputPath, getResourcePath, isQuit, prompt, promptChoice, promptChoice, promptFileChoice, promptNextPage, promptPageChoice, promptPageChoice, quit, serialize, serialize, serialize, serialize, serialize, serialize, serialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamExternalizationSample

public StreamExternalizationSample()
Method Detail

run

public void run()
Description copied from class: Sample
Executes the sample.

Specified by:
run in class Sample

PDF Clown CLI Samples
0.1.2

Project home page

Copyright © 2006-2013 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.