public class InternalOutputStream extends Object implements ASOutputStream, Closeable
| Constructor and Description |
|---|
InternalOutputStream(File file) |
InternalOutputStream(String fileName) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
File |
getFile() |
static InternalOutputStream |
getInternalOutputStream()
Creates temp file and opens output stream into it.
|
long |
getOffset() |
InternalOutputStream |
seek(long offset) |
void |
seekEnd() |
long |
write(ASInputStream stream) |
InternalOutputStream |
write(boolean value) |
InternalOutputStream |
write(byte value) |
long |
write(byte[] buffer) |
long |
write(byte[] buffer,
int size) |
long |
write(byte[] buffer,
int offset,
int size) |
InternalOutputStream |
write(char value) |
InternalOutputStream |
write(double value) |
InternalOutputStream |
write(int value) |
InternalOutputStream |
write(long value) |
InternalOutputStream |
write(String value) |
public InternalOutputStream(String fileName) throws FileNotFoundException
FileNotFoundExceptionpublic InternalOutputStream(File file) throws FileNotFoundException
FileNotFoundExceptionpublic static InternalOutputStream getInternalOutputStream() throws IOException
IOExceptionpublic long write(byte[] buffer)
throws IOException
write in interface ASOutputStreamIOExceptionpublic long write(byte[] buffer,
int size)
throws IOException
IOExceptionpublic long write(byte[] buffer,
int offset,
int size)
throws IOException
write in interface ASOutputStreamIOExceptionpublic long write(ASInputStream stream) throws IOException
write in interface ASOutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface ASOutputStreamIOExceptionpublic void seekEnd()
throws IOException
IOExceptionpublic long getOffset()
throws IOException
IOExceptionpublic InternalOutputStream seek(long offset) throws IOException
IOExceptionpublic InternalOutputStream write(char value) throws IOException
IOExceptionpublic InternalOutputStream write(byte value) throws IOException
IOExceptionpublic InternalOutputStream write(boolean value) throws IOException
IOExceptionpublic InternalOutputStream write(int value) throws IOException
IOExceptionpublic InternalOutputStream write(long value) throws IOException
IOExceptionpublic InternalOutputStream write(double value) throws IOException
IOExceptionpublic InternalOutputStream write(String value) throws IOException
IOExceptionpublic File getFile()
Copyright © 2015–2019 The veraPDF Consortium. All rights reserved.