具体的なURL
にN
行(改行で始まるHTMLテキストコンテンツ)を取得したいと考えています。 www.sitename.com
とし、アレイにstrings
として格納します。ウェブサイトの行を取得するためのJava URLライブラリ
public void grabLines(){
//create instance of class from imported library
//pass sitename into it
//from the instance, call a method for grabbing the lines on the site and pass in "N" as a parameter
//the method returns an array/list of N Strings that I can access later
}
よう
何かが私はこれを行うためにインポートすることができ、ネイティブJavaライブラリはありますか?それは私が私が簡単にしたいことをすることができますか?
ありがとうございました
サイト上の線は何ですか? – Sjoerd
あなたは、HTMLコンテンツの行を意味しますか? URL自体の一部ではない? – Bozho
テキスト行...別々の行から始まる文章@Bozhoはい私はHTMLコンテンツの行を意味します。 – algorithmicCoder