Package railo.runtime.converter

Examples of railo.runtime.converter.JavaConverter


    else if(mt.same(MimeType.IMAGE_ICO)) writeOut(pc,obj,mt,new ImageConverter("ico"));
    else if(mt.same(MimeType.IMAGE_PSD)) writeOut(pc,obj,mt,new ImageConverter("psd"));
    else if(mt.same(MimeType.IMAGE_ASTERIX)) writeOut(pc,obj,MimeType.IMAGE_PNG,new ImageConverter("png"));
   
    // Application
    else if(mt.same(MimeType.APPLICATION_JAVA)) writeOut(pc,obj,mt,new JavaConverter());
    //if("application".equalsIgnoreCase(mt.getType()))
   
   
    else _writeOut(pc, props, null, obj,null);
  }
View Full Code Here


      pc.forceWrite(Caster.toString(rtn));
    }

    // JAVA
    else if(UDFPlus.RETURN_FORMAT_JAVA==props.format) {
      writeOut(pc,rtn,MimeType.APPLICATION_JAVA,new JavaConverter());
    }
    else throw new IOException("invalid return format defintion:"+props.format);
  }
View Full Code Here

TOP

Related Classes of railo.runtime.converter.JavaConverter

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.