Package prompto.server
Class JsonRecordsWriter
- java.lang.Object
-
- prompto.server.JsonRecordsWriter
-
public class JsonRecordsWriter extends Object
-
-
Constructor Summary
Constructors Constructor Description JsonRecordsWriter(OutputStream output, Function<String,prompto.store.AttributeInfo> fetcher, prompto.store.IStore store, boolean loadChildren)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwriteRecord(prompto.store.IStored fetched)voidwriteRecords(Object fetched)
-
-
-
Constructor Detail
-
JsonRecordsWriter
public JsonRecordsWriter(OutputStream output, Function<String,prompto.store.AttributeInfo> fetcher, prompto.store.IStore store, boolean loadChildren) throws IOException
- Throws:
IOException
-
-
Method Detail
-
writeRecords
public void writeRecords(Object fetched) throws IOException
- Throws:
IOException
-
writeRecord
public void writeRecord(prompto.store.IStored fetched) throws IOException- Throws:
IOException
-
-