Is it possible for Flash to "read" an HTML page?

Like, can Flash take an HTML page and “read” it’s contents? If not, is there any way for this to happen using, say, Java or something like that?