public class JSONParser extends net.lecousin.framework.concurrent.Task.Cpu<Object,Exception>
net.lecousin.framework.concurrent.Task.Cpu.FromRunnable, net.lecousin.framework.concurrent.Task.Cpu.FromSupplierThrows<T,TError extends Exception>, net.lecousin.framework.concurrent.Task.Cpu.Parameter<TParam,TResult,TError extends Exception>net.lecousin.framework.concurrent.Task.Cpu<T,TError extends Exception>, net.lecousin.framework.concurrent.Task.Done<T,TError extends Exception>, net.lecousin.framework.concurrent.Task.OnFile<T,TError extends Exception>, net.lecousin.framework.concurrent.Task.Output, net.lecousin.framework.concurrent.Task.Unmanaged<TResult,TError extends Exception>NB_PRIORITES, PRIORITY_BACKGROUND, PRIORITY_IMPORTANT, PRIORITY_LOW, PRIORITY_NORMAL, PRIORITY_RATHER_IMPORTANT, PRIORITY_RATHER_LOW, PRIORITY_TOP, PRIORITY_URGENT, STATUS_BLOCKED, STATUS_DONE, STATUS_EXECUTED, STATUS_NOT_STARTED, STATUS_RUNNING, STATUS_STARTED_READY, STATUS_STARTED_WAITING, taskJoin| Constructor and Description |
|---|
JSONParser(net.lecousin.framework.io.text.ICharacterStream.Readable.Buffered io,
byte priority)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static net.lecousin.framework.concurrent.async.AsyncSupplier<Object,Exception> |
parse(net.lecousin.framework.io.text.ICharacterStream.Readable.Buffered io,
byte priority)
Utility method to parse a JSON structure.
|
Object |
run() |
cancel, cancelIfExecutionNotStarted, changeNextExecutionTime, ensureUnblocked, executeAgainAt, executeAgainIn, executeAt, executeEvery, executeIn, executeNextOccurenceNow, executeNextOccurenceNow, getApplication, getCancelEvent, getDescription, getError, getMaxBlockingTimeInNanoBeforeToLog, getOutput, getPriority, getResult, getStatus, getTaskManager, hasError, isCancelled, isCancelling, isDone, isRunning, isStarted, isSuccessful, ondone, setDescription, setDone, setError, setPriority, start, startOn, startOn, startOnDone, stopRepeat, toStringpublic JSONParser(net.lecousin.framework.io.text.ICharacterStream.Readable.Buffered io,
byte priority)
Copyright © 2019. All rights reserved.