Java Reference
In-Depth Information
package java.io.file-Summary of the most important classes and interfaces
class Paths
The Paths class provides get methods to return concrete instances of the
Path interface.
class Files
Files is a class that provides static methods to query attributes of files and
directories (folders), as well as to manipulate the file system—e.g., creating
directories and changing file permissions. It also includes methods for opening
files, such as newBufferedReader .
K.4
The java.net package
The java.net package contains classes and interfaces supporting networked applications.
Most of these are outside the scope of this topic.
package java.net-Summary of the most important classes
class URL
The URL class represents a Uniform Resource Locator. In other words, it provides
a way to describe the location of something on the Internet. In fact, it can also
be used to describe the location of something on a local file system. We have in-
cluded it here because classes from the java.io and javax.swing packages
often use URL objects. Key methods are getContent , getFile , getHost ,
getPath , and openStream .
K.5
Other important packages
Other important packages are:
java.awt
java.awt.event
javax.swing
javax.swing.event
These are used extensively when writing graphical user interfaces (GUIs), and they contain
many useful classes that a GUI programmer should become familiar with.
Search WWH ::




Custom Search