Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SCALA

scala get file from url as string

import scala.io.Source
val html = Source.fromURL("http://google.com")
val s = html.mkString
println(s)
Source by alvinalexander.com #
 
PREVIOUS NEXT
Tagged: #scala #file #url #string
ADD COMMENT
Topic
Name
4+7 =