at.knowcenter.wag.egov.egiz.test
Class BinSig

java.lang.Object
  extended by at.knowcenter.wag.egov.egiz.test.BinSig

public class BinSig
extends Object

Author:
wprinz

Field Summary
static String KEY_DATE
           
static String KEY_ISSUER
           
static String KEY_SIGVAL
           
static String KEY_SN
           
 
Constructor Summary
BinSig()
           
 
Method Summary
 void action()
           
protected  boolean isPlaceholder(byte[] pdf, StringInfo si, byte placeholder)
           
static void main(String[] args)
           
protected static PdfPCell makeCell(String text, int vAlignment, int hAlignment, Font font, float leading, float padding, Rectangle borders, boolean ascender, boolean descender)
           
static void replacePlaceholder(SplitStrings ss, byte[] replace_bytes)
          Replaces the given placeholders with the given bytes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_DATE

public static final String KEY_DATE
See Also:
Constant Field Values

KEY_SN

public static final String KEY_SN
See Also:
Constant Field Values

KEY_SIGVAL

public static final String KEY_SIGVAL
See Also:
Constant Field Values

KEY_ISSUER

public static final String KEY_ISSUER
See Also:
Constant Field Values
Constructor Detail

BinSig

public BinSig()
Method Detail

main

public static void main(String[] args)
                 throws DocumentException,
                        IOException,
                        PDFDocumentException
Parameters:
args -
Throws:
DocumentException
IOException
PDFDocumentException

action

public void action()
            throws IOException,
                   DocumentException,
                   PDFDocumentException
Throws:
IOException
DocumentException
PDFDocumentException

makeCell

protected static PdfPCell makeCell(String text,
                                   int vAlignment,
                                   int hAlignment,
                                   Font font,
                                   float leading,
                                   float padding,
                                   Rectangle borders,
                                   boolean ascender,
                                   boolean descender)

isPlaceholder

protected boolean isPlaceholder(byte[] pdf,
                                StringInfo si,
                                byte placeholder)

replacePlaceholder

public static void replacePlaceholder(SplitStrings ss,
                                      byte[] replace_bytes)
Replaces the given placeholders with the given bytes.

Parameters:
ss - The SplitStrings placeholders.
replace_bytes - The bytes to be filled in.


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