planetj.helpers
Class IIFHelper

java.lang.Object
  |
  +--planetj.helpers.FileHelper
        |
        +--planetj.helpers.IIFHelper

public class IIFHelper
extends FileHelper

Intuit Interchange Format (.iff) This class will assist in creating IIF files which can be imported into QuickBooks

Creation date: (2/18/2002 5:50:49 AM)


Method Summary
 StringBuffer generateIIFFile(IIFRecordArray pIIFData, IIFFileDescriptor pIIFFileDescriptor)
          This method will return a StringBuffer in IIF format according to pIIFData.
 StringBuffer generateIIFFile(IIFRecord pIIFRecord, IIFFileDescriptor pIIFFileDescriptor)
          This method will return a StringBuffer in IIF format according to pIIFData.
static IIFFileDescriptor newIIFFileDescriptor()
          This is the only way to get an instance of a new IIFFileDescriptor Creation date: (2/18/2002 5:51:28 AM)
static IIFHelper singleton()
          IIFHelper implements the singleton model so this method is the only way to get an instance of this class Creation date: (2/18/2002 5:51:58 AM)
 
Methods inherited from class planetj.helpers.FileHelper
getAS400, getFileSeparator, newFileDescriptor, newFileDescriptor, validateFileName, writeData
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

generateIIFFile

public StringBuffer generateIIFFile(IIFRecord pIIFRecord,
                                    IIFFileDescriptor pIIFFileDescriptor)
                             throws CMException
This method will return a StringBuffer in IIF format according to pIIFData. Creation date: (2/18/2002 5:52:27 AM)

CMException

generateIIFFile

public StringBuffer generateIIFFile(IIFRecordArray pIIFData,
                                    IIFFileDescriptor pIIFFileDescriptor)
                             throws CMException
This method will return a StringBuffer in IIF format according to pIIFData. Creation date: (2/18/2002 5:53:31 AM)

CMException

newIIFFileDescriptor

public static IIFFileDescriptor newIIFFileDescriptor()
This is the only way to get an instance of a new IIFFileDescriptor Creation date: (2/18/2002 5:51:28 AM)

Returns:
new IIFFileDescriptor()

singleton

public static IIFHelper singleton()
IIFHelper implements the singleton model so this method is the only way to get an instance of this class Creation date: (2/18/2002 5:51:58 AM)

Returns:
planetj.helpers.IIFHelper mSingleton, an instance of this Class