com.imagero.uio.io
Class App13OutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
com.imagero.uio.io.App13OutputStream
- public class App13OutputStream
- extends java.io.FilterOutputStream
Utility to write data into App13 block(s).
If data is longer as given App13 size then multiple App13 blocks are written.
Fields inherited from class java.io.FilterOutputStream |
out |
Constructor Summary |
App13OutputStream(java.io.OutputStream out)
create new App13OutputStream with default App13 size (32000) |
App13OutputStream(java.io.OutputStream out,
int length)
create App13OutputStream with user defined App13 size |
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 |
App13OutputStream
public App13OutputStream(java.io.OutputStream out)
- create new App13OutputStream with default App13 size (32000)
- Parameters:
out
- OutputStream
App13OutputStream
public App13OutputStream(java.io.OutputStream out,
int length)
- create App13OutputStream with user defined App13 size
- Parameters:
out
- OutputStreamlength
- length of App13
write
public void write(int b)
throws java.io.IOException
- Throws:
java.io.IOException
flushBuffer
protected void flushBuffer()
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(byte[] b)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(byte[] b,
int off,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
flush
public void flush()
throws java.io.IOException
- Throws:
java.io.IOException