at.knowcenter.wag.egov.egiz.pdf
Class Utils

java.lang.Object
  extended by at.knowcenter.wag.egov.egiz.pdf.Utils

public abstract class Utils
extends Object

Abstract class that contains helpful utility functions used by the digital signatures.

Author:
wprinz

Constructor Summary
Utils()
           
 
Method Summary
static String extractPureTextFromContentStream(byte[] stream_bytes)
          Extracts the pure content text from a given content stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utils

public Utils()
Method Detail

extractPureTextFromContentStream

public static String extractPureTextFromContentStream(byte[] stream_bytes)
                                               throws IOException
Extracts the pure content text from a given content stream.

The pure content text is just an assembly of all strings that occur within the content stream in stream order. Each of these strings will be set on a new line.

Parameters:
stream_bytes - The content stream.
Returns:
Returns the extracted string.
Throws:
IOException - Forwarded exception.


Copyright © 2006-2007 EGIZ - E-Government Innovationszentrum. All Rights Reserved.