Skip navigation links


com.essbase.eas.net
Class BinaryMessage

java.lang.Object
  extended by com.essbase.eas.net.BinaryMessage


public class BinaryMessage
extends java.lang.Object

BinaryMessage: Generic utility class for creating and unpacking a set of binary messages sent as a set of zipped files

Since:
6.5.1
Version:
6.5.4
Author:
Joe Fernandez

Field Summary
protected  boolean deleteFiles
           
protected  java.io.File[] files
           

 

Constructor Summary
BinaryMessage()
           

 

Method Summary
 void deleteMessageFiles()
           
 java.io.ByteArrayOutputStream exportMessage(CommandStatus cmdStatus, java.util.List errorList, java.io.File[] messageFiles)
           
 java.io.ByteArrayOutputStream exportMessage(java.util.List errorList, java.io.File[] messageFiles)
           
 java.io.ByteArrayOutputStream exportMessage(java.lang.String xmlMessage, java.io.File[] messageFiles)
           
 void finalize()
           
 java.lang.String getAsFileString(java.lang.String fileName)
           
 java.io.File getFile(java.lang.String fileName)
           
 java.lang.String getFileAsString(java.lang.String fileName)
           
 java.io.File[] getMessageFiles()
           
 java.lang.String getXmlMessages()
           
 java.io.File[] importMessage(java.io.InputStream receivedInput)
           
 java.io.ByteArrayOutputStream packMessage(java.io.File[] messageFiles)
           
 void setDeleteMessageFiles(boolean delete)
           
 java.io.File[] unpackMessage(java.io.InputStream in)
           

 

Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

files

protected java.io.File[] files

deleteFiles

protected boolean deleteFiles

Constructor Detail

BinaryMessage

public BinaryMessage()

Method Detail

getMessageFiles

public java.io.File[] getMessageFiles()

unpackMessage

public java.io.File[] unpackMessage(java.io.InputStream in)

getFileAsString

public java.lang.String getFileAsString(java.lang.String fileName)

getAsFileString

public java.lang.String getAsFileString(java.lang.String fileName)

getFile

public java.io.File getFile(java.lang.String fileName)

packMessage

public java.io.ByteArrayOutputStream packMessage(java.io.File[] messageFiles)

deleteMessageFiles

public void deleteMessageFiles()

setDeleteMessageFiles

public void setDeleteMessageFiles(boolean delete)

finalize

public void finalize()
              throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable

exportMessage

public java.io.ByteArrayOutputStream exportMessage(java.util.List errorList,
                                                   java.io.File[] messageFiles)

exportMessage

public java.io.ByteArrayOutputStream exportMessage(java.lang.String xmlMessage,
                                                   java.io.File[] messageFiles)

importMessage

public java.io.File[] importMessage(java.io.InputStream receivedInput)

exportMessage

public java.io.ByteArrayOutputStream exportMessage(CommandStatus cmdStatus,
                                                   java.util.List errorList,
                                                   java.io.File[] messageFiles)

getXmlMessages

public java.lang.String getXmlMessages()

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.