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

📄 formatconversionprovider.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.<A HREF="../../../../java/lang/Object.html">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../java/lang/Object.html#clone()">clone</A>, <A HREF="../../../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../java/lang/Object.html#finalize()">finalize</A>, <A HREF="../../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../../java/lang/Object.html#wait(long)">wait</A>, <A HREF="../../../../java/lang/Object.html#wait(long, int)">wait</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= 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="FormatConversionProvider()"><!-- --></A><H3>FormatConversionProvider</H3><PRE>public <B>FormatConversionProvider</B>()</PRE><DL></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="getSourceEncodings()"><!-- --></A><H3>getSourceEncodings</H3><PRE>public abstract <A HREF="../../../../javax/sound/sampled/AudioFormat.Encoding.html">AudioFormat.Encoding</A>[] <B>getSourceEncodings</B>()</PRE><DL><DD>Obtains the set of source format encodings from which format conversion services are provided by this provider.<DD><DL><DT><B>Returns:</B><DD>array of source format encodings.  The array will always  have a length of at least 1.</DL></DD></DL><HR><A NAME="getTargetEncodings()"><!-- --></A><H3>getTargetEncodings</H3><PRE>public abstract <A HREF="../../../../javax/sound/sampled/AudioFormat.Encoding.html">AudioFormat.Encoding</A>[] <B>getTargetEncodings</B>()</PRE><DL><DD>Obtains the set of target format encodings to which format conversion services are provided by this provider.<DD><DL><DT><B>Returns:</B><DD>array of target format encodings.  The array will always  have a length of at least 1.</DL></DD></DL><HR><A NAME="isSourceEncodingSupported(javax.sound.sampled.AudioFormat.Encoding)"><!-- --></A><H3>isSourceEncodingSupported</H3><PRE>public boolean <B>isSourceEncodingSupported</B>(<A HREF="../../../../javax/sound/sampled/AudioFormat.Encoding.html">AudioFormat.Encoding</A>&nbsp;sourceEncoding)</PRE><DL><DD>Indicates whether the format converter supports conversion from the specified source format encoding.<DD><DL><DT><B>Parameters:</B><DD><CODE>sourceEncoding</CODE> - the source format encoding for which support is queried<DT><B>Returns:</B><DD><code>true</code> if the encoding is supported, otherwise <code>false</code></DL></DD></DL><HR><A NAME="isTargetEncodingSupported(javax.sound.sampled.AudioFormat.Encoding)"><!-- --></A><H3>isTargetEncodingSupported</H3><PRE>public boolean <B>isTargetEncodingSupported</B>(<A HREF="../../../../javax/sound/sampled/AudioFormat.Encoding.html">AudioFormat.Encoding</A>&nbsp;targetEncoding)</PRE><DL><DD>Indicates whether the format converter supports conversion to the specified target format encoding.<DD><DL><DT><B>Parameters:</B><DD><CODE>targetEncoding</CODE> - the target format encoding for which support is queried<DT><B>Returns:</B><DD><code>true</code> if the encoding is supported, otherwise <code>false</code></DL></DD></DL><HR><A NAME="getTargetEncodings(javax.sound.sampled.AudioFormat)"><!-- --></A><H3>getTargetEncodings</H3><PRE>public abstract <A HREF="../../../../javax/sound/sampled/AudioFormat.Encoding.html">AudioFormat.Encoding</A>[] <B>getTargetEncodings</B>(<A HREF="../../../../javax/sound/sampled/AudioFormat.html">AudioFormat</A>&nbsp;sourceFormat)</PRE><DL><DD>Obtains the set of target format encodings supported by the format converter  given a particular source format.   If no target format encodings are supported for this source format,  an array of length 0 is returned.<DD><DL><DT><B>Returns:</B><DD>array of supported target format encodings.</DL></DD></DL><HR><A NAME="isConversionSupported(javax.sound.sampled.AudioFormat.Encoding, javax.sound.sampled.AudioFormat)"><!-- --></A><H3>isConversionSupported</H3><PRE>public boolean <B>isConversionSupported</B>(<A HREF="../../../../javax/sound/sampled/AudioFormat.Encoding.html">AudioFormat.Encoding</A>&nbsp;targetEncoding,                                     <A HREF="../../../../javax/sound/sampled/AudioFormat.html">AudioFormat</A>&nbsp;sourceFormat)</PRE><DL><DD>Indicates whether the format converter supports conversion to a particular encoding from a particular format.<DD><DL><DT><B>Parameters:</B><DD><CODE>targetEncoding</CODE> - desired encoding of the outgoing data<DD><CODE>sourceFormat</CODE> - format of the incoming data<DT><B>Returns:</B><DD><code>true</code> if the conversion is supported, otherwise <code>false</code></DL></DD></DL><HR><A NAME="getTargetFormats(javax.sound.sampled.AudioFormat.Encoding, javax.sound.sampled.AudioFormat)"><!-- --></A><H3>getTargetFormats</H3><PRE>public abstract <A HREF="../../../../javax/sound/sampled/AudioFormat.html">AudioFormat</A>[] <B>getTargetFormats</B>(<A HREF="../../../../javax/sound/sampled/AudioFormat.Encoding.html">AudioFormat.Encoding</A>&nbsp;targetEncoding,                                               <A HREF="../../../../javax/sound/sampled/AudioFormat.html">AudioFormat</A>&nbsp;sourceFormat)</PRE><DL><DD>Obtains the set of target formats with the encoding specified  supported by the format converter  If no target formats with the specified encoding are supported  for this source format, an array of length 0 is returned.<DD><DL><DT><B>Returns:</B><DD>array of supported target formats.</DL></DD></DL><HR><A NAME="isConversionSupported(javax.sound.sampled.AudioFormat, javax.sound.sampled.AudioFormat)"><!-- --></A><H3>isConversionSupported</H3><PRE>public boolean <B>isConversionSupported</B>(<A HREF="../../../../javax/sound/sampled/AudioFormat.html">AudioFormat</A>&nbsp;targetFormat,                                     <A HREF="../../../../javax/sound/sampled/AudioFormat.html">AudioFormat</A>&nbsp;sourceFormat)</PRE><DL><DD>Indicates whether the format converter supports conversion to one particular format from another.<DD><DL><DT><B>Parameters:</B><DD><CODE>targetFormat</CODE> - desired format of outgoing data<DD><CODE>sourceFormat</CODE> - format of the incoming data<DT><B>Returns:</B><DD><code>true</code> if the conversion is supported, otherwise <code>false</code></DL></DD></DL><HR><A NAME="getAudioInputStream(javax.sound.sampled.AudioFormat.Encoding, javax.sound.sampled.AudioInputStream)"><!-- --></A><H3>getAudioInputStream</H3><PRE>public abstract <A HREF="../../../../javax/sound/sampled/AudioInputStream.html">AudioInputStream</A> <B>getAudioInputStream</B>(<A HREF="../../../../javax/sound/sampled/AudioFormat.Encoding.html">AudioFormat.Encoding</A>&nbsp;targetEncoding,                                                     <A HREF="../../../../javax/sound/sampled/AudioInputStream.html">AudioInputStream</A>&nbsp;sourceStream)</PRE><DL><DD>Obtains an audio input stream with the specified encoding from the given audio input stream.<DD><DL><DT><B>Parameters:</B><DD><CODE>targetEncoding</CODE> - desired encoding of the stream after processing<DD><CODE>sourceStream</CODE> - stream from which data to be processed should be read<DT><B>Returns:</B><DD>stream from which processed data with the specified target encoding may be read<DT><B>Throws:</B><DD><CODE><A HREF="../../../../java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - if the format combination supplied is not supported.</DL></DD></DL><HR><A NAME="getAudioInputStream(javax.sound.sampled.AudioFormat, javax.sound.sampled.AudioInputStream)"><!-- --></A><H3>getAudioInputStream</H3><PRE>public abstract <A HREF="../../../../javax/sound/sampled/AudioInputStream.html">AudioInputStream</A> <B>getAudioInputStream</B>(<A HREF="../../../../javax/sound/sampled/AudioFormat.html">AudioFormat</A>&nbsp;targetFormat,                                                     <A HREF="../../../../javax/sound/sampled/AudioInputStream.html">AudioInputStream</A>&nbsp;sourceStream)</PRE><DL><DD>Obtains an audio input stream with the specified format from the given audio input stream.<DD><DL><DT><B>Parameters:</B><DD><CODE>targetFormat</CODE> - desired data format of the stream after processing<DD><CODE>sourceStream</CODE> - stream from which data to be processed should be read<DT><B>Returns:</B><DD>stream from which processed data with the specified format may be read<DT><B>Throws:</B><DD><CODE><A HREF="../../../../java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - if the format combination supplied is not supported.</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 CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="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="class-use/FormatConversionProvider.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup>&nbsp;2&nbsp;Platform<br>Std.&nbsp;Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../javax/sound/sampled/spi/AudioFileWriter.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../javax/sound/sampled/spi/MixerProvider.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="FormatConversionProvider.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;FIELD&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;FIELD&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="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="http://java.sun.com/products/jdk/1.3/devdocs-vs-specs.html">Java 2 SDK SE Developer Documentation</a>. That documentation  contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. <p>Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road<br>Palo Alto, California, 94303, U.S.A.  All Rights Reserved.</font></BODY></HTML>

⌨️ 快捷键说明

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