The caller is responsible for ensuring that the returned stream is closed. @throws IOException if an I/O error occurs in the process of opening the stream
The caller is responsible for ensuring that the returned writer is closed. @throws IOException if an I/O error occurs in the process of opening the writer
The caller is responsible for ensuring that the returned reader is closed. @throws IOException if an I/O error occurs in the process of opening the reader
Each invocation of this method should return a new stream to the asset data, starting at the beginning of the file. @return The asset data.
AudioInputStream
. An application opening a synthesizer explicitly with this call has to close the synthesizer by calling {@link #close}. This is necessary to release system resources and allow applications to exit cleanly.
Note that some synthesizers, once closed, cannot be reopened. Attempts to reopen such a synthesizer will always result in a MidiUnavailableException
.
@param targetFormat specifies the
AudioFormat
used in returned AudioInputStream
.
@param info a Map
object containingproperties for additional configuration supported by synthesizer. If info
is null then default settings are used.
@throws MidiUnavailableException thrown if the synthesizer cannot beopened due to resource restrictions.
@throws SecurityException thrown if the synthesizer cannot beopened due to security restrictions.
@see #close
@see #isOpen
URL
and returns an InputStream
for reading from that connection. This method is a shorthand for: @return an input stream for reading from the URL connection. @exception IOException if an I/O exception occurs. @see java.net.URL#openConnection() @see java.net.URLConnection#getInputStream()openConnection().getInputStream()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|