class PositionOutputStream
extends java.io.OutputStream
| Modifier and Type | Field and Description |
|---|---|
private long |
pos |
private java.io.OutputStream |
stream |
| Constructor and Description |
|---|
PositionOutputStream(java.io.OutputStream stream) |
| Modifier and Type | Method and Description |
|---|---|
long |
getFilePointer() |
void |
seekForward(long position)
Move the file pointer to the specified position.
|
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int p1) |
public void write(int p1)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void seekForward(long position)
throws java.io.IOException
java.io.IOExceptionpublic long getFilePointer()
Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.