Class ComplexDataParser.KeyedCellCollectionWriter
java.lang.Object
com.terracottatech.store.definition.ComplexDataParser.KeyedCellCollectionWriter
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
- ComplexDataParser
-
Constructor Summary
ConstructorsConstructorDescriptionKeyedCellCollectionWriter(Writer writer) Constructor for a specific Writer and using the default line seperator. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidwrite(KeyedCellCollection<?> collection, boolean compact) Write a keyed cell collection
-
Constructor Details
-
KeyedCellCollectionWriter
Constructor for a specific Writer and using the default line seperator.- Parameters:
writer- Writer
-
-
Method Details
-
write
Write a keyed cell collection- Parameters:
collection- collection to writecompact- compact or not- Throws:
IOException- on exception
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-