| FazBrowse Wikipedia Viewer | Main Page | | |
| Viewing: https://en.wikipedia.org/wiki/Java_SE |
| Contents |
|---|
| Streams |
| Random access |
| java.nio |
| java.math |
| Special purpose packages |
| java.applet |
| java.beans |
| java.awt |
| java.rmi |
| java.security |
| org.omg |
| org.omg.CORBA |
| Player software | Java |
|---|---|
| Programming language(s) | Java |
| Application(s) | Embedded systems, mobile devices |
| Status | Active |
| License | Proprietary licence by Oracle |
| Website | www.oracle.com/java/technologies/java-se-glance.html |
| Java platform editions | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||
| java.lang.Object – the class that is the root of every class hierarchy.
Each of these reference types extends the clear() method to clear the reference. The java.lang.ref also defines the class java.lang.Package accommodate applications such as debuggers, interpreters, object inspectors, class browsers, and services such as object serialization and JavaBeans that need access to either the public members of a target object (based on its runtime class) or the members declared by a given class. This package was added in JDK 1.1. Reflection is used to instantiate classes and invoke methods using their names, a concept that allows for dynamic programming. Classes, interfaces, methods, fields, and constructors can all be discovered and used at runtime. Reflection is supported by metadata that the JVM has about the program. TechniqueseditThere are basic techniques involved in reflection:
DiscoveryeditDiscovery typically starts with an object and calling the java.lang.reflect.Method objects representing all the public methods of the class or interface StreamseditThe stream classes follow the decorator pattern by extending the base subclass to add features to the stream classes. Subclasses of the base stream classes are typically named for one of the following attributes:
The stream subclasses are named using the naming pattern XxxStreamType where Xxx is the name describing the feature and StreamType is one of java.io.InputStream, java.io.OutputStream, java.io.Reader, or java.io.Writer. The following table shows the sources/destinations supported directly by the java.io package:
Other standard library packages provide stream implementations for other destinations, such as the java.io.InputStream returned by the java.io.FilterInputStream, java.io.FilterWriter. The java.io.Reader and java.io.Writer classes are really just byte streams with additional processing performed on the data stream to convert the bytes to characters. They use the default character encoding for the platform, which as of J2SE 5.0 is represented by the java.io.InputStreamReader class converts an InputStream to a java.io.Reader and the java.io.BufferedInputStream, java.io.BufferedWriter | ||||||||||||||||
| "push back" last value read | java.io.PushbackReader | |||||||||||||||
| read/write primitive types | java.io.DataOutputStream | |||||||||||||||
| object serialization (read/write objects) | java.io.ObjectOutputStream |
The skipBytes(int) methods. The current position of the file pointer is returned by the java.io.FileDescriptor class is a file descriptor that represents a source or sink (destination) of bytes. Typically this is a file, but can also be a console or network socket. java.io.FileDescriptor objects are used to create java.io.File streams. They are obtained from java.io.File streams and java.net sockets and datagram sockets.
In J2SE 1.4, the package java.nio.channels provides support for channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets. The java.nio.channels package also provides support for fine-grained locking of files.
The java.math.BigInteger – provides arbitrary-precision integers. Operations on java.math.BigInteger do not overflow or lose precision. In addition to standard arithmetic operations, it provides modular arithmetic, GCD calculation, primality testing, prime number generation, bit manipulation, and other miscellaneous operations.
Because Java applets are now deprecated, this package is itself deprecated.
The APIs in java.beans are intended for use by a bean editing tool, in which beans can be combined, customized, and manipulated. One type of bean editor is a GUI designer in an integrated development environment.
Support for security, including the message digest algorithm, is included in the
An implementation of the JDBC API (used to access SQL databases) is grouped into the
The
Swing is a collection of routines that build on java.awt to provide a platform independent widget toolkit. org.xml.sax packages provide interfaces for the Simple API for XML (SAX).
| View original on Wikipedia | Back | FazBrowse Home |