it.unimi.dsi.mg4j.util
Class MutableStrings

java.lang.Object
  extended by it.unimi.dsi.mg4j.util.MutableStrings

Deprecated. Moved to dsiutils.

@Deprecated
public class MutableStrings
extends Object

A static container providing utility objects and method for MutableStrings.


Field Summary
static MutableString[] EMPTY_ARRAY
          Deprecated.  
 
Method Summary
static void loadMutableStringsSelfDelimUTF8(CharSequence filename, MutableString[] array)
          Deprecated. Loads mutable strings from a file in self-delimiting UTF-8 format and stores then in an array.
static void loadMutableStringsSelfDelimUTF8(CharSequence filename, MutableString[] array, int offset, int length)
          Deprecated. Loads mutable strings from a file in self-delimiting UTF-8 format and stores then in an array fragment.
static void loadMutableStringsSelfDelimUTF8(InputStream is, MutableString[] array)
          Deprecated. Loads mutable strings from an output stream in self-delimiting UTF-8 format and stores then in an array.
static void loadMutableStringsSelfDelimUTF8(InputStream is, MutableString[] array, int offset, int length)
          Deprecated. Loads mutable strings from an output stream in self-delimiting UTF-8 format and stores then in an array fragment.
static void storeMutableStringsSelfDelimUTF8(MutableString[] array, CharSequence filename)
          Deprecated. Stores an array of mutable strings writing to a file in self-delimiting UTF-8 format.
static void storeMutableStringsSelfDelimUTF8(MutableString[] array, int offset, int length, CharSequence filename)
          Deprecated. Stores a fragment of an array of mutable strings writing to a file in self-delimiting UTF-8 format.
static void storeMutableStringsSelfDelimUTF8(MutableString[] array, int offset, int length, OutputStream os)
          Deprecated. Stores a fragment of an array of mutable strings writing to an output stream in self-delimiting UTF-8 format.
static void storeMutableStringsSelfDelimUTF8(MutableString[] array, OutputStream os)
          Deprecated. Stores an array of mutable strings writing to an output stream in self-delimiting UTF-8 format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_ARRAY

public static final MutableString[] EMPTY_ARRAY
Deprecated. 
Method Detail

storeMutableStringsSelfDelimUTF8

public static void storeMutableStringsSelfDelimUTF8(MutableString[] array,
                                                    int offset,
                                                    int length,
                                                    OutputStream os)
                                             throws IOException
Deprecated. 
Stores a fragment of an array of mutable strings writing to an output stream in self-delimiting UTF-8 format.

Parameters:
array - an array of mutable strings.
offset - the first string to be stored.
length - the number of strings to be stored.
os - an output stream.
Throws:
IOException

storeMutableStringsSelfDelimUTF8

public static void storeMutableStringsSelfDelimUTF8(MutableString[] array,
                                                    OutputStream os)
                                             throws IOException
Deprecated. 
Stores an array of mutable strings writing to an output stream in self-delimiting UTF-8 format.

Parameters:
array - an array of mutable strings.
os - an output stream.
Throws:
IOException

storeMutableStringsSelfDelimUTF8

public static void storeMutableStringsSelfDelimUTF8(MutableString[] array,
                                                    int offset,
                                                    int length,
                                                    CharSequence filename)
                                             throws IOException
Deprecated. 
Stores a fragment of an array of mutable strings writing to a file in self-delimiting UTF-8 format.

Parameters:
array - an array of mutable strings.
offset - the first string to be stored.
length - the number of strings to be stored.
filename - a filename.
Throws:
IOException

storeMutableStringsSelfDelimUTF8

public static void storeMutableStringsSelfDelimUTF8(MutableString[] array,
                                                    CharSequence filename)
                                             throws IOException
Deprecated. 
Stores an array of mutable strings writing to a file in self-delimiting UTF-8 format.

Parameters:
array - an array of mutable strings.
filename - a filename.
Throws:
IOException

loadMutableStringsSelfDelimUTF8

public static void loadMutableStringsSelfDelimUTF8(InputStream is,
                                                   MutableString[] array,
                                                   int offset,
                                                   int length)
                                            throws IOException
Deprecated. 
Loads mutable strings from an output stream in self-delimiting UTF-8 format and stores then in an array fragment.

Parameters:
is - an input stream.
array - an array of mutable strings.
offset - the first element of the array to be written.
length - the number of strings to be loaded.
Throws:
IOException

loadMutableStringsSelfDelimUTF8

public static void loadMutableStringsSelfDelimUTF8(InputStream is,
                                                   MutableString[] array)
                                            throws IOException
Deprecated. 
Loads mutable strings from an output stream in self-delimiting UTF-8 format and stores then in an array.

Parameters:
is - an input stream.
array - an array of mutable strings.
Throws:
IOException

loadMutableStringsSelfDelimUTF8

public static void loadMutableStringsSelfDelimUTF8(CharSequence filename,
                                                   MutableString[] array,
                                                   int offset,
                                                   int length)
                                            throws IOException
Deprecated. 
Loads mutable strings from a file in self-delimiting UTF-8 format and stores then in an array fragment.

Parameters:
filename - a filename.
array - an array of mutable strings.
offset - the first element of the array to be written.
length - the number of strings to be loaded.
Throws:
IOException

loadMutableStringsSelfDelimUTF8

public static void loadMutableStringsSelfDelimUTF8(CharSequence filename,
                                                   MutableString[] array)
                                            throws IOException
Deprecated. 
Loads mutable strings from a file in self-delimiting UTF-8 format and stores then in an array.

Parameters:
filename - a filename.
array - an array of mutable strings.
Throws:
IOException