public interface IDataWriter<T>
| Modifier and Type | Method and Description |
|---|---|
default java.io.File |
writeToFile(java.lang.String fileName,
java.util.List<T> objects)
Write the objects (list) to a file.
|
default java.io.File |
writeToFile(java.lang.String fileName,
T... objects)
Write the objects (array/varargs) to a file.
|
java.lang.String |
writeToString(java.util.List<T> objects)
Write the specified objects (list) to a string.
|
default java.lang.String |
writeToString(T... objects)
Write the specified objects (array/ varargs) to a string.
|
default java.io.File writeToFile(java.lang.String fileName,
java.util.List<T> objects)
fileName - the file to be written toobjects - the objects to be writtenwriteToString(List)default java.io.File writeToFile(java.lang.String fileName,
T... objects)
fileName - the file to be written toobjects - the objects to be writtenwriteToFile(String, List)java.lang.String writeToString(java.util.List<T> objects)
objects - to be writtendefault java.lang.String writeToString(T... objects)
objects - to be writtenwriteToString(List)