public abstract class StoreUtils extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static int | BUFFER_SIZE | 
| Constructor and Description | 
|---|
| StoreUtils() | 
| Modifier and Type | Method and Description | 
|---|---|
| static int | copy(InputStream in,
    DataStoreWriter<byte[]> out)Copy the contents of the given InputStream to the given DataStoreWriter. | 
| static int | copyStream(InputStream in,
          DataStoreWriter<byte[]> out)Copy the contents of the given InputStream to the given DataStoreWriter. | 
| static byte[] | getUTF8CsvDelimiter()Gets the default utf8 csv delimiter. | 
| static byte[] | getUTF8DefaultDelimiter()Gets the default utf8 delimiter. | 
| static byte[] | getUTF8TabDelimiter()Gets the default utf8 tab delimiter. | 
public static final int BUFFER_SIZE
public static byte[] getUTF8DefaultDelimiter()
public static byte[] getUTF8CsvDelimiter()
public static byte[] getUTF8TabDelimiter()
public static int copy(InputStream in, DataStoreWriter<byte[]> out) throws IOException
in - the input streamout - the data store writerIOException - Signals that an I/O exception has occurred.public static int copyStream(InputStream in, DataStoreWriter<byte[]> out) throws IOException
in - the input streamout - the data store writerIOException - Signals that an I/O exception has occurred.