PlainTextProgressMessageFormatter.java revision dab8b8e08fb8dfb1bccccb9164d925adb32e5cb8
3980N/A * The contents of this file are subject to the terms of the 3980N/A * Common Development and Distribution License, Version 1.0 only 3980N/A * (the "License"). You may not use this file except in compliance * You can obtain a copy of the license at * See the License for the specific language governing permissions * and limitations under the License. * When distributing Covered Code, include this CDDL HEADER in each * file and include the License file at * add the following below this CDDL HEADER, with the fields enclosed * by brackets "[]" replaced with your own identifying information: * Portions Copyright [yyyy] [name of copyright owner] * Portions Copyright 2006-2007 Sun Microsystems, Inc. * This is an implementation of the ProgressMessageFormatter class that * provides format in plain text. * The space in plain text. * Returns the text representation of the text without providing any style. * @param text the source text from which we want to get the text * @return the text representation for the given text. * Returns the plain text representation of the text that is the summary of * the installation process (the one that goes in the UI next to the progress * @param text the source text from which we want to get the formatted * @return the text representation of the summary for the given text. * Returns the plain text representation of an error for a given text. * @param text the source text from which we want to get the plain text * @param applyMargin specifies whether we apply a margin or not to the * resulting formatted text. * @return the plain text representation of an error for the given text. * Returns the plain text representation of a warning for a given text. * @param text the source text from which we want to get the plain text * @param applyMargin specifies whether we apply a margin or not to the * resulting formatted text. * @return the plain text representation of a warning for the given text. * Returns the plain text representation of a success message for a given * @param text the source text from which we want to get the plain text * @return the plain text representation of a success message for the given * Returns the plain text representation of a log error message for a given * @param text the source text from which we want to get the plain text * @return the plain text representation of a log error message for the given * Returns the plain text representation of a log message for a given text. * @param text the source text from which we want to get the plain text * @return the plain text representation of a log message for the given text. * Returns the plain text representation of the 'Done' text string. * @return the plain text representation of the 'Done' text string. * Returns the plain text representation of the 'Error' text string. * @return the plain text representation of the 'Error' text string. * Returns the plain text representation of the argument text to which we add * points. For instance if we pass as argument 'Configuring Server' the * return value will be 'Configuring Server .....'. * @param text the String to which add points. * @return the plain text representation of the '.....' text string. * Returns the formatted representation of a progress message for a given * @param text the source text from which we want to get the formatted * @return the formatted representation of a progress message for the given * Returns the plain text representation of an error message for a given * This method applies a margin if the applyMargin parameter is * @param t the exception. * @param applyMargin specifies whether we apply a margin or not to the * @return the plain text representation of an error message for the given * Returns the line break in plain text. * @return the line break in plain text. * Returns the tab in plain text. * @return the tab in plain text. * Returns the task separator in plain text. * @return the task separator in plain text. "-----------------------------------------------------------------"+
"PlainTextProgressMessageFormatter.getFormattedAfterUrlClick must not "+