com.pega.pegarules.pub.util
Interface StructuredUtils


public interface StructuredUtils

Utilities for applying Rule-Map-Structured rule.

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.io.ByteArrayOutputStream mapFromClipboardToStream(ClipboardPage aPrimaryPage, java.lang.String aPurpose)
          Applies Map-Structured 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, java.lang.String aPurpose)
          Applies Map-Structured 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, java.lang.String aPurpose)
          Applies Map-Structured rule to the contents of the stream and maps values to the clipboard.
 void mapToClipboard(ClipboardPage aPrimaryPage, java.lang.String inputString, java.lang.String aPurpose)
          Applies Map-Structured 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,
                    java.lang.String aPurpose)
Applies Map-Structured 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.
aPurpose - pyPurpose portion of the rule key; the name of the Map-Structured rule.

mapToClipboard

void mapToClipboard(ClipboardPage aPrimaryPage,
                    java.lang.String inputString,
                    java.lang.String aPurpose)
Applies Map-Structured 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.
aPurpose - pyPurpose portion of the rule key; the name of the Map-Structured rule.

mapFromClipboardToStream

java.io.ByteArrayOutputStream mapFromClipboardToStream(ClipboardPage aPrimaryPage,
                                                       java.lang.String aPurpose)
Applies Map-Structured 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.
aPurpose - pyPurpose portion of the rule key; the name of the Map-Structured rule.
Returns:
ByteArrayOutputStream Contains assembled data.

mapFromClipboardToString

java.lang.String mapFromClipboardToString(ClipboardPage aPrimaryPage,
                                          java.lang.String aPurpose)
Applies Map-Structured 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.
aPurpose - pyPurpose portion of the rule key; the name of the Map-Structured rule.
Returns:
String Contains assembled data.


Copyright © 2012 Pegasystems Inc. All Rights Reserved.