Package elki.utilities.io
Utility classes for input/output.
-
Interface Summary Interface Description ByteBufferSerializer<T> Class to convert from and to byte arrays (in index structures).FixedSizeByteBufferSerializer<T> Serializers with a fixed length serialization. -
Class Summary Class Description BufferedLineReader Class for buffered IO, avoiding some of the overheads of the Java API.ByteArrayUtil Class with various utilities for manipulating byte arrays.ByteArrayUtil.ByteSerializer Serializer for byte objects.ByteArrayUtil.DoubleSerializer Serializer for double objects.ByteArrayUtil.FloatSerializer Serializer for float objects.ByteArrayUtil.IntegerSerializer Serializer for integer objects.ByteArrayUtil.LongSerializer Serializer for long objects.ByteArrayUtil.ShortSerializer Serializer for short objects.ByteArrayUtil.StringSerializer Serializer for String objects.ByteArrayUtil.VarintSerializer Serializer for Integer objects using a variable size encoding.ByteBufferInputStream Wrap an existing ByteBuffer as InputStream.ByteBufferOutputStream Wrap an existing ByteBuffer as OutputStream.FileUtil Various static helper methods to deal with files and file names.FormatUtil Utility methods for output formatting of various number objectsLineReader Fast class to read a file, line per line.ParseUtil Helper functionality for parsing.TokenizedReader Reader that will tokenize the input data as desired.Tokenizer String tokenizer. -
Exception Summary Exception Description ParseUtil.PreallocatedException Preallocated exception.