uk.co.mmscomputing.imageio.sff
Class SFFOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.FilterOutputStream
          extended by java.io.BufferedOutputStream
              extended by uk.co.mmscomputing.imageio.sff.SFFOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable

public class SFFOutputStream
extends java.io.BufferedOutputStream


Field Summary
 
Fields inherited from class java.io.BufferedOutputStream
count
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
SFFOutputStream(java.io.OutputStream out)
           
 
Method Summary
 void setXYResolution(int xres, int yres)
           
 void write(byte[] b)
           
 void write(byte[] b, int off, int len)
           
 void write(int cw)
           
 void writeDocumentEnd()
           
 void writePageEnd()
           
 void writePageHeader(int width)
           
 
Methods inherited from class java.io.BufferedOutputStream
flush
 
Methods inherited from class java.io.FilterOutputStream
close
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SFFOutputStream

public SFFOutputStream(java.io.OutputStream out)
                throws java.io.IOException
Throws:
java.io.IOException
Method Detail

setXYResolution

public void setXYResolution(int xres,
                            int yres)

write

public void write(int cw)
           throws java.io.IOException
Overrides:
write in class java.io.BufferedOutputStream
Throws:
java.io.IOException

write

public void write(byte[] b)
           throws java.io.IOException
Overrides:
write in class java.io.FilterOutputStream
Throws:
java.io.IOException

write

public void write(byte[] b,
                  int off,
                  int len)
           throws java.io.IOException
Overrides:
write in class java.io.BufferedOutputStream
Throws:
java.io.IOException

writePageHeader

public void writePageHeader(int width)
                     throws java.io.IOException
Throws:
java.io.IOException

writePageEnd

public void writePageEnd()
                  throws java.io.IOException
Throws:
java.io.IOException

writeDocumentEnd

public void writeDocumentEnd()
                      throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2011 Direcció General de Tecnologia i Comunicacions. Govern de les Illes Balears. All Rights Reserved.