API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.activation. URLDataSource View Source
Author(s)
Since
1.6
Version
Serial
Hierarchy
 Object
      URLDataSource
Implements
 DataSource
Subclasses
Description
public class URLDataSource
  The URLDataSource class provides an object that wraps a URL object in a DataSource interface.
See also:    DataSource DataHandler
Constructors
public URLDataSource (URL url)
  URLDataSource constructor.
Methods
Hide/Show inherited methods
public String getContentType () [Specified in DataSource]
  Returns the value of the URL content-type header field.
public InputStream getInputStream () throws IOException [Specified in DataSource]
  The getInputStream method from the URL.
public String getName () [Specified in DataSource]
  Calls the getFile method on the URL used to instantiate the object.
public OutputStream getOutputStream () throws IOException [Specified in DataSource]
  The getOutputStream method from the URL.
public URL getURL ()
  Return the URL used to create this DataSource.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar