Package com.xmultra.util

Examples of com.xmultra.util.DateUtils


            }
        }

        // Set up writer for previous output document.
        this.previousOutputDocumentWriter = new DestinationWriter();
        if ( !this.previousOutputDocumentWriter.init(imh, rssMergeEl, new DateUtils(),
                                                     XmultraConfig.PREVIOUS_OUTPUT_DOCUMENT_LOCATION_ELEMENT) ) {
            return false;
        }

        // Set up writer for previous source document.
        this.previousSourceDocumentWriter = new DestinationWriter();
        if ( !this.previousSourceDocumentWriter.init(imh, rssMergeEl, new DateUtils(),
                                                     XmultraConfig.PREVIOUS_SOURCE_DOCUMENT_LOCATION_ELEMENT) ) {
            return false;
        }

        // Successful init.
View Full Code Here


        msgEntry = new MessageLogEntry(this, VERSION);
        errEntry = new ErrorLogEntry(this, VERSION);

        // Make a Strings instance.
        strings = new Strings();
        dateUtils = new DateUtils(strings);

        // Get the directory where the file to process is found.
        srcLocation = getLocationDirectory(
                                     XmultraConfig.SRC_LOCATION_ELEMENT);
        if (srcLocation == null) return false;
View Full Code Here

        }

        // Create and initialize the Class which will write the data to the destination
        // locations.
        destWriter = new DestinationWriter();
        if (!destWriter.init(imh, super.aProcessorNode, new DateUtils())){
            return false;
        }

        // Get the parent of the DestinationLocation elements.
        Node locationsNode = xmlParseUtils.getChildNode(aProcessorNode,
View Full Code Here

        if (destLocat == null) {
            msgEntry.setAppContext("getDestLocation()");
            msgEntry.setError("Destination location is not defined in system config!");
            logger.logWarning(msgEntry);
        }
        dateUtils = new DateUtils();
        return true;
    }
View Full Code Here

            // Create and initialize the Class which will write the data
            // to the destination locations.
            destWriter = new DestinationWriter();
            try {
                if (!destWriter.init(this.initMapHolder, super.aProcessorNode, new DateUtils())) {
                    throw new InvalidConfigFileFormatException();
                }
            }
            catch (InvalidConfigFileFormatException e) {
                this.errEntry.setThrowable(e);
View Full Code Here

        if (this.destWriter == null) {

            // Create and initialize the class that writes the destination locations.
            this.destWriter = new DestinationWriter();
            try {
                if (!destWriter.init(this.initMapHolder, super.aProcessorNode, new DateUtils())) {
                    throw new InvalidConfigFileFormatException();
                }
            }
            catch (InvalidConfigFileFormatException e) {
                this.errEntry.setThrowable(e);
View Full Code Here

        if (this.destWriter == null) {

            // Create and initialize the class that writes the destination locations.
            this.destWriter = new DestinationWriter();
            try {
                if (!destWriter.init(this.initMapHolder, super.aProcessorNode, new DateUtils())) {
                    throw new InvalidConfigFileFormatException();
                }
            } catch (InvalidConfigFileFormatException e) {
                this.errEntry.setThrowable(e);
                this.errEntry.setAppContext("initializeDestWriter()");
View Full Code Here

        xmlParseUtils = (XmlParseUtils)initMapHolder.getEntry(InitMapHolder.XML_PARSE_UTILS);

        // Create and initialize the Class which will write the data to the destination
        // locations.
        destWriter = new DestinationWriter();
        if (!destWriter.init(imh, super.aProcessorNode, new DateUtils())){
            return false;
        }

        msgHolder = new MessageHolder();
View Full Code Here

        // Make a Strings instance.
        this.strings = new Strings();

        // Create DateUtils instance and add it to the InitMapHolder.
        DateUtils dateUtils = new DateUtils(strings);
        initMapHolder.setEntry(this, InitMapHolder.DATE_UTILS, dateUtils);

        fileUtils = (FileUtils)initMapHolder.getEntry(InitMapHolder.FILE_UTILS);
        xmlParseUtils = (XmlParseUtils)initMapHolder.getEntry(InitMapHolder.XML_PARSE_UTILS);
View Full Code Here

        Element rssMergeEl = (Element)n;

        this.destWriter = new DestinationWriter();

        if ( !this.destWriter.init(imh, rssMergeEl, new DateUtils()) ) {
            return false;
        }

        msgEntry = new MessageLogEntry(this, VERSION);
        errEntry = new ErrorLogEntry(this, VERSION);
View Full Code Here

TOP

Related Classes of com.xmultra.util.DateUtils

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.