/** * Prints a String with line break to the report, using the indicated formatting.<p> * * Use the constants starting with <code>C_FORMAT</code> from this interface * to indicate which formatting to use.<p> * * @param value the String to add * @param format the formatting to use for the output */ protected void println(String value, int format) { print(value, format); println(); }
/** * @see org.opencms.report.I_CmsReport#printMessageWithParam(int,int,org.opencms.i18n.CmsMessageContainer,Object) */ public void printMessageWithParam(int m, int n, CmsMessageContainer container, Object param) { print( Messages.get().container(Messages.RPT_SUCCESSION_2, String.valueOf(m), String.valueOf(n)), I_CmsReport.FORMAT_NOTE); printMessageWithParam(container, param); }
/** * Prints a String to the report.<p> * * @param value the String to add */ protected void print(String value) { print(value, FORMAT_DEFAULT); }
/** * Prints a String with line break to the report.<p> * * @param value the message container to add */ protected void println(String value) { println(value, FORMAT_DEFAULT); }
/** * @see org.opencms.report.I_CmsReport#formatRuntime() */ public String formatRuntime() { return CmsStringUtil.formatRuntime(getRuntime()); }
/** * @see org.opencms.report.A_CmsReport#getLastEntryTime() */ @Override public long getLastEntryTime() { if (m_delegates.isEmpty()) { return 0; } return m_delegates.get(0).getLastEntryTime(); }
/** * @see org.opencms.report.I_CmsReport#printMessageWithParam(int,int,org.opencms.i18n.CmsMessageContainer,Object) */ public void printMessageWithParam(int m, int n, CmsMessageContainer container, Object param) { print( Messages.get().container(Messages.RPT_SUCCESSION_2, String.valueOf(m), String.valueOf(n)), I_CmsReport.FORMAT_NOTE); printMessageWithParam(container, param); }
/** * Prints a String to the report.<p> * * @param value the String to add */ protected void print(String value) { print(value, FORMAT_DEFAULT); }
/** * Prints a String with line break to the report.<p> * * @param value the message container to add */ protected void println(String value) { println(value, FORMAT_DEFAULT); }
/** * @see org.opencms.report.I_CmsReport#formatRuntime() */ public String formatRuntime() { return CmsStringUtil.formatRuntime(getRuntime()); }
/** * Prints a String with line break to the report, using the indicated formatting.<p> * * Use the contants starting with <code>C_FORMAT</code> from this interface * to indicate which formatting to use.<p> * * @param value the String to add * @param format the formatting to use for the output */ protected void println(String value, int format) { print(value, format); println(); }
/** * @see org.opencms.report.I_CmsReport#printMessageWithParam(org.opencms.i18n.CmsMessageContainer,Object) */ public void printMessageWithParam(CmsMessageContainer container, Object param) { print(container, I_CmsReport.FORMAT_NOTE); print(Messages.get().container(Messages.RPT_ARGUMENT_1, param)); print(Messages.get().container(Messages.RPT_DOTS_0)); }