Chapter 18. Data Input


“A million monkeys were given a million typewriters. It’s called the Internet.

 --Simon Munnery

In this chapter:

  • Manipulating Strings.

  • Reading and writing text files.

  • HTTP requests, parsing HTML.

  • XML, RSS feeds.

  • The Yahoo search API.

  • The applet sandbox.

This chapter will move beyond displaying text and examine how to use String objects as the basis for reading and writing data. We will start by learning more sophisticated methods for manipulating Strings, searching in them, chopping them up, and joining them together. Afterward, we will see how these skills allow us to use input from data sources, such as text files, web pages, xml feeds, and third party APIs, and take a step into the world of data visualization.

Manipulating Strings ...

Get Learning Processing now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.