Java Utililty Methods HTML Create

List of utility methods to do HTML Create

  1. HOME
  2. Java
  3. H
  4. HTML Create

Description

The list of methods to do HTML Create are organized into topic(s).

Method

void bold()
bold
if (isColored) {
 System.out.print("\u001b[1m");
String bold(String s)
bold
return surround(s, "b");
String bold(String str)
bold
return "<b>" + textToHtml(str) + "</b>";
String bold(String text)
Format text
return "<b>" + text + "</b>";
String bold(String text)
bold
return new StringBuffer().append("<b>").append(text).append("</b>").toString();
String boldenRefOrType(String label)
If the label contains ref= or type= the substring containing the named portion of the attribute will be surrounded with html bold tags e.g., input param return
int it = label.indexOf(" type"); 
if (it < 0) {
 it = label.indexOf(" ref"); 
if (it < 0) {
 return label;
int iq1 = label.indexOf('"', it);
...
String boldHTML(String input)
Return string enclosed in HTML bold tags
return "<b>" + input + "</b>";
String boldIf(String str, boolean bold)
Makes a string bold if condition bold is true.
if (bold) {
 return bold(str);
} else {
 return str;
String italics(String inner)
_more_
return tag(TAG_I, "", inner);


AltStyle によって変換されたページ (->オリジナル) /