O'Reilly logo

Rich Client Programming: Plugging into the NetBeans Platform by Geertjan Wielenga, Jaroslav Tulach, Tim Boudreau

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter TenDataObjects and DataLoaders

In Chapter 6 we covered the Filesystems API. That API duplicates some part of the capabilities of java.io.File.FileObjects represent files on disk and provide input and output streams from them. The Filesystems API extends the concept of “files” by not requiring the things it considers to be “files” to be files on disk—they may be entries in a JAR file, or files on an FTP server, or any other kind of hierarchical, data-bearing storage someone might choose to create. Figure 10.1 shows the role of FileObjects in NetBeans’ overall internal model of files and their contents.

Figure 10.1. The roles of FileObjects, DataObjects, and Nodes

We have extended the concept of “files” to mean anything that is hierarchical ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required