| java.lang.Object javax.media.jai.CRIFImpl com.sun.media.jai.imageioimpl.ImageWriteCRIF
ImageWriteCRIF | final public class ImageWriteCRIF extends CRIFImpl (Code) | | |
ImageWriteCRIF | public ImageWriteCRIF()(Code) | | |
getImageOutputStream | static ImageOutputStream getImageOutputStream(Object output)(Code) | | Attempt to create an
ImageOutputStream for the supplied
output. The following sequence is effected:
- If
output is an ImageOutputStream it
is cast and returned.
- If
output is a String it is converted
to a read-write RandomAccessFile .
- If
output is a Socket it is converted
to an OutputStream .
ImageIO.createImageOutputStream() is invoked
with parameter set to the (possibly converted) output and the
value it returns (which could be null ) is returned
to the caller.
Parameters: output - An Object to be used as the destination,such as a String , File , writableRandomAccessFile , OutputStream , writableSocket , or writable Channel . An ImageOutputStream or null . |
|
|