public class OAHtml extends Object
Modifier and Type | Method and Description |
---|---|
int |
getLength() |
String |
getText() |
void |
insert(String text,
int pos)
Insert a string at a given position.
|
int |
length() |
static void |
main(String[] args) |
void |
setText(String htmlText)
Set html text
|
String |
substring(int beginPos,
int endPos) |
public OAHtml()
public OAHtml(String htmlText)
public void setText(String htmlText)
public int getLength()
public int length()
public String getText()
public void insert(String text, int pos)
text
- text to insert, should not include tags.pos
- public String substring(int beginPos, int endPos)
Copyright © 1999–2019 ViaOA. All rights reserved.