com.pega.pegarules.pub.util
Interface COBOLUtils


public interface COBOLUtils

Utilities for applying Rule-Map-COBOL rules.

Version:
$Revision: 28678 $ $Date: 2012-06-04 07:27:29 -0400 (Mon, 04 Jun 2012) $
Author:
Denis Golovnya

Field Summary
static java.lang.String VERSION
           
 
Method Summary
 java.lang.String getCobolCopybookDefinition(ClipboardPage aPrimaryPage)
           
 java.io.ByteArrayOutputStream mapFromClipboardToStream(ClipboardPage aPrimaryPage, MapCOBOLDataStructure data)
          Applies Map-COBOL rule to the contents of the clipboard and maps values to the output stream, filling in gaps with pad characters.
 java.lang.String mapFromClipboardToString(ClipboardPage aPrimaryPage, MapCOBOLDataStructure data)
          Applies Map-COBOL rule to the contents of the clipboard and maps values to the output string, filling in gaps with pad characters.
 void mapToClipboard(ClipboardPage aPrimaryPage, java.io.InputStream inputStream, MapCOBOLDataStructure data)
          Applies Map-COBOL rule to the contents of the stream and maps values to the clipboard.
 void mapToClipboard(ClipboardPage aPrimaryPage, java.lang.String inputString, MapCOBOLDataStructure data)
          Applies Map-COBOL rule to the contents of the string and maps values to the clipboard.
 

Field Detail

VERSION

static final java.lang.String VERSION
Method Detail

mapToClipboard

void mapToClipboard(ClipboardPage aPrimaryPage,
                    java.io.InputStream inputStream,
                    MapCOBOLDataStructure data)
Applies Map-COBOL rule to the contents of the stream and maps values to the clipboard.

Parameters:
aPrimaryPage - The primary page of the mapping rule.
inputStream - Stream that contains data to be mapped to clipboard.
data -

mapToClipboard

void mapToClipboard(ClipboardPage aPrimaryPage,
                    java.lang.String inputString,
                    MapCOBOLDataStructure data)
Applies Map-COBOL rule to the contents of the string and maps values to the clipboard.

Parameters:
aPrimaryPage - The primary page of the mapping rule.
inputString - String that contains data to be mapped to clipboard.
data -

mapFromClipboardToStream

java.io.ByteArrayOutputStream mapFromClipboardToStream(ClipboardPage aPrimaryPage,
                                                       MapCOBOLDataStructure data)
Applies Map-COBOL rule to the contents of the clipboard and maps values to the output stream, filling in gaps with pad characters.

Parameters:
aPrimaryPage - The primary page of the mapping rule.
data -
Returns:
ByteArrayOutputStream Contains assembled data.

mapFromClipboardToString

java.lang.String mapFromClipboardToString(ClipboardPage aPrimaryPage,
                                          MapCOBOLDataStructure data)
Applies Map-COBOL rule to the contents of the clipboard and maps values to the output string, filling in gaps with pad characters.

Parameters:
aPrimaryPage - The primary page of the mapping rule.
data -
Returns:
String Contains assembled data.

getCobolCopybookDefinition

java.lang.String getCobolCopybookDefinition(ClipboardPage aPrimaryPage)


Copyright © 2012 Pegasystems Inc. All Rights Reserved.