jp.co.intra_mart.product.pdfmaker.sample
クラス SamplePDFBuilder

java.lang.Object
  上位を拡張 jp.co.intra_mart.foundation.service.client.NetworkConnector
      上位を拡張 jp.co.intra_mart.foundation.service.client.NetworkAgent
          上位を拡張 jp.co.intra_mart.foundation.service.client.file.AbstractComponent
              上位を拡張 jp.co.intra_mart.product.pdfmaker.sample.SamplePDFBuilder
すべての実装されたインタフェース:
java.io.Serializable, jp.co.intra_mart.foundation.service.client.ActionListener

public class SamplePDFBuilder
extends jp.co.intra_mart.foundation.service.client.file.AbstractComponent
implements java.io.Serializable

This class is the sample of PDF file creation.

A layout definition file is in a Storage-Service. Moreover, program file With JSP It consists of classes of Java. A class file is in an application server and a Storage-Service. Since this program is in cooperation with a Storage-Service, the performance in distributed system employment is influenced of network environment.

In this sample program, one PDF file is created using a middle file (iod) of finishing [ creation ] beforehand. Usually, iodoc One or more middle files (iod) created by iocela will be changed into one PDF file.

In order to create a middle file (iod), they are an IOCelaPageBuilder class and an IODocPageBuilder class. A createIODWriter method is used.
IOCelaPageBuilder class When creating a middle file (iod) using an IODocPageBuilder class, it is completely the same as the procedure which creates a PDF file except the point of using a createIODWriter method.

作成者:
NTTDATA INTRAMART Co.,Ltd.(06/20,2002)
関連項目:
直列化された形式

コンストラクタの概要
SamplePDFBuilder()
          Constructor for SamplePDFBuilder object.
 
メソッドの概要
 java.lang.Object action(java.lang.Object argV)
          推奨されていません。  
 java.lang.String create(java.lang.String path)
          A PDF file is created.
 
クラス jp.co.intra_mart.foundation.service.client.file.AbstractComponent から継承されたメソッド
getInstance
 
クラス jp.co.intra_mart.foundation.service.client.NetworkConnector から継承されたメソッド
close, execute, freeMemory, isConnected, serverTime, totalMemory
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

SamplePDFBuilder

public SamplePDFBuilder()
Constructor for SamplePDFBuilder object.

メソッドの詳細

create

public java.lang.String create(java.lang.String path)
                        throws java.io.IOException
A PDF file is created.

The path of an output file should specify the path name expressed with the relative form from the document route of a Storage-Service.
At this method, it is a Storage-Service by the call of an execute method. The action method is performed.

パラメータ:
path - output file path
戻り値:
result message
例外:
java.io.IOException - if an I/O error occurs.

action

public java.lang.Object action(java.lang.Object argV)
推奨されていません。 

create a PDF file.
This method is called by the Storage-Service. Calling arbitrarily is not recommended.

定義:
インタフェース jp.co.intra_mart.foundation.service.client.ActionListener 内の action
定義:
クラス jp.co.intra_mart.foundation.service.client.NetworkAgent 内の action
パラメータ:
argV - runtime argument. output file path(String).
戻り値:
result message