Module java.base
modulejava.base
Defines the foundational APIs of the Java SE Platform.
- Providers:
- The JDK implementation of this module provides an implementation of thejrtfile system provider to enumerate and read the class and resource files in a run-time image. The jrt file system can be created by calling
FileSystems.getFileSystem(URI.create("jrt:/")).
- Module Graph:
- Tool Guides:
- java launcher,keytool
- Since:
- 9
Packages
ExportsPackageDescriptionProvides for system input and output through data streams,serialization and the file system.Provides classes that are fundamental to the design of the Javaprogramming language.Provides library support for the Java programming languageannotation facility.Provides classfile parsing, generation, and transformation library.Provides interfaces describingclassfile attributes for thejava.lang.classfilelibrary.Provides interfaces describing constant pool entries for thejava.lang.classfilelibrary.Provides interfaces describing code instructions for thejava.lang.classfilelibrary.Classes and interfaces to representnominal descriptors for run-timeentities such as classes or method handles, and classfile entities such asconstant pool entries orinvokedynamiccall sites.Provides low-level access to memory and functions outside the Java runtime.Thejava.lang.invokepackage provides low-level primitives for interactingwith the Java Virtual Machine.Classes to support module descriptors and creating configurations of modulesby means of resolution and service binding.Provides reference-object classes, which support a limited degreeof interaction with the garbage collector.Provides classes and interfaces for obtaining reflective information aboutclasses and objects.Thejava.lang.runtimepackage provides low-level runtime supportfor the Java language.Provides classes for performing arbitrary-precision integerarithmetic (BigInteger) and arbitrary-precision decimalarithmetic (BigDecimal).Provides the classes for implementing networking applications.Service-provider classes for thejava.netpackage.Defines buffers, which are containers for data, and provides anoverview of the other NIO packages.Defines channels, which represent connections to entities that are capable ofperforming I/O operations, such as files and sockets; defines selectors, formultiplexed, non-blocking I/O operations.Service-provider classes for thejava.nio.channelspackage.Defines charsets, decoders, and encoders, for translating betweenbytes and Unicode characters.Service-provider classes for thejava.nio.charsetpackage.Defines interfaces and classes for the Java virtual machine to access files,file attributes, and file systems.Interfaces and classes providing access to file and file system attributes.Service-provider classes for thejava.nio.filepackage.Provides the classes and interfaces for the security framework.Provides classes and interfaces for parsing and managingcertificates, certificate revocation lists (CRLs), andcertification paths.Provides interfaces for generating RSA (Rivest, Shamir andAdleman AsymmetricCipher algorithm)keys as defined in the RSA Laboratory Technical NotePKCS#1, and DSA (Digital SignatureAlgorithm) keys as defined in NIST's FIPS-186.Provides classes and interfaces for key specifications and algorithmparameter specifications.Provides classes and interfaces for handling text, dates, numbers,and messages in a manner independent of natural languages.Service provider classes for the classes in the java.text package.The main API for dates, times, instants, and durations.Generic API for calendar systems other than the default ISO.Provides classes to print and parse dates and times.Access to date and time using fields and units, and date time adjusters.Support for time-zones and their rules.Contains the collections framework, some internationalization support classes,a service loader, properties, random number generation, string parsingand scanning classes, base64 encoding and decoding, a bit array, andseveral miscellaneous utility classes.Utility classes commonly useful in concurrent programming.A small toolkit of classes that support lock-free thread-safeprogramming on single variables.Interfaces and classes providing a framework for locking and waitingfor conditions that is distinct from built-in synchronization andmonitors.Functional interfaces provide target types for lambda expressionsand method references.Provides classes for reading and writing the JAR (Java ARchive)file format, which is based on the standard ZIP file format with anoptional manifest file.This package contains classes and interfaces that support a generic APIfor random number generation.Classes for matching character sequences against patterns specifiedby regular expressions.Service provider classes for the classes in the java.util package.Classes to support functional-style operations on streams of elements, suchas map-reduce transformations on collections.Provides classes for reading and writing the standard ZIP and GZIP fileformats.Provides the classes and interfaces for cryptographicoperations.Provides interfaces for Diffie-Hellman keys as defined in RSALaboratories' PKCS #3.Provides classes and interfaces for key specifications andalgorithm parameter specifications.Provides classes for networking applications.Provides classes for the secure socket package.This package provides a framework for authentication andauthorization.This package provides the classes necessary for servicesto interact with applications in order to retrieveinformation (authentication data including usernamesor passwords, for example) or to display information(error and warning messages, for example).This package provides a pluggable authentication framework.This package provides the interface to be used forimplementing pluggable authentication modules.This package contains the classes that should be used to storeX500 Principal and X500 Private Credentials in aSubject.Provides classes for public key certificates.Services
ProvidesUsesTypeDescriptionAn abstract implementation of a calendar system, used to organize and identify dates.Service-provider class for asynchronous channels.An abstract class for service providers thatprovide concrete implementations of theBreakIteratorclass.An abstract class for service providers that provide locale-dependentCalendarparameters.An abstract class for service providers that provide localized stringrepresentations (display names) ofCalendarfield values.Charset service-provider class.A calendar system, used to organize and identify dates.An abstract class for service providers thatprovide concrete implementations of theCollatorclass.This interface defines a factory for content handlers.An abstract class for service providers thatprovide localized currency symbols and display names for theCurrencyclass.An abstract class for service providers thatprovide concrete implementations of theDateFormatclass.An abstract class for service providers thatprovide instances of theDateFormatSymbolsclass.An abstract class for service providers thatprovide instances of theDecimalFormatSymbolsclass.Service-provider class for file systems.A file type detector for probing a file to guess its file type.An abstract class for service providers thatprovide localized names for theLocaleclass.Service-provider interface for authentication technology providers.An abstract class for service providers thatprovide concrete implementations of theNumberFormatclass.This class represents a "provider" for theJava Security API, where a provider implements some or all parts ofJava Security.An interface for service providers that provide implementations ofResourceBundle.Control.ResourceBundleProvideris a service provider interface forresource bundles.Service-provider class for selectors and selectable channels.TheLoggerFinderservice is responsible for creating, managing,and configuring loggers to the underlying framework it uses.An abstract class for service providers thatprovide localized time zone names for theTimeZoneclass.An interface for command-line tools to provide a way tobe invoked without necessarily starting a new VM.URL stream handler service-provider class.Provider of time-zone rules to the system.