public class Html extends Object
Modifier and Type | Field and Description |
---|---|
static String[] |
ALIGN |
static String |
BR |
static int |
CENTER |
static int |
LEFT |
static String |
NBSP |
static String |
P |
static String |
Q |
static int |
RIGHT |
protected StringBuilder |
sb |
static String |
SP |
static String |
validChars |
Constructor and Description |
---|
Html(int bufSize) |
Html(StringBuilder sb) |
Modifier and Type | Method and Description |
---|---|
Html |
append(String str) |
Html |
appendParagraphs(String source) |
Html |
bold(String text) |
Html |
br() |
static String |
decode(String src) |
Html |
doubleCell(String tx1,
boolean b1,
String tx2,
boolean b2) |
static String |
encode(String src) |
static String |
getHtmlDoc(String content,
String bgColor) |
Html |
linkTo(String url,
String text) |
Html |
mailTo(String mail,
boolean parenthesis) |
Html |
nbsp() |
Html |
p() |
static void |
processParamsLine(String txt,
Map<String,String> map,
char sep,
char equalSign) |
static String |
quote(String txt) |
Html |
sp() |
static String |
table(String content,
String width,
int border,
int cellPadding,
int cellSpacing,
String style,
boolean simpleCell) |
Html |
td(boolean init) |
Html |
td(String text) |
Html |
td(String text,
boolean bld) |
Html |
td(String text,
int align,
boolean bold,
String tdParams) |
String |
toString() |
Html |
tr(boolean init) |
static void |
writeScriptConfirm(PrintStream pOut) |
public static final String SP
public static final String NBSP
public static final String BR
public static final String P
public static final String Q
public static final int LEFT
public static final int CENTER
public static final int RIGHT
public static final String[] ALIGN
protected StringBuilder sb
public static final String validChars
public Html(int bufSize)
public Html(StringBuilder sb)
public Html td(boolean init)
public Html tr(boolean init)
public Html br()
public Html p()
public Html sp()
public Html nbsp()
public static String table(String content, String width, int border, int cellPadding, int cellSpacing, String style, boolean simpleCell)
public static void processParamsLine(String txt, Map<String,String> map, char sep, char equalSign)
public static void writeScriptConfirm(PrintStream pOut)
Copyright © 2004-15 Francesc Busquets (fbusquets@xtec.cat) & Departament d'Educació de la Generalitat de Catalunya (info@xtec.cat)
Licensed under the terms of the GNU General Public License.