LiveGraph
Data Writer API
A B C D E F G H I L M O P R S T W

A

addDataSeries(String) - Method in class org.LiveGraph.dataFile.write.DataStreamWriter
Defines a new data series with the specified label for this writer.

B

BURST_MEAN - Static variable in class org.LiveGraph.demoDataSource.LiveGraphMemoryStreamDemo
 
BURST_SCATTER - Static variable in class org.LiveGraph.demoDataSource.LiveGraphMemoryStreamDemo
 

C

canAddDataSeries - Variable in class org.LiveGraph.dataFile.write.DataStreamWriter
Whether new data series can still be added.
canChangeSeparator - Variable in class org.LiveGraph.dataFile.write.DataStreamWriter
Whether the data separator can still be changed.
checkWriteSeparatorDefinition() - Method in class org.LiveGraph.dataFile.write.DataStreamWriter
If a non-default separator was set it is written to the output stream, unless other data was already written.
checkWriteSeriesLabels() - Method in class org.LiveGraph.dataFile.write.DataStreamWriter
Writes data series label information to the output stream.
close() - Method in class org.LiveGraph.dataFile.write.DataStreamWriter
Closes the underlying output stream.
close() - Method in class org.LiveGraph.dataFile.write.PipedOutputStream
Closes this piped output stream and releases any system resources associated with this stream.
connect(PipedInputStream) - Method in class org.LiveGraph.dataFile.write.PipedOutputStream
Connects this piped output stream to a receiver.
createDataWriter(PipedInputStream) - Static method in class org.LiveGraph.dataFile.write.DataStreamWriterFactory
Creates a new DataStreamWriter object to write to the specified PipedInputStream.
createDataWriter(String, String) - Static method in class org.LiveGraph.dataFile.write.DataStreamWriterFactory
Creates a new DataStreamWriter object for a unique file whose name is created on the basis of the specified base name and directory as well as an optional timestamp and an optional counter to make the file name unique.
This method is a convenience shorthand for createDataWriter(dataFileDir, dataFileBaseName, defaultFileExtension), where DataStreamWriterFactory.defaultFileExtension = "lgdat".
createDataWriter(String, String, String) - Static method in class org.LiveGraph.dataFile.write.DataStreamWriterFactory
Creates a new DataStreamWriter object for a unique file whose name is created on the basis of the specified base name, extension and directory as well as an optional timestamp and an optional counter to make the file name unique.
If despite of the unique file name an output stream cannot be open (this may happen with a small probability in the case of several competing processes) the semantics of this method are the same as for DataStreamWriterFactory.createDataWriter(File, boolean) (with overwrite = false).

This method uses the library method FileTools.findUniqueFile(String, String, String, boolean) for generating a unique file path (with alwaysUseTimestamp = false).
createDataWriter(String, boolean) - Static method in class org.LiveGraph.dataFile.write.DataStreamWriterFactory
Creates a new DataStreamWriter object for the specified file path.
createDataWriter(File, boolean) - Static method in class org.LiveGraph.dataFile.write.DataStreamWriterFactory
Creates a new DataStreamWriter object for the specified file.
currentSeriesIndex - Variable in class org.LiveGraph.dataFile.write.DataStreamWriter
Holds the series index cursor within the current dataset.

D

dataCache - Variable in class org.LiveGraph.dataFile.write.DataStreamWriter
Values of the current dataset.
DataFileAlreadyExistsException - Exception in org.LiveGraph.dataFile.write
Is thrown by DataStreamWriterFactory to indicate that a DataStreamWriter for a specified physical file stream cannot be created becasue the file already exists and cannot be overwritten.
DataFileAlreadyExistsException(String) - Constructor for exception org.LiveGraph.dataFile.write.DataFileAlreadyExistsException
Creates a new DataFileAlreadyExistsException relating to the specified file path.
DataFileAlreadyExistsException(File) - Constructor for exception org.LiveGraph.dataFile.write.DataFileAlreadyExistsException
Creates a new DataFileAlreadyExistsException relating to the specified file path.
DataFormatException - Exception in org.LiveGraph.dataFile.common
Thrown by org.LiveGraph.dataFile.read.DataStreamReader when the data stream does not have the expected format.
DataFormatException() - Constructor for exception org.LiveGraph.dataFile.common.DataFormatException
 
DataFormatException(String) - Constructor for exception org.LiveGraph.dataFile.common.DataFormatException
 
DataFormatException(Throwable) - Constructor for exception org.LiveGraph.dataFile.common.DataFormatException
 
DataFormatException(String, Throwable) - Constructor for exception org.LiveGraph.dataFile.common.DataFormatException
 
DataFormatTools - Class in org.LiveGraph.dataFile.common
This convenience class defines special tags for the LiveGraph data file format.
DataFormatTools() - Constructor for class org.LiveGraph.dataFile.common.DataFormatTools
 
dataSeriesExists(String) - Method in class org.LiveGraph.dataFile.write.DataStreamWriter
Checks whether this writer knows a data series with the specified label.
dataSeriesLabels - Variable in class org.LiveGraph.dataFile.write.DataStreamWriter
Holds the data series labels.
DataStreamWriter - Class in org.LiveGraph.dataFile.write
DataStreamWriter objects are used for writing files in the LiveGraph file format.
DataStreamWriter(OutputStream) - Constructor for class org.LiveGraph.dataFile.write.DataStreamWriter
Creates a new data writer to write on the specified stream.
DataStreamWriterFactory - Class in org.LiveGraph.dataFile.write
This class provides static convenience methods for creating dedicated data stream writers.
DataStreamWriterFactory() - Constructor for class org.LiveGraph.dataFile.write.DataStreamWriterFactory
 
defaultFileExtension - Static variable in class org.LiveGraph.dataFile.write.DataStreamWriterFactory
Data file extension used if no other specified.
DefaultSeparator - Static variable in class org.LiveGraph.dataFile.common.DataFormatTools
This is the default data separator tag.
DEMO_DIR - Static variable in class org.LiveGraph.demoDataSource.LiveGraphDemo
 

E

exec() - Method in class org.LiveGraph.demoDataSource.LiveGraphDemo
 
exec() - Method in class org.LiveGraph.demoDataSource.LiveGraphMemoryStreamDemo
 

F

flush() - Method in class org.LiveGraph.dataFile.write.PipedOutputStream
Flushes this output stream and forces any buffered output bytes to be written out.

G

getDataValue(String) - Method in class org.LiveGraph.dataFile.write.DataStreamWriter
Gets the data value which has been previously associated with the specified data series in the current dataset.
getDataValue(int) - Method in class org.LiveGraph.dataFile.write.DataStreamWriter
Gets the data value which has been previously associated with the specified data series in the current dataset.
getIOException() - Method in class org.LiveGraph.dataFile.write.DataStreamWriter
Gets the last IOException encountered by this writer.

H

hadIOException() - Method in class org.LiveGraph.dataFile.write.DataStreamWriter
Check whether a recent operation caused an IOException.

I

ioException - Variable in class org.LiveGraph.dataFile.write.DataStreamWriter
Raised IOException (if any).
isValidSeparator(String) - Static method in class org.LiveGraph.dataFile.common.DataFormatTools
In order to read the data correctly a tag must not be confused with data value.

L

LiveGraphDemo - Class in org.LiveGraph.demoDataSource
This class is used for generating a demo data file for demonstration and testing purposes.
LiveGraphDemo() - Constructor for class org.LiveGraph.demoDataSource.LiveGraphDemo
 
LiveGraphMemoryStreamDemo - Class in org.LiveGraph.demoDataSource
This is a demo showing how to use LiveGraph in memory stream mode, i.e.
LiveGraphMemoryStreamDemo() - Constructor for class org.LiveGraph.demoDataSource.LiveGraphMemoryStreamDemo
 

M

main(String[]) - Static method in class org.LiveGraph.demoDataSource.LiveGraphDemo
 
main(String[]) - Static method in class org.LiveGraph.demoDataSource.LiveGraphMemoryStreamDemo
 
MAX_BURST - Static variable in class org.LiveGraph.demoDataSource.LiveGraphDemo
 
MAX_DATASETS - Static variable in class org.LiveGraph.demoDataSource.LiveGraphDemo
 
MAX_DATASETS - Static variable in class org.LiveGraph.demoDataSource.LiveGraphMemoryStreamDemo
 
MAX_SLEEP - Static variable in class org.LiveGraph.demoDataSource.LiveGraphDemo
 
MIN_BURST - Static variable in class org.LiveGraph.demoDataSource.LiveGraphDemo
 
MIN_SLEEP - Static variable in class org.LiveGraph.demoDataSource.LiveGraphDemo
 

O

org.LiveGraph.dataFile.common - package org.LiveGraph.dataFile.common
 
org.LiveGraph.dataFile.write - package org.LiveGraph.dataFile.write
 
org.LiveGraph.demoDataSource - package org.LiveGraph.demoDataSource
 
out - Variable in class org.LiveGraph.dataFile.write.DataStreamWriter
Streat writer for printing to the output stream.

P

PipeClosedByReaderException - Exception in org.LiveGraph.dataFile.common
 
PipeClosedByReaderException() - Constructor for exception org.LiveGraph.dataFile.common.PipeClosedByReaderException
 
PipeClosedByReaderException(String) - Constructor for exception org.LiveGraph.dataFile.common.PipeClosedByReaderException
 
PipeClosedByWriterException - Exception in org.LiveGraph.dataFile.common
 
PipeClosedByWriterException() - Constructor for exception org.LiveGraph.dataFile.common.PipeClosedByWriterException
 
PipeClosedByWriterException(String) - Constructor for exception org.LiveGraph.dataFile.common.PipeClosedByWriterException
 
PipedOutputStream - Class in org.LiveGraph.dataFile.write
 
PipedOutputStream() - Constructor for class org.LiveGraph.dataFile.write.PipedOutputStream
Creates a piped output stream that is not yet connected to a piped input stream.
PipedOutputStream(PipedInputStream) - Constructor for class org.LiveGraph.dataFile.write.PipedOutputStream
Creates a piped output stream connected to the specified piped input stream.
PipeFullException - Exception in org.LiveGraph.dataFile.common
 
PipeFullException() - Constructor for exception org.LiveGraph.dataFile.common.PipeFullException
 
PipeFullException(String) - Constructor for exception org.LiveGraph.dataFile.common.PipeFullException
 
PipeNotConnectedException - Exception in org.LiveGraph.dataFile.common
 
PipeNotConnectedException() - Constructor for exception org.LiveGraph.dataFile.common.PipeNotConnectedException
 
PipeNotConnectedException(String) - Constructor for exception org.LiveGraph.dataFile.common.PipeNotConnectedException
 

R

resetIOException() - Method in class org.LiveGraph.dataFile.write.DataStreamWriter
Deletes any internal state concerned with previously encountered IOExceptions.

S

separator - Variable in class org.LiveGraph.dataFile.write.DataStreamWriter
The currently used data values separator.
setDataValue(String, double) - Method in class org.LiveGraph.dataFile.write.DataStreamWriter
Assigns the specified value to the specified data series in the current dataset.
setDataValue(int, double) - Method in class org.LiveGraph.dataFile.write.DataStreamWriter
Assigns the specified value to the data series at the specified index in the current dataset.
setDataValue(double) - Method in class org.LiveGraph.dataFile.write.DataStreamWriter
Assigns the specified value to the next data series in the current dataset.
setDataValue(String, float) - Method in class org.LiveGraph.dataFile.write.DataStreamWriter
Assigns the specified value to the specified data series in the current dataset.
setDataValue(int, float) - Method in class org.LiveGraph.dataFile.write.DataStreamWriter
Assigns the specified value to the data series at the specified index in the current dataset.
setDataValue(float) - Method in class org.LiveGraph.dataFile.write.DataStreamWriter
Assigns the specified value to the next data series in the current dataset.
setDataValue(String, long) - Method in class org.LiveGraph.dataFile.write.DataStreamWriter
Assigns the specified value to the specified data series in the current dataset.
setDataValue(int, long) - Method in class org.LiveGraph.dataFile.write.DataStreamWriter
Assigns the specified value to the data series at the specified index in the current dataset.
setDataValue(long) - Method in class org.LiveGraph.dataFile.write.DataStreamWriter
Assigns the specified value to the next data series in the current dataset.
setDataValue(String, int) - Method in class org.LiveGraph.dataFile.write.DataStreamWriter
Assigns the specified value to the specified data series in the current dataset.
setDataValue(int, int) - Method in class org.LiveGraph.dataFile.write.DataStreamWriter
Assigns the specified value to the data series at the specified index in the current dataset.
setDataValue(int) - Method in class org.LiveGraph.dataFile.write.DataStreamWriter
Assigns the specified value to the next data series in the current dataset.
setDataValue(String, boolean) - Method in class org.LiveGraph.dataFile.write.DataStreamWriter
Assigns the specified value to the specified data series in the current dataset.
setDataValue(int, boolean) - Method in class org.LiveGraph.dataFile.write.DataStreamWriter
Assigns the specified value to the data series at the specified index in the current dataset.
setDataValue(boolean) - Method in class org.LiveGraph.dataFile.write.DataStreamWriter
Assigns the specified value to the next data series in the current dataset.
setDataValue(String, String) - Method in class org.LiveGraph.dataFile.write.DataStreamWriter
Assigns the specified value to the specified data series in the current dataset.
setDataValue(int, String) - Method in class org.LiveGraph.dataFile.write.DataStreamWriter
Assigns the specified value to the data series at the specified index in the current dataset.
setDataValue(String) - Method in class org.LiveGraph.dataFile.write.DataStreamWriter
Assigns the specified value to the next data series in the current dataset.
setSeparator(String) - Method in class org.LiveGraph.dataFile.write.DataStreamWriter
Sets the separator between data columns and values.
sink - Variable in class org.LiveGraph.dataFile.write.PipedOutputStream
 
SLEEP_MEAN - Static variable in class org.LiveGraph.demoDataSource.LiveGraphMemoryStreamDemo
 
SLEEP_SCATTER - Static variable in class org.LiveGraph.demoDataSource.LiveGraphMemoryStreamDemo
 

T

TAGComment - Static variable in class org.LiveGraph.dataFile.common.DataFormatTools
Every comment line must start with this tag.
TAGFileInfo - Static variable in class org.LiveGraph.dataFile.common.DataFormatTools
Every file description line must start with this tag.
TAGSepDefinition - Static variable in class org.LiveGraph.dataFile.common.DataFormatTools
An alternatice separator definition in the first line of the file must be ocated wetween two instances of this tag.

W

write(int) - Method in class org.LiveGraph.dataFile.write.PipedOutputStream
Writes the specified byte to the piped output stream.
write(byte[], int, int) - Method in class org.LiveGraph.dataFile.write.PipedOutputStream
Writes len bytes from the specified byte array starting at offset off to this piped output stream.
writeComment(String) - Method in class org.LiveGraph.dataFile.write.DataStreamWriter
Writes the specified comment to the output stream.
writeDataSet() - Method in class org.LiveGraph.dataFile.write.DataStreamWriter
Writes the current dataset to the output stream.
writeFileInfo(String) - Method in class org.LiveGraph.dataFile.write.DataStreamWriter
Writes the specified information or file description line to the output stream.

A B C D E F G H I L M O P R S T W
LiveGraph
Data Writer API
LiveGraph is a member of SourceForge.net Donate to LiveGraph