public class TapeStringListConverter extends Object implements com.squareup.tape.FileObjectQueue.Converter<List<String>>
Modifier and Type | Method and Description |
---|---|
List<String> |
from(byte[] bytes) |
static TapeStringListConverter |
getCompressionEnabledInstance()
Returns the TapeStringListConverter object instance with LZ4 compression enabled
|
static TapeStringListConverter |
getDefaultInstance()
Returns the TapeStringListConverter object instance with default settings (no compression)
|
void |
toStream(List<String> stringList,
OutputStream outputStream) |
public static TapeStringListConverter getDefaultInstance()
TapeStringListConverter
object instancepublic static TapeStringListConverter getCompressionEnabledInstance()
TapeStringListConverter
object instancepublic List<String> from(byte[] bytes) throws IOException
from
in interface com.squareup.tape.FileObjectQueue.Converter<List<String>>
IOException
public void toStream(List<String> stringList, OutputStream outputStream) throws IOException
toStream
in interface com.squareup.tape.FileObjectQueue.Converter<List<String>>
IOException
Copyright © 2017. All rights reserved.