Package eu.simuline.octave.util
Package collecting various utility classes.
-
Some deal with readers/writers
TeeWriter
NoCloseWriter
are special writers,IOUtils
is some utility class. In conjunctions with reader/writer, there is a thread copying reader to writer,ReaderWriterPipeThread
-
some deal with strings
StringUtil
- Finally there is a thread factory to create a named thread from a runnable.
-
Class Summary Class Description IOUtils Class for holding static utility functions for readers and writers: copy from reader to writer.NamedThreadFactory A ThreadFactory that allows to create a thread from a runnable with a specific thread name.NoCloseWriter Will protect a Writer from being closed byNoCloseWriter.close()
, useful for protecting stdout and stderr from being closed.ReaderWriterPipeThread A Thread that moves data from a Reader to a Writer.StringUtil Class for holding static utility functions for string handling: quoting and for parsing numbers.TeeWriter Executes the actions on a single writer to multiple writers.