Uses of Class
java.net.URL
-
Packages that use URL Package Description java.applet Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context.java.awt Contains all of the classes for creating user interfaces and for painting graphics and images.java.beans.beancontext Provides classes and interfaces relating to bean context.java.io Provides for system input and output through data streams, serialization and the file system.java.lang Provides classes that are fundamental to the design of the Java programming language.java.net Provides the classes for implementing networking applications.java.rmi.server Provides classes and interfaces for supporting the server side of RMI.java.security Provides the classes and interfaces for the security framework.java.sql Provides the API for accessing and processing data stored in a data source (usually a relational database) using the Java™ programming language.javafx.css Provides API for making properties styleable via CSS and for supporting pseudo-class state.javafx.fxml Contains classes for loading an object hierarchy from markup.javax.activation javax.imageio The main package of the Java Image I/O API.javax.jnlp The JNLP API is designed to provide additional services to JNLP applications running in the Java Plugin or launched by Java Web Start.javax.management.loading Provides the classes which implement advanced dynamic loading.javax.net.ssl Provides classes for the secure socket package.javax.sound.midi Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI (Musical Instrument Digital Interface) data.javax.sound.midi.spi Supplies interfaces for service providers to implement when offering new MIDI devices, MIDI file readers and writers, or sound bank readers.javax.sound.sampled Provides interfaces and classes for capture, processing, and playback of sampled audio data.javax.sound.sampled.spi Supplies abstract classes for service providers to subclass when offering new audio devices, sound file readers and writers, or audio format converters.javax.sql Provides the API for server side data source access and processing from the Java™ programming language.javax.sql.rowset Standard interfaces and base classes for JDBCRowSetimplementations.javax.sql.rowset.serial Provides utility classes to allow serializable mappings between SQL types and data types in the Java programming language.javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.javax.swing.event Provides for events fired by Swing components.javax.swing.plaf.synth Synth is a skinnable look and feel in which all painting is delegated.javax.swing.text.html Provides the classHTMLEditorKitand supporting classes for creating HTML text editors.javax.xml.bind Provides a runtime binding framework for client applications including unmarshalling, marshalling, and validation capabilities.javax.xml.bind.helpers JAXB Provider Use Only: Provides partial default implementations for some of thejavax.xml.bindinterfaces.javax.xml.validation Provides an API for validation of XML documents.javax.xml.ws This package contains the core JAX-WS APIs.javax.xml.ws.spi This package defines SPIs for JAX-WS.jdk.nashorn.api.scripting This package provides thejavax.scriptintegration, which is the preferred way to use Nashorn.jdk.nashorn.api.tree Nashorn parser API provides interfaces to represent ECMAScript source code as abstract syntax trees (AST) and Parser to parse ECMAScript source scripts. -
-
Uses of URL in java.applet
Methods in java.applet that return URL Modifier and Type Method Description URLApplet. getCodeBase()Deprecated.Gets the base URL.URLAppletStub. getCodeBase()Deprecated.Gets the base URL.URLApplet. getDocumentBase()Deprecated.Gets the URL of the document in which this applet is embedded.URLAppletStub. getDocumentBase()Deprecated.Gets the URL of the document in which the applet is embedded.Methods in java.applet with parameters of type URL Modifier and Type Method Description AudioClipApplet. getAudioClip(URL url)Deprecated.Returns theAudioClipobject specified by theURLargument.AudioClipApplet. getAudioClip(URL url, String name)Deprecated.Returns theAudioClipobject specified by theURLandnamearguments.AudioClipAppletContext. getAudioClip(URL url)Deprecated.Creates an audio clip.ImageApplet. getImage(URL url)Deprecated.Returns anImageobject that can then be painted on the screen.ImageApplet. getImage(URL url, String name)Deprecated.Returns anImageobject that can then be painted on the screen.ImageAppletContext. getImage(URL url)Deprecated.Returns anImageobject that can then be painted on the screen.static AudioClipApplet. newAudioClip(URL url)Deprecated.Get an audio clip from the given URL.voidApplet. play(URL url)Deprecated.Plays the audio clip at the specified absolute URL.voidApplet. play(URL url, String name)Deprecated.Plays the audio clip given the URL and a specifier that is relative to it.voidAppletContext. showDocument(URL url)Deprecated.Requests that the browser or applet viewer show the Web page indicated by theurlargument.voidAppletContext. showDocument(URL url, String target)Deprecated.Requests that the browser or applet viewer show the Web page indicated by theurlargument. -
Uses of URL in java.awt
Methods in java.awt that return URL Modifier and Type Method Description URLSplashScreen. getImageURL()Returns the current splash screen image.Methods in java.awt with parameters of type URL Modifier and Type Method Description abstract ImageToolkit. createImage(URL url)Returns an image which gets pixel data from the specified URL.abstract ImageToolkit. getImage(URL url)Returns an image which gets pixel data from the specified URL.voidSplashScreen. setImageURL(URL imageURL)Changes the splash screen image. -
Uses of URL in java.beans.beancontext
Methods in java.beans.beancontext that return URL Modifier and Type Method Description URLBeanContext. getResource(String name, BeanContextChild bcc)Analagous tojava.lang.ClassLoader.getResource(), this method allows aBeanContextimplementation to interpose behavior between the childComponentand underlyingClassLoader.URLBeanContextSupport. getResource(String name, BeanContextChild bcc) -
Uses of URL in java.io
Methods in java.io that return URL Modifier and Type Method Description URLFile. toURL() -
Uses of URL in java.lang
Methods in java.lang that return URL Modifier and Type Method Description protected URLClassLoader. findResource(String name)Finds the resource with the given name.protected URLClassLoader. findResource(String moduleName, String name)Returns a URL to a resource in a module defined to this class loader.URLClass. getResource(String name)Finds a resource with a given name.URLClassLoader. getResource(String name)Finds the resource with the given name.static URLClassLoader. getSystemResource(String name)Find a resource of the specified name from the search path used to load classes.Methods in java.lang that return types with arguments of type URL Modifier and Type Method Description protected Enumeration<URL>ClassLoader. findResources(String name)Returns an enumeration ofURLobjects representing all the resources with the given name.Enumeration<URL>ClassLoader. getResources(String name)Finds all the resources with the given name.static Enumeration<URL>ClassLoader. getSystemResources(String name)Finds all resources of the specified name from the search path used to load classes.Stream<URL>ClassLoader. resources(String name)Returns a stream whose elements are the URLs of all the resources with the given name.Methods in java.lang with parameters of type URL Modifier and Type Method Description protected PackageClassLoader. definePackage(String name, String specTitle, String specVersion, String specVendor, String implTitle, String implVersion, String implVendor, URL sealBase)Defines a package by name in thisClassLoader.booleanPackage. isSealed(URL url)Returns true if this package is sealed with respect to the specified code sourceurl. -
Uses of URL in java.net
Fields in java.net declared as URL Modifier and Type Field Description protected URLURLConnection. urlThe URL represents the remote object on the World Wide Web to which this connection is opened.Methods in java.net that return URL Modifier and Type Method Description URLURLClassLoader. findResource(String name)Finds the resource with the specified name on the URL search path.URLJarURLConnection. getJarFileURL()Returns the URL for the Jar file for this connection.protected URLAuthenticator. getRequestingURL()Returns the URL that resulted in this request for authentication.URLURLConnection. getURL()Returns the value of thisURLConnection'sURLfield.URL[]URLClassLoader. getURLs()Returns the search path of URLs for loading classes and resources.URLURI. toURL()Constructs a URL from this URI.Methods in java.net that return types with arguments of type URL Modifier and Type Method Description Enumeration<URL>URLClassLoader. findResources(String name)Returns an Enumeration of URLs representing all of the resources on the URL search path having the specified name.Methods in java.net with parameters of type URL Modifier and Type Method Description protected voidURLClassLoader. addURL(URL url)Appends the specified URL to the list of URLs to search for classes and resources.protected PackageURLClassLoader. definePackage(String name, Manifest man, URL url)Defines a new package by name in thisURLClassLoader.protected booleanURLStreamHandler. equals(URL u1, URL u2)Provides the default equals calculation.protected InetAddressURLStreamHandler. getHostAddress(URL u)Get the IP address of our host.protected intURLStreamHandler. hashCode(URL u)Provides the default hash calculation.protected booleanURLStreamHandler. hostsEqual(URL u1, URL u2)Compares the host components of two URLs.static URLClassLoaderURLClassLoader. newInstance(URL[] urls)Creates a new instance of URLClassLoader for the specified URLs and default parent class loader.static URLClassLoaderURLClassLoader. newInstance(URL[] urls, ClassLoader parent)Creates a new instance of URLClassLoader for the specified URLs and parent class loader.protected abstract URLConnectionURLStreamHandler. openConnection(URL u)Opens a connection to the object referenced by theURLargument.protected URLConnectionURLStreamHandler. openConnection(URL u, Proxy p)Same as openConnection(URL), except that the connection will be made through the specified proxy; Protocol handlers that do not support proxying will ignore the proxy parameter and make a normal connection.protected voidURLStreamHandler. parseURL(URL u, String spec, int start, int limit)Parses the string representation of aURLinto aURLobject.static PasswordAuthenticationAuthenticator. requestPasswordAuthentication(String host, InetAddress addr, int port, String protocol, String prompt, String scheme, URL url, Authenticator.RequestorType reqType)Ask the authenticator that has been registered with the system for a password.static PasswordAuthenticationAuthenticator. requestPasswordAuthentication(Authenticator authenticator, String host, InetAddress addr, int port, String protocol, String prompt, String scheme, URL url, Authenticator.RequestorType reqType)Ask the givenauthenticatorfor a password.PasswordAuthenticationAuthenticator. requestPasswordAuthenticationInstance(String host, InetAddress addr, int port, String protocol, String prompt, String scheme, URL url, Authenticator.RequestorType reqType)Ask this authenticator for a password.booleanURL. sameFile(URL other)Compares two URLs, excluding the fragment component.protected booleanURLStreamHandler. sameFile(URL u1, URL u2)Compare two urls to see whether they refer to the same file, i.e., having the same protocol, host, port, and path.protected voidURLStreamHandler. setURL(URL u, String protocol, String host, int port, String file, String ref)Deprecated.Use setURL(URL, String, String, int, String, String, String, String);protected voidURLStreamHandler. setURL(URL u, String protocol, String host, int port, String authority, String userInfo, String path, String query, String ref)Sets the fields of theURLargument to the indicated values.protected StringURLStreamHandler. toExternalForm(URL u)Converts aURLof a specific protocol to aString.Constructors in java.net with parameters of type URL Constructor Description HttpURLConnection(URL u)Constructor for the HttpURLConnection.JarURLConnection(URL url)Creates the new JarURLConnection to the specified URL.URL(URL context, String spec)Creates a URL by parsing the given spec within a specified context.URL(URL context, String spec, URLStreamHandler handler)Creates a URL by parsing the given spec with the specified handler within a specified context.URLClassLoader(String name, URL[] urls, ClassLoader parent)Constructs a new namedURLClassLoaderfor the specified URLs.URLClassLoader(String name, URL[] urls, ClassLoader parent, URLStreamHandlerFactory factory)Constructs a new namedURLClassLoaderfor the specified URLs, parent class loader, and URLStreamHandlerFactory.URLClassLoader(URL[] urls)Constructs a new URLClassLoader for the specified URLs using the default delegation parentClassLoader.URLClassLoader(URL[] urls, ClassLoader parent)Constructs a new URLClassLoader for the given URLs.URLClassLoader(URL[] urls, ClassLoader parent, URLStreamHandlerFactory factory)Constructs a new URLClassLoader for the specified URLs, parent class loader, and URLStreamHandlerFactory.URLConnection(URL url)Constructs a URL connection to the specified URL. -
Uses of URL in java.rmi.server
Methods in java.rmi.server with parameters of type URL Modifier and Type Method Description Class<?>LoaderHandler. loadClass(URL codebase, String name)Deprecated.no replacementstatic Class<?>RMIClassLoader. loadClass(URL codebase, String name)Loads a class from a codebase URL. -
Uses of URL in java.security
Methods in java.security that return URL Modifier and Type Method Description URLCodeSource. getLocation()Returns the location associated with this CodeSource.Constructors in java.security with parameters of type URL Constructor Description CodeSource(URL url, Certificate[] certs)Constructs a CodeSource and associates it with the specified location and set of certificates.CodeSource(URL url, CodeSigner[] signers)Constructs a CodeSource and associates it with the specified location and set of code signers. -
Uses of URL in java.sql
Methods in java.sql that return URL Modifier and Type Method Description URLCallableStatement. getURL(int parameterIndex)Retrieves the value of the designated JDBCDATALINKparameter as ajava.net.URLobject.URLCallableStatement. getURL(String parameterName)Retrieves the value of a JDBCDATALINKparameter as ajava.net.URLobject.URLResultSet. getURL(int columnIndex)Retrieves the value of the designated column in the current row of thisResultSetobject as ajava.net.URLobject in the Java programming language.URLResultSet. getURL(String columnLabel)Retrieves the value of the designated column in the current row of thisResultSetobject as ajava.net.URLobject in the Java programming language.URLSQLInput. readURL()Reads an SQLDATALINKvalue from the stream and returns it as ajava.net.URLobject in the Java programming language.Methods in java.sql with parameters of type URL Modifier and Type Method Description voidCallableStatement. setURL(String parameterName, URL val)Sets the designated parameter to the givenjava.net.URLobject.voidPreparedStatement. setURL(int parameterIndex, URL x)Sets the designated parameter to the givenjava.net.URLvalue.voidSQLOutput. writeURL(URL x)Writes a SQLDATALINKvalue to the stream. -
Uses of URL in javafx.css
Methods in javafx.css with parameters of type URL Modifier and Type Method Description static StylesheetStylesheet. loadBinary(URL url)Load a binary stylesheet file from a input stream.StylesheetCssParser. parse(URL url)Updates the given stylesheet by reading a CSS document from a URL, assuming UTF-8 encoding. -
Uses of URL in javafx.fxml
Methods in javafx.fxml that return URL Modifier and Type Method Description URLFXMLLoader. getLocation()Returns the location used to resolve relative path attribute values.Methods in javafx.fxml with parameters of type URL Modifier and Type Method Description voidInitializable. initialize(URL location, ResourceBundle resources)Called to initialize a controller after its root element has been completely processed.static <T> TFXMLLoader. load(URL location)Loads an object hierarchy from a FXML document.static <T> TFXMLLoader. load(URL location, ResourceBundle resources)Loads an object hierarchy from a FXML document.static <T> TFXMLLoader. load(URL location, ResourceBundle resources, BuilderFactory builderFactory)Loads an object hierarchy from a FXML document.static <T> TFXMLLoader. load(URL location, ResourceBundle resources, BuilderFactory builderFactory, Callback<Class<?>,Object> controllerFactory)Loads an object hierarchy from a FXML document.static <T> TFXMLLoader. load(URL location, ResourceBundle resources, BuilderFactory builderFactory, Callback<Class<?>,Object> controllerFactory, Charset charset)Loads an object hierarchy from a FXML document.voidFXMLLoader. setLocation(URL location)Sets the location used to resolve relative path attribute values.Constructors in javafx.fxml with parameters of type URL Constructor Description FXMLLoader(URL location)Creates a new FXMLLoader instance.FXMLLoader(URL location, ResourceBundle resources)Creates a new FXMLLoader instance.FXMLLoader(URL location, ResourceBundle resources, BuilderFactory builderFactory)Creates a new FXMLLoader instance.FXMLLoader(URL location, ResourceBundle resources, BuilderFactory builderFactory, Callback<Class<?>,Object> controllerFactory)Creates a new FXMLLoader instance.FXMLLoader(URL location, ResourceBundle resources, BuilderFactory builderFactory, Callback<Class<?>,Object> controllerFactory, Charset charset)Creates a new FXMLLoader instance.FXMLLoader(URL location, ResourceBundle resources, BuilderFactory builderFactory, Callback<Class<?>,Object> controllerFactory, Charset charset, LinkedList<FXMLLoader> loaders)Creates a new FXMLLoader instance. -
Uses of URL in javax.activation
Methods in javax.activation that return URL Modifier and Type Method Description URLURLDataSource. getURL()Return the URL used to create this DataSource.Constructors in javax.activation with parameters of type URL Constructor Description DataHandler(URL url)Create aDataHandlerinstance referencing a URL.URLDataSource(URL url)URLDataSource constructor. -
Uses of URL in javax.imageio
Methods in javax.imageio with parameters of type URL Modifier and Type Method Description static BufferedImageImageIO. read(URL input)Returns aBufferedImageas the result of decoding a suppliedURLwith anImageReaderchosen automatically from among those currently registered. -
Uses of URL in javax.jnlp
Methods in javax.jnlp that return URL Modifier and Type Method Description URLBasicService. getCodeBase()Returns the codebase for the application.URLExtensionInstallerService. getExtensionLocation()Returns the location of the extension being installedMethods in javax.jnlp with parameters of type URL Modifier and Type Method Description longPersistenceService. create(URL url, long maxsize)Creates a new persistent storage entry on the client side named with the given URL.voidPersistenceService. delete(URL url)Removes the stream associated with the given URL from the client-side date persistence store.voidDownloadServiceListener. downloadFailed(URL url, String version)A JNLP client'sDownloadServiceimplementation should call this method if a download fails or aborts unexpectedly.FileContentsPersistenceService. get(URL url)Returns aFileContentsobject representing the contents of this file.StringExtensionInstallerService. getInstalledJRE(URL url, String version)Returns the path to the executable for the given JRE.String[]PersistenceService. getNames(URL url)Returns an array of Strings containing the names of all the entries for a given URL.intPersistenceService. getTag(URL url)Returns anintcorresponding to the current value of the tag for the persistent data store entry associated with the given URL.booleanDownloadService. isExtensionPartCached(URL ref, String version, String part)Returnstrueif the given part of the given extension is cached, and the extension and part are mentioned in the JNLP file for the application.booleanDownloadService. isExtensionPartCached(URL ref, String version, String[] parts)Returnstrueif the given parts of the given extension are cached, and the extension and parts are mentioned in the JNLP file for the application.booleanDownloadService. isResourceCached(URL ref, String version)Returnstrueif the resource referred to by the given URL and version is cached, and that resource is either mentioned in the calling applications JNLP file, is within the codebase of the calling applications JNLP file, or the calling application has been granted all-permissions. .voidDownloadService. loadExtensionPart(URL ref, String version, String[] parts, DownloadServiceListener progress)Downloads the given parts of the given extension, if the parts and the extension are mentioned in the JNLP file for the application.voidDownloadService. loadExtensionPart(URL ref, String version, String part, DownloadServiceListener progress)Downloads the given part of the given extension, if the part and the extension are mentioned in the JNLP file for the application.voidDownloadService. loadResource(URL ref, String version, DownloadServiceListener progress)Downloads the given resource, if the resource is either mentioned in the calling applications JNLP file, is within the codebase of the calling applications JNLP file, or if the calling application has been granted all-permissions.voidDownloadServiceListener. progress(URL url, String version, long readSoFar, long total, int overallPercent)A JNLP client'sDownloadServiceimplementation should call this method several times during a download.voidDownloadService. removeExtensionPart(URL ref, String version, String part)Removes the given part of the given extension from the cache, if the part and the extension are mentioned in the JNLP file for the application.voidDownloadService. removeExtensionPart(URL ref, String version, String[] parts)Removes the given parts of the given extension from the cache, if the parts and the extension are mentioned in the JNLP file for the application.voidDownloadService. removeResource(URL ref, String version)Removes the given resource from the cache, if the resource is either mentioned in the calling applications JNLP file, is within the codebase of the calling applications JNLP file, or if the calling application has been granted all-permissions.voidPersistenceService. setTag(URL url, int tag)Tags the persistent data store entry associated with the given URL with the given tag value.booleanBasicService. showDocument(URL url)Directs a browser on the client to show the given URL.voidDownloadServiceListener. upgradingArchive(URL url, String version, int patchPercent, int overallPercent)A JNLP client'sDownloadServiceimplementation should call this method at least several times when applying an incremental update to an in-cache resource.voidDownloadServiceListener. validating(URL url, String version, long entry, long total, int overallPercent)A JNLP client'sDownloadServiceimplementation should call this method at least several times during validation of a download. -
Uses of URL in javax.management.loading
Methods in javax.management.loading that return URL Modifier and Type Method Description protected URLMLet. check(String version, URL codebase, String jarfile, MLetContent mlet)This method is to be overridden when extending this service to support caching and versioning.URLMLetContent. getCodeBase()Gets the code base URL.URLMLetContent. getDocumentBase()Gets the MLet text file's base URL.URLMLetMBean. getResource(String name)Finds the resource with the given name.URL[]MLet. getURLs()Returns the search path of URLs for loading classes and resources.URL[]MLetMBean. getURLs()Returns the search path of URLs for loading classes and resources.Methods in javax.management.loading that return types with arguments of type URL Modifier and Type Method Description Enumeration<URL>MLetMBean. getResources(String name)Finds all the resources with the given name.Methods in javax.management.loading with parameters of type URL Modifier and Type Method Description voidMLet. addURL(URL url)Appends the specified URL to the list of URLs to search for classes and resources.voidMLetMBean. addURL(URL url)Appends the specified URL to the list of URLs to search for classes and resources.protected URLMLet. check(String version, URL codebase, String jarfile, MLetContent mlet)This method is to be overridden when extending this service to support caching and versioning.Set<Object>MLet. getMBeansFromURL(URL url)Loads a text file containing MLET tags that define the MBeans to be added to the MBean server.Set<Object>MLetMBean. getMBeansFromURL(URL url)Loads a text file containing MLET tags that define the MBeans to be added to the MBean server.Constructors in javax.management.loading with parameters of type URL Constructor Description MLet(URL[] urls)Constructs a new MLet for the specified URLs using the default delegation parent ClassLoader.MLet(URL[] urls, boolean delegateToCLR)Constructs a new MLet for the specified URLs using the default delegation parent ClassLoader.MLet(URL[] urls, ClassLoader parent)Constructs a new MLet for the given URLs.MLet(URL[] urls, ClassLoader parent, boolean delegateToCLR)Constructs a new MLet for the given URLs.MLet(URL[] urls, ClassLoader parent, URLStreamHandlerFactory factory)Constructs a new MLet for the specified URLs, parent class loader, and URLStreamHandlerFactory.MLet(URL[] urls, ClassLoader parent, URLStreamHandlerFactory factory, boolean delegateToCLR)Constructs a new MLet for the specified URLs, parent class loader, and URLStreamHandlerFactory.MLetContent(URL url, Map<String,String> attributes, List<String> types, List<String> values)Creates anMLetinstance initialized with attributes read from anMLETtag in an MLet text file.PrivateMLet(URL[] urls, boolean delegateToCLR)Constructs a new PrivateMLet for the specified URLs using the default delegation parent ClassLoader.PrivateMLet(URL[] urls, ClassLoader parent, boolean delegateToCLR)Constructs a new PrivateMLet for the given URLs.PrivateMLet(URL[] urls, ClassLoader parent, URLStreamHandlerFactory factory, boolean delegateToCLR)Constructs a new PrivateMLet for the specified URLs, parent class loader, and URLStreamHandlerFactory. -
Uses of URL in javax.net.ssl
Constructors in javax.net.ssl with parameters of type URL Constructor Description HttpsURLConnection(URL url)Creates anHttpsURLConnectionusing the URL specified. -
Uses of URL in javax.sound.midi
Methods in javax.sound.midi with parameters of type URL Modifier and Type Method Description static MidiFileFormatMidiSystem. getMidiFileFormat(URL url)Obtains the MIDI file format of the data in the specified URL.static SequenceMidiSystem. getSequence(URL url)Obtains a MIDI sequence from the specified URL.static SoundbankMidiSystem. getSoundbank(URL url)Constructs aSoundbankby reading it from the specified URL. -
Uses of URL in javax.sound.midi.spi
Methods in javax.sound.midi.spi with parameters of type URL Modifier and Type Method Description abstract MidiFileFormatMidiFileReader. getMidiFileFormat(URL url)Obtains the MIDI file format of the URL provided.abstract SequenceMidiFileReader. getSequence(URL url)Obtains a MIDI sequence from the URL provided.abstract SoundbankSoundbankReader. getSoundbank(URL url)Obtains a soundbank object from the URL provided. -
Uses of URL in javax.sound.sampled
Methods in javax.sound.sampled with parameters of type URL Modifier and Type Method Description static AudioFileFormatAudioSystem. getAudioFileFormat(URL url)Obtains the audio file format of the specified URL.static AudioInputStreamAudioSystem. getAudioInputStream(URL url)Obtains an audio input stream from the URL provided. -
Uses of URL in javax.sound.sampled.spi
Methods in javax.sound.sampled.spi with parameters of type URL Modifier and Type Method Description abstract AudioFileFormatAudioFileReader. getAudioFileFormat(URL url)Obtains the audio file format of the URL provided.abstract AudioInputStreamAudioFileReader. getAudioInputStream(URL url)Obtains an audio input stream from the URL provided. -
Uses of URL in javax.sql
Methods in javax.sql with parameters of type URL Modifier and Type Method Description voidRowSet. setURL(int parameterIndex, URL x)Sets the designated parameter to the givenjava.net.URLvalue. -
Uses of URL in javax.sql.rowset
Methods in javax.sql.rowset with parameters of type URL Modifier and Type Method Description voidBaseRowSet. setURL(int parameterIndex, URL x)Sets the designated parameter to the givenjava.net.URLvalue. -
Uses of URL in javax.sql.rowset.serial
Methods in javax.sql.rowset.serial that return URL Modifier and Type Method Description URLSerialDatalink. getDatalink()Returns a new URL that is a copy of thisSerialDatalinkobject.URLSQLInputImpl. readURL()Reads an SQLDATALINKvalue from the stream and returns it as anURLobject in the Java programming language.Methods in javax.sql.rowset.serial with parameters of type URL Modifier and Type Method Description voidSQLOutputImpl. writeURL(URL url)Writes anjava.sql.Type.DATALINKobject in the Java programming language to thisSQLOutputImplobject.Constructors in javax.sql.rowset.serial with parameters of type URL Constructor Description SerialDatalink(URL url)Constructs a newSerialDatalinkobject from the givenjava.net.URLobject. -
Uses of URL in javax.swing
Methods in javax.swing that return URL Modifier and Type Method Description URLJEditorPane. getPage()Gets the current URL being displayed.Methods in javax.swing with parameters of type URL Modifier and Type Method Description protected InputStreamJEditorPane. getStream(URL page)Fetches a stream for the given URL, which is about to be loaded by thesetPagemethod.voidJEditorPane. setPage(URL page)Sets the current URL being displayed.Constructors in javax.swing with parameters of type URL Constructor Description ImageIcon(URL location)Creates an ImageIcon from the specified URL.ImageIcon(URL location, String description)Creates an ImageIcon from the specified URL.JEditorPane(URL initialPage)Creates aJEditorPanebased on a specified URL for input. -
Uses of URL in javax.swing.event
Methods in javax.swing.event that return URL Modifier and Type Method Description URLHyperlinkEvent. getURL()Gets the URL that the link refers to.Constructors in javax.swing.event with parameters of type URL Constructor Description HyperlinkEvent(Object source, HyperlinkEvent.EventType type, URL u)Creates a new object representing a hypertext link event.HyperlinkEvent(Object source, HyperlinkEvent.EventType type, URL u, String desc)Creates a new object representing a hypertext link event.HyperlinkEvent(Object source, HyperlinkEvent.EventType type, URL u, String desc, Element sourceElement)Creates a new object representing a hypertext link event.HyperlinkEvent(Object source, HyperlinkEvent.EventType type, URL u, String desc, Element sourceElement, InputEvent inputEvent)Creates a new object representing a hypertext link event. -
Uses of URL in javax.swing.plaf.synth
Methods in javax.swing.plaf.synth with parameters of type URL Modifier and Type Method Description voidSynthLookAndFeel. load(URL url)Loads the set ofSynthStyles that will be used by thisSynthLookAndFeel. -
Uses of URL in javax.swing.text.html
Methods in javax.swing.text.html that return URL Modifier and Type Method Description URLHTMLDocument. getBase()Returns the location to resolve relative URLs against.URLStyleSheet. getBase()Returns the base.URLImageView. getImageURL()Return a URL for the image source, or null if it could not be determined.Methods in javax.swing.text.html with parameters of type URL Modifier and Type Method Description voidStyleSheet. importStyleSheet(URL url)Imports a style sheet fromurl.voidStyleSheet. loadRules(Reader in, URL ref)Loads a set of rules that have been specified in terms of CSS1 grammar.voidHTMLDocument. setBase(URL u)Sets the location to resolve relative URLs against.voidStyleSheet. setBase(URL base)Sets the base.Constructors in javax.swing.text.html with parameters of type URL Constructor Description HTMLFrameHyperlinkEvent(Object source, HyperlinkEvent.EventType type, URL targetURL, String targetFrame)Creates a new object representing a html frame hypertext link event.HTMLFrameHyperlinkEvent(Object source, HyperlinkEvent.EventType type, URL targetURL, String desc, String targetFrame)Creates a new object representing a hypertext link event.HTMLFrameHyperlinkEvent(Object source, HyperlinkEvent.EventType type, URL targetURL, String desc, Element sourceElement, InputEvent inputEvent, String targetFrame)Creates a new object representing a hypertext link event.HTMLFrameHyperlinkEvent(Object source, HyperlinkEvent.EventType type, URL targetURL, String desc, Element sourceElement, String targetFrame)Creates a new object representing a hypertext link event.HTMLFrameHyperlinkEvent(Object source, HyperlinkEvent.EventType type, URL targetURL, Element sourceElement, String targetFrame)Creates a new object representing a hypertext link event. -
Uses of URL in javax.xml.bind
Methods in javax.xml.bind that return URL Modifier and Type Method Description URLValidationEventLocator. getURL()Return the name of the XML source as a URL if availableMethods in javax.xml.bind with parameters of type URL Modifier and Type Method Description static voidJAXB. marshal(Object jaxbObject, URL xml)Writes a Java object tree to XML and store it to the specified location.static <T> TJAXB. unmarshal(URL xml, Class<T> type)Reads in a Java object tree from the given XML input.ObjectUnmarshaller. unmarshal(URL url)Unmarshal XML data from the specified URL and return the resulting content tree. -
Uses of URL in javax.xml.bind.helpers
Methods in javax.xml.bind.helpers that return URL Modifier and Type Method Description URLValidationEventLocatorImpl. getURL()Methods in javax.xml.bind.helpers with parameters of type URL Modifier and Type Method Description voidValidationEventLocatorImpl. setURL(URL _url)Set the URL field on this event locator.ObjectAbstractUnmarshallerImpl. unmarshal(URL url) -
Uses of URL in javax.xml.validation
Methods in javax.xml.validation with parameters of type URL Modifier and Type Method Description SchemaSchemaFactory. newSchema(URL schema)Parses the specifiedURLas a schema and returns it as aSchema. -
Uses of URL in javax.xml.ws
Methods in javax.xml.ws that return URL Modifier and Type Method Description URLService. getWSDLDocumentLocation()Gets the location of the WSDL document for this Service.Methods in javax.xml.ws with parameters of type URL Modifier and Type Method Description static ServiceService. create(URL wsdlDocumentLocation, QName serviceName)Creates aServiceinstance.static ServiceService. create(URL wsdlDocumentLocation, QName serviceName, WebServiceFeature... features)Creates aServiceinstance.Constructors in javax.xml.ws with parameters of type URL Constructor Description Service(URL wsdlDocumentLocation, QName serviceName)Creates aService.Service(URL wsdlDocumentLocation, QName serviceName, WebServiceFeature... features)Creates aService. -
Uses of URL in javax.xml.ws.spi
Methods in javax.xml.ws.spi that return URL Modifier and Type Method Description abstract URLServiceDelegate. getWSDLDocumentLocation()Gets the location of the WSDL document for this Service.Methods in javax.xml.ws.spi with parameters of type URL Modifier and Type Method Description abstract ServiceDelegateProvider. createServiceDelegate(URL wsdlDocumentLocation, QName serviceName, Class<? extends Service> serviceClass)Creates a service delegate object.ServiceDelegateProvider. createServiceDelegate(URL wsdlDocumentLocation, QName serviceName, Class<? extends Service> serviceClass, WebServiceFeature... features)Creates a service delegate object. -
Uses of URL in jdk.nashorn.api.scripting
Methods in jdk.nashorn.api.scripting that return URL Modifier and Type Method Description URLURLReader. getURL()URL of this readerConstructors in jdk.nashorn.api.scripting with parameters of type URL Constructor Description URLReader(URL url)ConstructorURLReader(URL url, String charsetName)ConstructorURLReader(URL url, Charset cs)Constructor -
Uses of URL in jdk.nashorn.api.tree
Methods in jdk.nashorn.api.tree with parameters of type URL Modifier and Type Method Description CompilationUnitTreeParser. parse(URL url, DiagnosticListener listener)Parses the source url and returns compilation unit tree
-