com.scottpreston.javarobot.chapter6
Class GetFrame

java.lang.Object
  extended by com.scottpreston.javarobot.chapter6.GetFrame

public class GetFrame
extends java.lang.Object


Field Summary
static java.lang.String RGB_ENCODING
           
static java.lang.String YUV_ENCODING
           
 
Constructor Summary
GetFrame(java.lang.String url)
           
GetFrame(java.lang.String url, java.lang.String encoding, int width, int height)
           
 
Method Summary
 void close()
           
 java.awt.Image getAwtImage()
           
 java.awt.image.BufferedImage getBufferedImage()
           
static void main(java.lang.String[] args)
           
 javax.media.Format setFormat(java.lang.String encoding, int width, int height)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RGB_ENCODING

public static final java.lang.String RGB_ENCODING
See Also:
Constant Field Values

YUV_ENCODING

public static final java.lang.String YUV_ENCODING
See Also:
Constant Field Values
Constructor Detail

GetFrame

public GetFrame(java.lang.String url)
         throws java.lang.Exception
Throws:
java.lang.Exception

GetFrame

public GetFrame(java.lang.String url,
                java.lang.String encoding,
                int width,
                int height)
         throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getAwtImage

public java.awt.Image getAwtImage()
                           throws java.lang.Exception
Throws:
java.lang.Exception

setFormat

public javax.media.Format setFormat(java.lang.String encoding,
                                    int width,
                                    int height)

getBufferedImage

public java.awt.image.BufferedImage getBufferedImage()
                                              throws java.lang.Exception
Throws:
java.lang.Exception

close

public void close()
           throws java.lang.Exception
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)