public abstract class StoreUtils
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
BUFFER_SIZE |
| Constructor and Description |
|---|
StoreUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int |
copy(java.io.InputStream in,
DataStoreWriter<byte[]> out)
Copy the contents of the given InputStream to the given DataStoreWriter.
|
static int |
copyStream(java.io.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(java.io.InputStream in,
DataStoreWriter<byte[]> out)
throws java.io.IOException
in - the input streamout - the data store writerjava.io.IOException - Signals that an I/O exception has occurred.public static int copyStream(java.io.InputStream in,
DataStoreWriter<byte[]> out)
throws java.io.IOException
in - the input streamout - the data store writerjava.io.IOException - Signals that an I/O exception has occurred.