public abstract class LExport
extends java.lang.Object
Constructor and Description |
---|
LExport(java.io.File file) |
LExport(java.lang.String path) |
Modifier and Type | Method and Description |
---|---|
abstract void |
close()
Flushes buffer and closes output stream.
|
abstract void |
openOutput(java.lang.String path) |
void |
write(boolean input,
int size) |
abstract void |
write(byte b) |
abstract void |
write(byte[] array)
Writes a byte array to the file.
|
void |
write(byte[] array,
int size)
Writes a byte array to the file.
|
void |
write(float input)
Writes a float to the file.
|
void |
write(int input) |
void |
write(int input,
int size)
Writes an integer to the file.
|
void |
write(java.lang.String input)
Writes a string to the output (no null terminator).
|
void |
write(java.lang.String input,
int size)
Writes a string to the output (no null terminator).
|
void |
writeZeros(int size) |
public LExport(java.io.File file) throws java.io.FileNotFoundException
file
- File to open an exporter to.java.io.FileNotFoundException
public LExport(java.lang.String path) throws java.io.FileNotFoundException
path
- Path to open an exporter to.java.io.FileNotFoundException
public abstract void openOutput(java.lang.String path) throws java.io.FileNotFoundException
path
- Path to open a channel to.java.io.FileNotFoundException
public abstract void write(byte[] array) throws java.io.IOException
array
- java.io.IOException
public void write(byte[] array, int size) throws java.io.IOException
array
- size
- Minimum byte size. Output will be appended with zeros until size is met.java.io.IOException
public void writeZeros(int size) throws java.io.IOException
size
- java.io.IOException
public void write(int input, int size) throws java.io.IOException
input
- Integer to output.size
- Minimum byte size. Output will be appended with zeros until size is met.java.io.IOException
public void write(int input) throws java.io.IOException
input
- java.io.IOException
public abstract void write(byte b) throws java.io.IOException
b
- java.io.IOException
public void write(java.lang.String input) throws java.io.IOException
input
- java.io.IOException
public void write(java.lang.String input, int size) throws java.io.IOException
input
- size
- Minimum byte size. Output will be appended with zeros until size is met.java.io.IOException
public void write(boolean input, int size) throws java.io.IOException
input
- Boolean to writesize
- Number of bytes to writejava.io.IOException
public void write(float input) throws java.io.IOException
input
- java.io.IOException
public abstract void close() throws java.io.IOException
java.io.IOException