Package org.marian.core

Examples of org.marian.core.MessageXML


    }

    @Override   
    protected void processReceived() throws Exception
    {
        MessageXML m = this.getMessage();
        String file = m.getParameter(MessageXML.PARAM_FILE_NAME);
        String share = m.getParameter(MessageXML.PARAM_SHARE_NAME);
        String att = m.getAttatchment();
        String dest = this.co.getMarianProperties().dir_download()
                     +File.separator
                     +m.getContactFrom()
                     +File.separator
                     +share
                     +File.separator
                     +file;
        File fdest = new File(dest);
View Full Code Here


    }

    @Override   
    protected void processForSend() throws Exception
    {       
        MessageXML m = this.getMessage();
        String share = m.getParameter(MessageXML.PARAM_SHARE_NAME);
        String loc = this.co.getSharesXML().getLocation(share);
        String file = m.getParameter(MessageXML.PARAM_FILE_NAME);
        String loc_rel = UtlFile.relativePath(file, loc);
        m.setParameter(MessageXML.PARAM_FILE_NAME, loc_rel);
        m.setAttatchment(file);
        super.processForSend();
    }
View Full Code Here

TOP

Related Classes of org.marian.core.MessageXML

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.