Package org.verapdf.io
Class InternalOutputStream
java.lang.Object
org.verapdf.io.InternalOutputStream
- All Implemented Interfaces:
Closeable,AutoCloseable,ASOutputStream
- Author:
- Timur Kamalov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()getFile()static InternalOutputStreamCreates temp file and opens output stream into it.longseek(long offset) voidseekEnd()write(boolean value) write(byte value) longwrite(byte[] buffer) longwrite(byte[] buffer, int size) longwrite(byte[] buffer, int offset, int size) write(char value) write(double value) write(int value) write(long value) longwrite(ASInputStream stream)
-
Constructor Details
-
InternalOutputStream
- Throws:
FileNotFoundException
-
InternalOutputStream
- Throws:
FileNotFoundException
-
-
Method Details
-
getInternalOutputStream
Creates temp file and opens output stream into it. File path can be obtained after.- Returns:
- new InternalOutputStream.
- Throws:
IOException
-
write
- Specified by:
writein interfaceASOutputStream- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Specified by:
writein interfaceASOutputStream- Throws:
IOException
-
write
- Specified by:
writein interfaceASOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceASOutputStream- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
seekEnd
- Throws:
IOException
-
getOffset
- Throws:
IOException
-
seek
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
getFile
-