com.atlassian.confluence.user.service
Class ByteArrayImageOutputStreamImpl

java.lang.Object
  extended by javax.imageio.stream.ImageInputStreamImpl
      extended by javax.imageio.stream.ImageOutputStreamImpl
          extended by com.atlassian.confluence.user.service.ByteArrayImageOutputStreamImpl
All Implemented Interfaces:
java.io.DataInput, java.io.DataOutput, javax.imageio.stream.ImageInputStream, javax.imageio.stream.ImageOutputStream

public class ByteArrayImageOutputStreamImpl
extends javax.imageio.stream.ImageOutputStreamImpl


Field Summary
 
Fields inherited from class javax.imageio.stream.ImageInputStreamImpl
bitOffset, byteOrder, flushedPos, streamPos
 
Constructor Summary
ByteArrayImageOutputStreamImpl(java.io.ByteArrayOutputStream fout)
           
 
Method Summary
 int read()
           
 int read(byte[] b, int off, int len)
           
 void write(byte[] b, int off, int len)
           
 void write(int b)
           
 
Methods inherited from class javax.imageio.stream.ImageOutputStreamImpl
flushBits, write, writeBit, writeBits, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeChars, writeDouble, writeDoubles, writeFloat, writeFloats, writeInt, writeInts, writeLong, writeLongs, writeShort, writeShorts, writeUTF
 
Methods inherited from class javax.imageio.stream.ImageInputStreamImpl
checkClosed, close, finalize, flush, flushBefore, getBitOffset, getByteOrder, getFlushedPosition, getStreamPosition, isCached, isCachedFile, isCachedMemory, length, mark, read, readBit, readBits, readBoolean, readByte, readBytes, readChar, readDouble, readFloat, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedInt, readUnsignedShort, readUTF, reset, seek, setBitOffset, setByteOrder, skipBytes, skipBytes
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.imageio.stream.ImageOutputStream
flushBefore
 
Methods inherited from interface javax.imageio.stream.ImageInputStream
close, flush, getBitOffset, getByteOrder, getFlushedPosition, getStreamPosition, isCached, isCachedFile, isCachedMemory, length, mark, read, readBit, readBits, readBoolean, readByte, readBytes, readChar, readDouble, readFloat, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedInt, readUnsignedShort, readUTF, reset, seek, setBitOffset, setByteOrder, skipBytes, skipBytes
 

Constructor Detail

ByteArrayImageOutputStreamImpl

public ByteArrayImageOutputStreamImpl(java.io.ByteArrayOutputStream fout)
Method Detail

write

public void write(int b)
           throws java.io.IOException
Specified by:
write in interface java.io.DataOutput
Specified by:
write in interface javax.imageio.stream.ImageOutputStream
Specified by:
write in class javax.imageio.stream.ImageOutputStreamImpl
Throws:
java.io.IOException

write

public void write(byte[] b,
                  int off,
                  int len)
           throws java.io.IOException
Specified by:
write in interface java.io.DataOutput
Specified by:
write in interface javax.imageio.stream.ImageOutputStream
Specified by:
write in class javax.imageio.stream.ImageOutputStreamImpl
Throws:
java.io.IOException

read

public int read()
         throws java.io.IOException
Specified by:
read in interface javax.imageio.stream.ImageInputStream
Specified by:
read in class javax.imageio.stream.ImageInputStreamImpl
Throws:
java.io.IOException

read

public int read(byte[] b,
                int off,
                int len)
         throws java.io.IOException
Specified by:
read in interface javax.imageio.stream.ImageInputStream
Specified by:
read in class javax.imageio.stream.ImageInputStreamImpl
Throws:
java.io.IOException


Copyright © 2003-2014 Atlassian. All Rights Reserved.