--------------------------------------------------------------------------------------------------------------------
public List<Element> getHtmlToText(String sourceUrlString) {
Source source ;
List<Element> temp ;
try {
source = new Source(new URL(sourceUrlString));
temp = source.getAllElements(HTMLElementName.TABLE);
.
.
.
.
public List<Element> getHtmlToText2(String sourceUrlString) {
Source source = null ;
List<Element> temp = null;
try {
source = new Source(new URL(sourceUrlString));
temp = source.getAllElements(HTMLElementName.TABLE);
int i=0;
} catch (MalformedURLException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
return temp;
}
에러이유>>HTMLElementName cannot be resolved
에러이유>>Cannot instantiate the type source
--------------------------------------------------------------------------------------------------------------------------------------------------------------
html파싱을 하는데서 오류가 생겨서요ㅠ
이게 도대체 왜 안잡히는지 모르겠어요ㅠㅠㅠ
http://www.smu.ac.kr/Common/MessageBoard/ArticleList.do?forum=11404&menuId=1337&sitePath=smu
이 페이지를 파싱하는거예요 ~