Package railo.runtime.dump

Examples of railo.runtime.dump.SimpleDumpData


    }
   
    @Override
  public DumpData toDumpData(PageContext pageContext, int maxlevel, DumpProperties dp) {
    DumpTable table = new DumpTable("string","#ff6600","#ffcc99","#000000");
    table.appendRow(1,new SimpleDumpData("FTPPath"),new SimpleDumpData(toString()));
    return table;
    }
View Full Code Here


    DumpProperties properties=new DumpProperties((int)maxLevel,setShow,setHide,(int)keys,metainfo,showUDFs);
    DumpData dd = DumpUtil.toDumpData(object, pc,(int)maxLevel,properties);
   
    if(!StringUtil.isEmpty(label)) {
      DumpTable table=new DumpTable("#ffffff","#cccccc","#000000");
      table.appendRow(1,new SimpleDumpData(label));
      table.appendRow(0,dd);
      dd=table;
    }
    RefBoolean hasReference=new RefBooleanImpl(false);
    Struct sct = toStruct(dd,object,hasReference);
View Full Code Here

  private static Struct toStruct(DumpData dd, Object object, RefBoolean hasReference) {
    DumpTable table;
    if(dd instanceof DumpTable) table=(DumpTable) dd;
    else {
      if(dd==null) dd= new SimpleDumpData("null");
      table=new DumpTable("#ffffff","#cccccc","#000000");
      table.appendRow(1,dd);
    }
    return toCFML(table,object,hasReference);
  }
View Full Code Here

  }
 
 
  private static Object toCFML(DumpData dd, Object object, RefBoolean hasReference) {
    if(dd instanceof DumpTable)return toCFML((DumpTable) dd,object,hasReference);
    if(dd==null) return new SimpleDumpData("null");
    return dd.toString();
  }
View Full Code Here

  @Override
  public DumpData toDumpData(PageContext pageContext, int maxlevel, DumpProperties dp) {
    String str=castToString("");
        DumpTable table=new DumpTable("date","#ff9900","#ffcc00","#000000");
        table.appendRow(1, new SimpleDumpData("Time"), new SimpleDumpData(str));
        return table;
    }
View Full Code Here

  @Override
  public DumpData toDumpData(PageContext pageContext, int maxlevel, DumpProperties dp) {
    String str=castToString(pageContext.getTimeZone());
        DumpTable table=new DumpTable("date","#ff6600","#ffcc99","#000000");
        if(dp.getMetainfo())
          table.appendRow(1, new SimpleDumpData("Date Time ("+pageContext.getTimeZone().getID()+")"));
        else
          table.appendRow(1, new SimpleDumpData("Date Time"));
        table.appendRow(0, new SimpleDumpData(str));
        return table;
  }
View Full Code Here

      Object o=null;
      try {
        o = getE(i);
      }
      catch (Exception e) {}
      table.appendRow(1,new SimpleDumpData(i),DumpUtil.toDumpData(o, pageContext,maxlevel,dp));
    }
    return table;
  }
View Full Code Here

  }

  @Override
  public DumpData toDumpData(PageContext pageContext, int maxlevel, DumpProperties dp) {
    DumpTable table=new DumpTable("timespan","#ff9900","#ffcc00","#000000");
    if(milli>0)table.appendRow(1, new SimpleDumpData("Timespan"), new SimpleDumpData("createTimeSpan("+day+","+hour+","+minute+","+second+","+milli+")"));
    else table.appendRow(1, new SimpleDumpData("Timespan"), new SimpleDumpData("createTimeSpan("+day+","+hour+","+minute+","+second+")"));
   
   
   
    return table;
  }
View Full Code Here

    @Override
  public DumpData toDumpData(PageContext pageContext, int maxlevel, DumpProperties dp) {
    String str=castToString("");
        DumpTable table=new DumpTable("date","#ff9900","#ffcc00","#000000");
        table.appendRow(1, new SimpleDumpData("Date"), new SimpleDumpData(str));
        return table;
    }
View Full Code Here

  @Override
  public DumpData toDumpData(PageContext pageContext, int maxlevel, DumpProperties properties) {
    DumpTable table = new DumpTable("#669999","#ccffff","#000000");
    table.setTitle("UDFCacheEntry");
    table.appendRow(1,new SimpleDumpData("Return Value"),DumpUtil.toDumpData(returnValue, pageContext, maxlevel, properties));
    table.appendRow(1,new SimpleDumpData("Output"),DumpUtil.toDumpData(new SimpleDumpData(output), pageContext, maxlevel, properties));
    return table;
  }
View Full Code Here

TOP

Related Classes of railo.runtime.dump.SimpleDumpData

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.