public class QueueReadHandler extends JsonReadHandler
m_reader| Constructor and Description |
|---|
QueueReadHandler(JsonReader reader) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(ca.uqac.lif.json.JsonElement o)
Indicates whether this handler can take care of reading a particular
object.
|
java.util.Queue<?> |
handle(ca.uqac.lif.json.JsonElement o)
Reads an object
|
public QueueReadHandler(JsonReader reader)
public boolean canHandle(ca.uqac.lif.json.JsonElement o)
throws ReadException
ReadHandlero - The serialized version of the objectReadException - The internal object printerpublic java.util.Queue<?> handle(ca.uqac.lif.json.JsonElement o)
throws ReadException
ReadHandlero - The serialized version of the objectReadException - Thrown if the object cannot be readCopyright © Sylvain HallĂ©. All Rights Reserved.