Bartosz Firyn (SarXos)

com.github.sarxos.webcam.ds.ipcam.impl
Class IpCamMJPEGStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by java.io.DataInputStream
              extended by com.github.sarxos.webcam.ds.ipcam.impl.IpCamMJPEGStream
All Implemented Interfaces:
Closeable, DataInput

public class IpCamMJPEGStream
extends DataInputStream


Constructor Summary
IpCamMJPEGStream(InputStream in)
           
 
Method Summary
 void close()
           
 boolean isClosed()
           
 BufferedImage readFrame()
           
 
Methods inherited from class java.io.DataInputStream
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes
 
Methods inherited from class java.io.FilterInputStream
available, mark, markSupported, read, reset, skip
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IpCamMJPEGStream

public IpCamMJPEGStream(InputStream in)
Method Detail

readFrame

public BufferedImage readFrame()
                        throws IOException
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Overrides:
close in class FilterInputStream
Throws:
IOException

isClosed

public boolean isClosed()

Bartosz Firyn (SarXos)

Copyright © 2012-2013 Bartosz Firyn (SarXos). All Rights Reserved.