com.retek.component.salesaudit.integration.resa
Class ResaFileWriterUtil

java.lang.Object
  extended bycom.retek.component.salesaudit.integration.resa.ResaFileWriterUtil

public class ResaFileWriterUtil
extends java.lang.Object


Field Summary
static java.lang.String FILE_NAME_SEPARATOR
           
static java.lang.String RTLOG_CREATE_DATE_FORMAT
           
static java.lang.String RTLOG_FILE_DOT_SUFFIX
           
static java.lang.String RTLOG_FILE_PREFIX
           
static java.lang.String RTLOG_TRANSACTION_DATE_FORMAT
           
 
Constructor Summary
ResaFileWriterUtil()
           
 
Method Summary
static void addRequiredExportFileRecordDataForDClose(java.lang.String storeNumber, RDate transactionDate, java.util.List records, RDate createTime)
           
static void createExportDirectory(java.io.File exportDirectory)
           
static java.lang.String createExportFileName(java.lang.String saeXmlTransactionFilename)
           
static java.lang.String createExportFileName(java.lang.String storeId, RDate transactionDate, RDate createDate)
           
static FheadRecord createFheadRecord(java.lang.String storeNumber, RDate transactionDate, RDate createTime)
           
static FtailRecord createFtailRecord(int fileRecordCount)
           
static FixedWidthFormatter createRtlogFileFormatter(java.lang.String rtlogFileFormatSpecification)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RTLOG_FILE_PREFIX

public static final java.lang.String RTLOG_FILE_PREFIX
See Also:
Constant Field Values

FILE_NAME_SEPARATOR

public static final java.lang.String FILE_NAME_SEPARATOR
See Also:
Constant Field Values

RTLOG_FILE_DOT_SUFFIX

public static final java.lang.String RTLOG_FILE_DOT_SUFFIX
See Also:
Constant Field Values

RTLOG_TRANSACTION_DATE_FORMAT

public static final java.lang.String RTLOG_TRANSACTION_DATE_FORMAT
See Also:
Constant Field Values

RTLOG_CREATE_DATE_FORMAT

public static final java.lang.String RTLOG_CREATE_DATE_FORMAT
See Also:
Constant Field Values
Constructor Detail

ResaFileWriterUtil

public ResaFileWriterUtil()
Method Detail

createRtlogFileFormatter

public static FixedWidthFormatter createRtlogFileFormatter(java.lang.String rtlogFileFormatSpecification)
                                                    throws FixedWidthFormatterException,
                                                           java.io.IOException
Throws:
FixedWidthFormatterException
java.io.IOException

createFheadRecord

public static FheadRecord createFheadRecord(java.lang.String storeNumber,
                                            RDate transactionDate,
                                            RDate createTime)

createFtailRecord

public static FtailRecord createFtailRecord(int fileRecordCount)

addRequiredExportFileRecordDataForDClose

public static void addRequiredExportFileRecordDataForDClose(java.lang.String storeNumber,
                                                            RDate transactionDate,
                                                            java.util.List records,
                                                            RDate createTime)

createExportFileName

public static java.lang.String createExportFileName(java.lang.String storeId,
                                                    RDate transactionDate,
                                                    RDate createDate)

createExportFileName

public static java.lang.String createExportFileName(java.lang.String saeXmlTransactionFilename)
                                             throws SystemException,
                                                    RDateParseException
Throws:
SystemException
RDateParseException

createExportDirectory

public static void createExportDirectory(java.io.File exportDirectory)
                                  throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28