Package org.ojalgo.netio
Interface ToFileWriter<T>
- All Superinterfaces:
AutoCloseable
,AutoConsumer<T>
,AutoFunctional
,Closeable
,Consumer<T>
- All Known Implementing Classes:
DataWriter
,TextLineWriter
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface org.ojalgo.type.function.AutoConsumer
NULL
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
close()
static void
Make sure this directory exists, create if necessarystatic ToFileWriter.Builder
newBuilder
(File... file) static ToFileWriter.Builder
newBuilder
(ShardedFile shards) static OutputStream
static <T extends Serializable>
voidserializeObjectToFile
(T object, File file) Methods inherited from interface org.ojalgo.type.function.AutoConsumer
accept, write, writeBatch
-
Method Details
-
mkdirs
Make sure this directory exists, create if necessary -
newBuilder
-
newBuilder
-
output
-
serializeObjectToFile
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceAutoConsumer<T>
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-