public class OutputStreamOutputStream> extends OutputStream implements Serializable
Modifier and Type | Field and Description |
---|---|
protected boolean |
closeStream |
protected long |
currentPos |
protected OutputStream |
outputStream |
Modifier | Constructor and Description |
---|---|
protected |
OutputStream()
Do not use this constructor.
|
|
OutputStream(OutputStream outputStream) |
Modifier and Type | Method and Description |
---|---|
void |
assignBytes(byte[] bytes, int count) |
void |
close() |
void |
flush() |
long |
getCurrentPos() |
static boolean |
getHighPrecision() |
OutputStream |
getOutputStream() |
boolean |
isCloseStream() |
void |
reset() |
void |
setCloseStream(boolean closeStream) |
static void |
setHighPrecision(boolean value) |
void |
write(byte[] b) |
void |
write(byte[] b, int off, int len) |
void |
write(int b) |
void |
writeByte(byte value) |
T |
writeByte(int value) |
T |
writeBytes(byte[] b) |
T |
writeBytes(byte[] b, int off, int len) |
T |
writeDouble(double value) |
T |
writeDouble(double value, boolean highPrecision) |
T |
writeFloat(float value) |
T |
writeFloat(float value, boolean highPrecision) |
T |
writeFloats(float[] value) |
T |
writeInteger(int value) |
T |
writeLong(long value) |
T |
writeNewLine() |
T |
writeSpace() |
T |
writeString(String value) |
protected OutputStream outputStream
protected long currentPos
protected boolean closeStream
public OutputStream(OutputStream outputStream)
protected OutputStream()
public static boolean getHighPrecision()
public static void setHighPrecision(boolean value)
public void write(int b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class OutputStream
IOException
public void writeByte(byte value)
public void flush() throws IOException
flush
in interface Flushable
flush
in class OutputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException
public T writeLong(long value)
public T writeInteger(int value)
public T writeFloat(float value)
public T writeFloat(float value, boolean highPrecision)
public T writeFloats(float[] value)
public T writeDouble(double value)
public T writeDouble(double value, boolean highPrecision)
public T writeByte(int value)
public T writeSpace()
public T writeNewLine()
public T writeBytes(byte[] b)
public T writeBytes(byte[] b, int off, int len)
public long getCurrentPos()
public OutputStream getOutputStream()
public boolean isCloseStream()
public void setCloseStream(boolean closeStream)
public void assignBytes(byte[] bytes, int count)
public void reset()
Copyright © 1998–2020 iText Group NV. All rights reserved.