A B C D E F G H I J K L M N O P Q R S T U V W X Z 

A

AbstractRouter - Class in org.lionsoul.jcseg.server.core
abstract router
AbstractRouter(Class<? extends Controller>) - Constructor for class org.lionsoul.jcseg.server.core.AbstractRouter
construct method
accumulate(String, Object) - Method in class org.lionsoul.jcseg.json.JSONObject
Accumulate values under a key.
addConfig(String, JcsegTaskConfig) - Method in class org.lionsoul.jcseg.server.JcsegGlobalResource
add a new JcsegTaskConfig mapping
addDict(String, ADictionary) - Method in class org.lionsoul.jcseg.server.JcsegGlobalResource
add a new Dictionary instance mapping
addMapping(String, Class<? extends Controller>) - Method in class org.lionsoul.jcseg.server.core.AbstractRouter
add new mapping
addMapping(String, Class<? extends Controller>) - Method in class org.lionsoul.jcseg.server.core.ContextRouter
 
addMapping(String, Class<? extends Controller>) - Method in class org.lionsoul.jcseg.server.core.DynamicRestRouter
 
addResource(Object, Object) - Method in class org.lionsoul.jcseg.server.core.GlobalResource
 
addTokenizerEntry(String, JcsegTokenizerEntry) - Method in class org.lionsoul.jcseg.server.JcsegGlobalResource
add a new tokenizer entry to entry pool
AMP - Static variable in class org.lionsoul.jcseg.json.XML
The Character '&'.
APOS - Static variable in class org.lionsoul.jcseg.json.XML
The Character '''.
appBasePath - Variable in class org.lionsoul.jcseg.server.core.ServerConfig
static resouce base path
append(String, Object) - Method in class org.lionsoul.jcseg.json.JSONObject
Append values to the array under a key.
array() - Method in class org.lionsoul.jcseg.json.JSONWriter
Begin appending a new array.

B

back() - Method in class org.lionsoul.jcseg.json.JSONTokener
Back up one character.
BANG - Static variable in class org.lionsoul.jcseg.json.XML
The Character '!'.
baseRequest - Variable in class org.lionsoul.jcseg.server.core.Controller
original base request
bcd - Static variable in class org.lionsoul.jcseg.json.zip.JSONzip
The characters in JSON numbers can be reduced to 4 bits each.
bit() - Method in class org.lionsoul.jcseg.json.zip.BitInputStream
Read one bit.
bit() - Method in interface org.lionsoul.jcseg.json.zip.BitReader
Read one bit.
BitInputStream - Class in org.lionsoul.jcseg.json.zip
This is a big endian bit reader.
BitInputStream(InputStream) - Constructor for class org.lionsoul.jcseg.json.zip.BitInputStream
Make a BitReader from an InputStream.
BitOutputStream - Class in org.lionsoul.jcseg.json.zip
This is a big endian bit writer.
BitOutputStream(OutputStream) - Constructor for class org.lionsoul.jcseg.json.zip.BitOutputStream
Use an OutputStream to produce a BitWriter.
BitReader - Interface in org.lionsoul.jcseg.json.zip
 
BitWriter - Interface in org.lionsoul.jcseg.json.zip
A bitwriter is a an interface that allows for doing output at the bit level.

C

CDL - Class in org.lionsoul.jcseg.json
This provides static methods to convert comma delimited text into a JSONArray, and to covert a JSONArray into comma delimited text.
CDL() - Constructor for class org.lionsoul.jcseg.json.CDL
 
characterAt(int) - Method in class org.lionsoul.jcseg.json.Kim
Returns the character at the specified index.
characterSize(int) - Static method in class org.lionsoul.jcseg.json.Kim
Returns the number of bytes needed to contain the character in Kim format.
charset - Variable in class org.lionsoul.jcseg.server.core.ServerConfig
default charset
config - Variable in class org.lionsoul.jcseg.server.core.Controller
global server configuration
ContextRouter - Class in org.lionsoul.jcseg.server.core
context router - only when it perfect match this router implements paths map a/b, a/b/* to a controller class
ContextRouter(Class<? extends Controller>) - Constructor for class org.lionsoul.jcseg.server.core.ContextRouter
 
Controller - Class in org.lionsoul.jcseg.server.core
base Contoller class
Controller(ServerConfig, GlobalResource, UriEntry, Request, HttpServletRequest, HttpServletResponse) - Constructor for class org.lionsoul.jcseg.server.core.Controller
contruct method
Cookie - Class in org.lionsoul.jcseg.json
Convert a web browser cookie specification to a JSONObject and back.
Cookie() - Constructor for class org.lionsoul.jcseg.json.Cookie
 
CookieList - Class in org.lionsoul.jcseg.json
Convert a web browser cookie list string to a JSONObject and back.
CookieList() - Constructor for class org.lionsoul.jcseg.json.CookieList
 
copy(byte[], int) - Method in class org.lionsoul.jcseg.json.Kim
Copy the contents of this kim to a byte array.
create() - Static method in class org.lionsoul.jcseg.server.core.JSONWriter
quick lancher
CRLF - Static variable in class org.lionsoul.jcseg.json.HTTP
Carriage return/line feed.

D

decode() - Method in class org.lionsoul.jcseg.json.zip.Unzipper
 
defaultController - Variable in class org.lionsoul.jcseg.server.core.AbstractRouter
the default controller
dehexchar(char) - Static method in class org.lionsoul.jcseg.json.JSONTokener
Get the hex value of a character (base16).
doubleToString(double) - Static method in class org.lionsoul.jcseg.json.JSONObject
Produce a string from a double.
DynamicRestRouter - Class in org.lionsoul.jcseg.server.core
rest style router
DynamicRestRouter(String, Class<? extends Controller>) - Constructor for class org.lionsoul.jcseg.server.core.DynamicRestRouter
 

E

education - Static variable in class org.lionsoul.jcseg.json.zip.Huff
The number of characters to process before generation is no longer done.
encode(JSONObject) - Method in class org.lionsoul.jcseg.json.zip.Zipper
Encode a JSONObject.
encode(JSONArray) - Method in class org.lionsoul.jcseg.json.zip.Zipper
Encode a JSONArray.
end() - Method in class org.lionsoul.jcseg.json.JSONTokener
 
end - Static variable in class org.lionsoul.jcseg.json.zip.JSONzip
The end of string code.
endArray() - Method in class org.lionsoul.jcseg.json.JSONWriter
End an array.
endObject() - Method in class org.lionsoul.jcseg.json.JSONWriter
End an object.
endOfNumber - Static variable in class org.lionsoul.jcseg.json.zip.JSONzip
The end of number code.
entity - Static variable in class org.lionsoul.jcseg.json.XMLTokener
The table of entity values.
EQ - Static variable in class org.lionsoul.jcseg.json.XML
The Character '='.
equals(Object) - Method in class org.lionsoul.jcseg.json.Kim
Two kim objects containing exactly the same bytes in the same order are equal to each other.
escape(String) - Static method in class org.lionsoul.jcseg.json.Cookie
Produce a copy of a string in which the characters '+', '%', '=', ';' and control characters are replaced with "%hh".
escape(String) - Static method in class org.lionsoul.jcseg.json.XML
Replace special characters with XML escapes:

F

flush() - Method in class org.lionsoul.jcseg.json.zip.Zipper
Finish the final byte and flush the bitwriter.

G

generate() - Method in class org.lionsoul.jcseg.json.zip.Huff
Generate the encoding/decoding table.
generate() - Method in class org.lionsoul.jcseg.json.zip.JSONzip
Generate the Huffman tables.
get(int) - Method in class org.lionsoul.jcseg.json.JSONArray
Get the object value associated with an index.
get(String) - Method in class org.lionsoul.jcseg.json.JSONObject
Get the value object associated with a key.
get(int) - Method in class org.lionsoul.jcseg.json.Kim
Get a byte from a kim.
get(int) - Method in class org.lionsoul.jcseg.server.core.UriEntry
the specifiled part of the request uri
get(E) - Method in class org.lionsoul.jcseg.server.util.LRUCache
get a element from map with specified key
getAlgorithm() - Method in class org.lionsoul.jcseg.server.JcsegTokenizerEntry
 
getAppBasePath() - Method in class org.lionsoul.jcseg.server.core.ServerConfig
 
getBoolean(int) - Method in class org.lionsoul.jcseg.json.JSONArray
Get the boolean value associated with an index.
getBoolean(String) - Method in class org.lionsoul.jcseg.json.JSONObject
Get the boolean value associated with a key.
getBoolean(String) - Method in class org.lionsoul.jcseg.server.core.Controller
get a boolean argument
getBoolean(String, boolean) - Method in class org.lionsoul.jcseg.server.core.Controller
 
getCause() - Method in exception org.lionsoul.jcseg.json.JSONException
Returns the cause of this exception or null if the cause is nonexistent or unknown.
getCharset() - Method in class org.lionsoul.jcseg.server.core.ServerConfig
 
getConfig(String) - Method in class org.lionsoul.jcseg.server.JcsegGlobalResource
get the specifield config
getConfig() - Method in class org.lionsoul.jcseg.server.JcsegTokenizerEntry
 
getConfigFile() - Method in class org.lionsoul.jcseg.server.JcsegServerConfig
 
getController(UriEntry) - Method in class org.lionsoul.jcseg.server.core.AbstractRouter
get controller
getController(UriEntry) - Method in class org.lionsoul.jcseg.server.core.ContextRouter
 
getController(UriEntry) - Method in class org.lionsoul.jcseg.server.core.DynamicRestRouter
 
getController() - Method in class org.lionsoul.jcseg.server.core.UriEntry
 
getDict(String) - Method in class org.lionsoul.jcseg.server.JcsegGlobalResource
get the specifield dictionary
getDict() - Method in class org.lionsoul.jcseg.server.JcsegTokenizerEntry
 
getDouble(int) - Method in class org.lionsoul.jcseg.json.JSONArray
Get the double value associated with an index.
getDouble(String) - Method in class org.lionsoul.jcseg.json.JSONObject
Get the double value associated with a key.
getDouble(String) - Method in class org.lionsoul.jcseg.server.core.Controller
get a double argument
getDouble(String, double) - Method in class org.lionsoul.jcseg.server.core.Controller
 
getEncodeString(String) - Method in class org.lionsoul.jcseg.server.core.Controller
 
getFloat(String) - Method in class org.lionsoul.jcseg.server.core.Controller
get a float arguments
getFloat(String, float) - Method in class org.lionsoul.jcseg.server.core.Controller
 
getGlobalConfig() - Method in class org.lionsoul.jcseg.server.JcsegServerConfig
 
getHost() - Method in class org.lionsoul.jcseg.server.core.ServerConfig
 
getHttpIdleTimeout() - Method in class org.lionsoul.jcseg.server.core.ServerConfig
 
getInt(int) - Method in class org.lionsoul.jcseg.json.JSONArray
Get the int value associated with an index.
getInt(String) - Method in class org.lionsoul.jcseg.json.JSONObject
Get the int value associated with a key.
getInt(String) - Method in class org.lionsoul.jcseg.server.core.Controller
get a integer arguments
getInt(String, int) - Method in class org.lionsoul.jcseg.server.core.Controller
 
getJSONArray(int) - Method in class org.lionsoul.jcseg.json.JSONArray
Get the JSONArray associated with an index.
getJSONArray(String) - Method in class org.lionsoul.jcseg.json.JSONObject
Get the JSONArray value associated with a key.
getJSONObject(int) - Method in class org.lionsoul.jcseg.json.JSONArray
Get the JSONObject associated with an index.
getJSONObject(String) - Method in class org.lionsoul.jcseg.json.JSONObject
Get the JSONObject value associated with a key.
getLength() - Method in class org.lionsoul.jcseg.server.controller.TokenizerController.WordEntry
 
getLength() - Method in class org.lionsoul.jcseg.server.core.UriEntry
get the length of the parts
getLength() - Method in class org.lionsoul.jcseg.server.util.LRUCache
return the length of list
getLong(int) - Method in class org.lionsoul.jcseg.json.JSONArray
Get the long value associated with an index.
getLong(String) - Method in class org.lionsoul.jcseg.json.JSONObject
Get the long value associated with a key.
getLong(String) - Method in class org.lionsoul.jcseg.server.core.Controller
get a long argument
getLong(String, long) - Method in class org.lionsoul.jcseg.server.core.Controller
 
getMaxThreadPoolSize() - Method in class org.lionsoul.jcseg.server.core.ServerConfig
 
getMethod() - Method in class org.lionsoul.jcseg.server.core.UriEntry
 
getNames(JSONObject) - Static method in class org.lionsoul.jcseg.json.JSONObject
Get an array of field names from a JSONObject.
getNames(Object) - Static method in class org.lionsoul.jcseg.json.JSONObject
Get an array of field names from an Object.
getOutputBufferSize() - Method in class org.lionsoul.jcseg.server.core.ServerConfig
 
getPartSpeech() - Method in class org.lionsoul.jcseg.server.controller.TokenizerController.WordEntry
 
getPinYin() - Method in class org.lionsoul.jcseg.server.controller.TokenizerController.WordEntry
 
getPort() - Method in class org.lionsoul.jcseg.server.core.ServerConfig
 
getPosition() - Method in class org.lionsoul.jcseg.server.controller.TokenizerController.WordEntry
 
getRequestHeaderSize() - Method in class org.lionsoul.jcseg.server.core.ServerConfig
 
getRequestUri() - Method in class org.lionsoul.jcseg.server.core.UriEntry
 
getResource(String) - Method in class org.lionsoul.jcseg.server.core.GlobalResource
 
getResponseHeaderSize() - Method in class org.lionsoul.jcseg.server.core.ServerConfig
 
getString(int) - Method in class org.lionsoul.jcseg.json.JSONArray
Get the string associated with an index.
getString(String) - Method in class org.lionsoul.jcseg.json.JSONObject
Get the string associated with a key.
getString(String) - Method in class org.lionsoul.jcseg.server.core.Controller
get a String argument, encoding will be check and Re-encode maybe.
getThreadIdleTimeout() - Method in class org.lionsoul.jcseg.server.core.ServerConfig
 
getTokenizerEntry(String) - Method in class org.lionsoul.jcseg.server.JcsegGlobalResource
get tokenizer entry with specified name
getWord() - Method in class org.lionsoul.jcseg.server.controller.TokenizerController.WordEntry
 
globalResource - Variable in class org.lionsoul.jcseg.server.core.Controller
global resource pool
GlobalResource - Class in org.lionsoul.jcseg.server.core
global resource class
GlobalResource() - Constructor for class org.lionsoul.jcseg.server.core.GlobalResource
 
GT - Static variable in class org.lionsoul.jcseg.json.XML
The Character '>'.

H

handle(String, Request, HttpServletRequest, HttpServletResponse) - Method in class org.lionsoul.jcseg.server.core.StandardHandler
 
handle(String, Request, HttpServletRequest, HttpServletResponse) - Method in class org.lionsoul.jcseg.server.JcsegResourceHandler
 
has(String) - Method in class org.lionsoul.jcseg.json.JSONObject
Determine if the JSONObject contains a specific key.
hashCode() - Method in class org.lionsoul.jcseg.json.Kim
Returns a hash code value for the kim.
host - Variable in class org.lionsoul.jcseg.server.core.ServerConfig
access host
HTTP - Class in org.lionsoul.jcseg.json
Convert an HTTP header to a JSONObject and back.
HTTP() - Constructor for class org.lionsoul.jcseg.json.HTTP
 
httpIdleTimeout - Variable in class org.lionsoul.jcseg.server.core.ServerConfig
http idle timeout in millseconds
HTTPTokener - Class in org.lionsoul.jcseg.json
The HTTPTokener extends the JSONTokener to provide additional methods for the parsing of HTTP headers.
HTTPTokener(String) - Constructor for class org.lionsoul.jcseg.json.HTTPTokener
Construct an HTTPTokener from a string.
Huff - Class in org.lionsoul.jcseg.json.zip
A Huffman encoder/decoder.
Huff(int) - Constructor for class org.lionsoul.jcseg.json.zip.Huff
Construct a Huffman encoder/decoder.

I

increment(String) - Method in class org.lionsoul.jcseg.json.JSONObject
Increment a property of a JSONObject.
initFromGlobalConfig(JSONObject) - Method in class org.lionsoul.jcseg.server.JcsegServer
load configuration.
int14 - Static variable in class org.lionsoul.jcseg.json.zip.JSONzip
The first positive integer that cannot be encoded in 14 bits.
int4 - Static variable in class org.lionsoul.jcseg.json.zip.JSONzip
The first positive integer that cannot be encoded in 4 bits.
int7 - Static variable in class org.lionsoul.jcseg.json.zip.JSONzip
The first positive integer that cannot be encoded in 7 bits.
isDefaultCharset() - Method in class org.lionsoul.jcseg.server.core.ServerConfig
check the server use the default iso-8859-1 chaset
isNull(int) - Method in class org.lionsoul.jcseg.json.JSONArray
Determine if the value is null.
isNull(String) - Method in class org.lionsoul.jcseg.json.JSONObject
Determine if the value associated with the key is null or if there is no value.

J

JcsegController - Class in org.lionsoul.jcseg.server
 
JcsegController(ServerConfig, GlobalResource, UriEntry, Request, HttpServletRequest, HttpServletResponse) - Constructor for class org.lionsoul.jcseg.server.JcsegController
 
JcsegGlobalResource - Class in org.lionsoul.jcseg.server
 
JcsegGlobalResource() - Constructor for class org.lionsoul.jcseg.server.JcsegGlobalResource
construct method
JcsegResourceHandler - Class in org.lionsoul.jcseg.server
resource handler for jcseg server
JcsegResourceHandler() - Constructor for class org.lionsoul.jcseg.server.JcsegResourceHandler
 
JcsegServer - Class in org.lionsoul.jcseg.server
Jcseg RESTful api server
JcsegServer(ServerConfig) - Constructor for class org.lionsoul.jcseg.server.JcsegServer
construct method
JcsegServerConfig - Class in org.lionsoul.jcseg.server
 
JcsegServerConfig(String) - Constructor for class org.lionsoul.jcseg.server.JcsegServerConfig
construct method
JcsegServerConfig() - Constructor for class org.lionsoul.jcseg.server.JcsegServerConfig
 
JcsegTokenizerEntry - Class in org.lionsoul.jcseg.server
TokenizerEntry to save setting for Tokenizer object
JcsegTokenizerEntry(int, JcsegTaskConfig, ADictionary) - Constructor for class org.lionsoul.jcseg.server.JcsegTokenizerEntry
 
JETTY_DEFAULT_CHARSET - Static variable in class org.lionsoul.jcseg.server.core.ServerConfig
 
join(String) - Method in class org.lionsoul.jcseg.json.JSONArray
Make a string from the contents of this JSONArray.
JSONArray - Class in org.lionsoul.jcseg.json
A JSONArray is an ordered sequence of values.
JSONArray() - Constructor for class org.lionsoul.jcseg.json.JSONArray
Construct an empty JSONArray.
JSONArray(JSONTokener) - Constructor for class org.lionsoul.jcseg.json.JSONArray
Construct a JSONArray from a JSONTokener.
JSONArray(String) - Constructor for class org.lionsoul.jcseg.json.JSONArray
Construct a JSONArray from a source JSON text.
JSONArray(Collection<Object>) - Constructor for class org.lionsoul.jcseg.json.JSONArray
Construct a JSONArray from a Collection.
JSONArray(Object) - Constructor for class org.lionsoul.jcseg.json.JSONArray
Construct a JSONArray from an array
JSONException - Exception in org.lionsoul.jcseg.json
The JSONException is thrown by the JSON.org classes when things are amiss.
JSONException(String) - Constructor for exception org.lionsoul.jcseg.json.JSONException
Constructs a JSONException with an explanatory message.
JSONException(Throwable) - Constructor for exception org.lionsoul.jcseg.json.JSONException
Constructs a new JSONException with the specified cause.
JSONML - Class in org.lionsoul.jcseg.json
This provides static methods to convert an XML text into a JSONArray or JSONObject, and to covert a JSONArray or JSONObject into an XML text using the JsonML transform.
JSONML() - Constructor for class org.lionsoul.jcseg.json.JSONML
 
JSONObject - Class in org.lionsoul.jcseg.json
A JSONObject is an unordered collection of name/value pairs.
JSONObject() - Constructor for class org.lionsoul.jcseg.json.JSONObject
Construct an empty JSONObject.
JSONObject(JSONObject, String[]) - Constructor for class org.lionsoul.jcseg.json.JSONObject
Construct a JSONObject from a subset of another JSONObject.
JSONObject(JSONTokener) - Constructor for class org.lionsoul.jcseg.json.JSONObject
Construct a JSONObject from a JSONTokener.
JSONObject(Map<String, Object>) - Constructor for class org.lionsoul.jcseg.json.JSONObject
Construct a JSONObject from a Map.
JSONObject(Object) - Constructor for class org.lionsoul.jcseg.json.JSONObject
Construct a JSONObject from an Object using bean getters.
JSONObject(Object, String[]) - Constructor for class org.lionsoul.jcseg.json.JSONObject
Construct a JSONObject from an Object, using reflection to find the public members.
JSONObject(String) - Constructor for class org.lionsoul.jcseg.json.JSONObject
Construct a JSONObject from a source JSON text string.
JSONObject(String, Locale) - Constructor for class org.lionsoul.jcseg.json.JSONObject
Construct a JSONObject from a ResourceBundle.
JSONString - Interface in org.lionsoul.jcseg.json
The JSONString interface allows a toJSONString() method so that a class can change the behavior of JSONObject.toString(), JSONArray.toString(), and JSONWriter.value(Object).
JSONStringer - Class in org.lionsoul.jcseg.json
JSONStringer provides a quick and convenient way of producing JSON text.
JSONStringer() - Constructor for class org.lionsoul.jcseg.json.JSONStringer
Make a fresh JSONStringer.
JSONTokener - Class in org.lionsoul.jcseg.json
A JSONTokener takes a source string and extracts characters and tokens from it.
JSONTokener(Reader) - Constructor for class org.lionsoul.jcseg.json.JSONTokener
Construct a JSONTokener from a Reader.
JSONTokener(InputStream) - Constructor for class org.lionsoul.jcseg.json.JSONTokener
Construct a JSONTokener from an InputStream.
JSONTokener(String) - Constructor for class org.lionsoul.jcseg.json.JSONTokener
Construct a JSONTokener from a string.
JSONWriter - Class in org.lionsoul.jcseg.json
JSONWriter provides a quick and convenient way of producing JSON text.
JSONWriter(Writer) - Constructor for class org.lionsoul.jcseg.json.JSONWriter
Make a fresh JSONWriter.
JSONWriter - Class in org.lionsoul.jcseg.server.core
json maker
JSONWriter() - Constructor for class org.lionsoul.jcseg.server.core.JSONWriter
construct method
JSONzip - Class in org.lionsoul.jcseg.json.zip
JSONzip is a binary-encoded JSON dialect.
JSONzip() - Constructor for class org.lionsoul.jcseg.json.zip.JSONzip
Initialize the data structures.

K

key(String) - Method in class org.lionsoul.jcseg.json.JSONWriter
Append a key.
KeyphraseController - Class in org.lionsoul.jcseg.server.controller
keyphrase extractor handler
KeyphraseController(ServerConfig, GlobalResource, UriEntry, Request, HttpServletRequest, HttpServletResponse) - Constructor for class org.lionsoul.jcseg.server.controller.KeyphraseController
 
keys() - Method in class org.lionsoul.jcseg.json.JSONObject
Get an enumeration of the keys of the JSONObject.
keySet() - Method in class org.lionsoul.jcseg.json.JSONObject
Get a set of keys of the JSONObject.
KeywordsController - Class in org.lionsoul.jcseg.server.controller
keywords extractor handler
KeywordsController(ServerConfig, GlobalResource, UriEntry, Request, HttpServletRequest, HttpServletResponse) - Constructor for class org.lionsoul.jcseg.server.controller.KeywordsController
 
Kim - Class in org.lionsoul.jcseg.json
Kim makes immutable eight bit Unicode strings.
Kim(byte[], int, int) - Constructor for class org.lionsoul.jcseg.json.Kim
Make a kim from a portion of a byte array.
Kim(byte[], int) - Constructor for class org.lionsoul.jcseg.json.Kim
Make a kim from a byte array.
Kim(Kim, int, int) - Constructor for class org.lionsoul.jcseg.json.Kim
Make a new kim from a substring of an existing kim.
Kim(String) - Constructor for class org.lionsoul.jcseg.json.Kim
Make a kim from a string.

L

length() - Method in class org.lionsoul.jcseg.json.JSONArray
Get the number of elements in the JSONArray, included nulls.
length() - Method in class org.lionsoul.jcseg.json.JSONObject
Get the number of keys stored in the JSONObject.
length - Variable in class org.lionsoul.jcseg.json.Kim
The number of bytes in the kim.
list2JsonString(List<Object>) - Static method in class org.lionsoul.jcseg.server.core.JSONWriter
list to json string
LRUCache<E,T> - Class in org.lionsoul.jcseg.server.util
LRU cache based on HashMap
LRUCache(int) - Constructor for class org.lionsoul.jcseg.server.util.LRUCache
 
LRUCache(int, int) - Constructor for class org.lionsoul.jcseg.server.util.LRUCache
 
LT - Static variable in class org.lionsoul.jcseg.json.XML
The Character '<'.

M

main(String[]) - Static method in class org.lionsoul.jcseg.server.JcsegServer
 
MainController - Class in org.lionsoul.jcseg.server.controller
common error handler
MainController(ServerConfig, GlobalResource, UriEntry, Request, HttpServletRequest, HttpServletResponse) - Constructor for class org.lionsoul.jcseg.server.controller.MainController
 
map2JsonString(Map<String, Object>) - Static method in class org.lionsoul.jcseg.server.core.JSONWriter
map to json string
maxThreadPoolSize - Variable in class org.lionsoul.jcseg.server.core.ServerConfig
max thread size in the thread pool
mode - Variable in class org.lionsoul.jcseg.json.JSONWriter
The current mode.
more() - Method in class org.lionsoul.jcseg.json.JSONTokener
Determine if the source string still contains characters that next() can consume.

N

namehuff - Variable in class org.lionsoul.jcseg.json.zip.JSONzip
A Huffman encoder for names.
namehuffext - Variable in class org.lionsoul.jcseg.json.zip.JSONzip
A Huffman encoder for names extended bytes.
namekeep - Variable in class org.lionsoul.jcseg.json.zip.JSONzip
A place to keep the names (keys).
names() - Method in class org.lionsoul.jcseg.json.JSONObject
Produce a JSONArray containing the names of the elements of this JSONObject.
next() - Method in class org.lionsoul.jcseg.json.JSONTokener
Get the next character in the source string.
next(char) - Method in class org.lionsoul.jcseg.json.JSONTokener
Consume the next character, and check that it matches a specified character.
next(int) - Method in class org.lionsoul.jcseg.json.JSONTokener
Get the next n characters.
nextCDATA() - Method in class org.lionsoul.jcseg.json.XMLTokener
Get the text in the CDATA block.
nextClean() - Method in class org.lionsoul.jcseg.json.JSONTokener
Get the next char in the string, skipping whitespace.
nextContent() - Method in class org.lionsoul.jcseg.json.XMLTokener
Get the next XML outer token, trimming whitespace.
nextEntity(char) - Method in class org.lionsoul.jcseg.json.XMLTokener
Return the next entity.
nextMeta() - Method in class org.lionsoul.jcseg.json.XMLTokener
Returns the next XML meta token.
nextString(char) - Method in class org.lionsoul.jcseg.json.JSONTokener
Return the characters up to the next close quote character.
nextTo(char) - Method in class org.lionsoul.jcseg.json.JSONTokener
Get the text up but not including the specified character or the end of line, whichever comes first.
nextTo(String) - Method in class org.lionsoul.jcseg.json.JSONTokener
Get the text up but not including one of the specified delimiter characters or the end of line, whichever comes first.
nextToken() - Method in class org.lionsoul.jcseg.json.HTTPTokener
Get the next token or string.
nextToken() - Method in class org.lionsoul.jcseg.json.XMLTokener
Get the next XML Token.
nextValue() - Method in class org.lionsoul.jcseg.json.JSONTokener
Get the next value.
None - Interface in org.lionsoul.jcseg.json.zip
None is an interface that makes the constant none (short for negative one or long for -1) available to any class that implements it.
none - Static variable in interface org.lionsoul.jcseg.json.zip.None
Negative One.
noSpace(String) - Static method in class org.lionsoul.jcseg.json.XML
Throw an exception if the string contains whitespace.
nrBits() - Method in class org.lionsoul.jcseg.json.zip.BitInputStream
Get the number of bits that have been read from this BitInputStream.
nrBits() - Method in class org.lionsoul.jcseg.json.zip.BitOutputStream
Returns the number of bits that have been written to this bitOutputStream.
nrBits() - Method in interface org.lionsoul.jcseg.json.zip.BitReader
Returns the number of bits that have been read from this bitreader.
NULL - Static variable in class org.lionsoul.jcseg.json.JSONObject
It is sometimes more convenient and less ambiguous to have a NULL object than to use Java's null value.
numberToString(Number) - Static method in class org.lionsoul.jcseg.json.JSONObject
Produce a string from a Number.

O

object() - Method in class org.lionsoul.jcseg.json.JSONWriter
Begin appending a new object.
one() - Method in class org.lionsoul.jcseg.json.zip.BitOutputStream
Write a 1 bit.
one() - Method in interface org.lionsoul.jcseg.json.zip.BitWriter
Write a 1 bit.
opt(int) - Method in class org.lionsoul.jcseg.json.JSONArray
Get the optional object value associated with an index.
opt(String) - Method in class org.lionsoul.jcseg.json.JSONObject
Get an optional value associated with a key.
optBoolean(int) - Method in class org.lionsoul.jcseg.json.JSONArray
Get the optional boolean value associated with an index.
optBoolean(int, boolean) - Method in class org.lionsoul.jcseg.json.JSONArray
Get the optional boolean value associated with an index.
optBoolean(String) - Method in class org.lionsoul.jcseg.json.JSONObject
Get an optional boolean associated with a key.
optBoolean(String, boolean) - Method in class org.lionsoul.jcseg.json.JSONObject
Get an optional boolean associated with a key.
optDouble(int) - Method in class org.lionsoul.jcseg.json.JSONArray
Get the optional double value associated with an index.
optDouble(int, double) - Method in class org.lionsoul.jcseg.json.JSONArray
Get the optional double value associated with an index.
optDouble(String) - Method in class org.lionsoul.jcseg.json.JSONObject
Get an optional double associated with a key, or NaN if there is no such key or if its value is not a number.
optDouble(String, double) - Method in class org.lionsoul.jcseg.json.JSONObject
Get an optional double associated with a key, or the defaultValue if there is no such key or if its value is not a number.
optInt(int) - Method in class org.lionsoul.jcseg.json.JSONArray
Get the optional int value associated with an index.
optInt(int, int) - Method in class org.lionsoul.jcseg.json.JSONArray
Get the optional int value associated with an index.
optInt(String) - Method in class org.lionsoul.jcseg.json.JSONObject
Get an optional int value associated with a key, or zero if there is no such key or if the value is not a number.
optInt(String, int) - Method in class org.lionsoul.jcseg.json.JSONObject
Get an optional int value associated with a key, or the default if there is no such key or if the value is not a number.
optJSONArray(int) - Method in class org.lionsoul.jcseg.json.JSONArray
Get the optional JSONArray associated with an index.
optJSONArray(String) - Method in class org.lionsoul.jcseg.json.JSONObject
Get an optional JSONArray associated with a key.
optJSONObject(int) - Method in class org.lionsoul.jcseg.json.JSONArray
Get the optional JSONObject associated with an index.
optJSONObject(String) - Method in class org.lionsoul.jcseg.json.JSONObject
Get an optional JSONObject associated with a key.
optLong(int) - Method in class org.lionsoul.jcseg.json.JSONArray
Get the optional long value associated with an index.
optLong(int, long) - Method in class org.lionsoul.jcseg.json.JSONArray
Get the optional long value associated with an index.
optLong(String) - Method in class org.lionsoul.jcseg.json.JSONObject
Get an optional long value associated with a key, or zero if there is no such key or if the value is not a number.
optLong(String, long) - Method in class org.lionsoul.jcseg.json.JSONObject
Get an optional long value associated with a key, or the default if there is no such key or if the value is not a number.
optString(int) - Method in class org.lionsoul.jcseg.json.JSONArray
Get the optional string value associated with an index.
optString(int, String) - Method in class org.lionsoul.jcseg.json.JSONArray
Get the optional string associated with an index.
optString(String) - Method in class org.lionsoul.jcseg.json.JSONObject
Get an optional string associated with a key.
optString(String, String) - Method in class org.lionsoul.jcseg.json.JSONObject
Get an optional string associated with a key.
org.lionsoul.jcseg.json - package org.lionsoul.jcseg.json
 
org.lionsoul.jcseg.json.zip - package org.lionsoul.jcseg.json.zip
 
org.lionsoul.jcseg.server - package org.lionsoul.jcseg.server
 
org.lionsoul.jcseg.server.controller - package org.lionsoul.jcseg.server.controller
 
org.lionsoul.jcseg.server.core - package org.lionsoul.jcseg.server.core
 
org.lionsoul.jcseg.server.util - package org.lionsoul.jcseg.server.util
 
output - Variable in class org.lionsoul.jcseg.server.core.Controller
output
outputBufferSize - Variable in class org.lionsoul.jcseg.server.core.ServerConfig
output buffer size

P

pad(int) - Method in class org.lionsoul.jcseg.json.zip.BitInputStream
Check that the rest of the block has been padded with zeroes.
pad(int) - Method in class org.lionsoul.jcseg.json.zip.BitOutputStream
Pad the rest of the block with zeros and flush.
pad(int) - Method in interface org.lionsoul.jcseg.json.zip.BitReader
Check that the rest of the block has been padded with zeros.
pad(int) - Method in interface org.lionsoul.jcseg.json.zip.BitWriter
Pad the rest of the block with zeros and flush.
pad(int) - Method in class org.lionsoul.jcseg.json.zip.Unzipper
The pad method skips the bits that padded a stream to fit some allocation.
pad(int) - Method in class org.lionsoul.jcseg.json.zip.Zipper
Pad the output to fill an allotment of bits.
parseRequestUri(String) - Static method in class org.lionsoul.jcseg.server.core.UriEntry
parse a given request uri to generate a new UriEntry instance and return it
port - Variable in class org.lionsoul.jcseg.server.core.ServerConfig
server port
postMortem(PostMortem) - Method in class org.lionsoul.jcseg.json.zip.Huff
Compare two Huffman tables.
postMortem(PostMortem) - Method in class org.lionsoul.jcseg.json.zip.JSONzip
This method is used for testing the implementation of JSONzip.
PostMortem - Interface in org.lionsoul.jcseg.json.zip
The PostMortem interface allows for testing the internal state of JSONzip processors.
postMortem(PostMortem) - Method in interface org.lionsoul.jcseg.json.zip.PostMortem
Determine if two objects are equivalent.
printList() - Method in class org.lionsoul.jcseg.server.util.LRUCache
print the list
probe - Static variable in class org.lionsoul.jcseg.json.zip.JSONzip
The package supports tracing for debugging.
Property - Class in org.lionsoul.jcseg.json
Converts a Property file data into JSONObject and back.
Property() - Constructor for class org.lionsoul.jcseg.json.Property
 
put(boolean) - Method in class org.lionsoul.jcseg.json.JSONArray
Append a boolean value.
put(Collection<Object>) - Method in class org.lionsoul.jcseg.json.JSONArray
Put a value in the JSONArray, where the value will be a JSONArray which is produced from a Collection.
put(double) - Method in class org.lionsoul.jcseg.json.JSONArray
Append a double value.
put(int) - Method in class org.lionsoul.jcseg.json.JSONArray
Append an int value.
put(long) - Method in class org.lionsoul.jcseg.json.JSONArray
Append an long value.
put(Map<String, Object>) - Method in class org.lionsoul.jcseg.json.JSONArray
Put a value in the JSONArray, where the value will be a JSONObject which is produced from a Map.
put(Object) - Method in class org.lionsoul.jcseg.json.JSONArray
Append an object value.
put(int, boolean) - Method in class org.lionsoul.jcseg.json.JSONArray
Put or replace a boolean value in the JSONArray.
put(int, Collection<Object>) - Method in class org.lionsoul.jcseg.json.JSONArray
Put a value in the JSONArray, where the value will be a JSONArray which is produced from a Collection.
put(int, double) - Method in class org.lionsoul.jcseg.json.JSONArray
Put or replace a double value.
put(int, int) - Method in class org.lionsoul.jcseg.json.JSONArray
Put or replace an int value.
put(int, long) - Method in class org.lionsoul.jcseg.json.JSONArray
Put or replace a long value.
put(int, Map<String, Object>) - Method in class org.lionsoul.jcseg.json.JSONArray
Put a value in the JSONArray, where the value will be a JSONObject that is produced from a Map.
put(int, Object) - Method in class org.lionsoul.jcseg.json.JSONArray
Put or replace an object value in the JSONArray.
put(String, boolean) - Method in class org.lionsoul.jcseg.json.JSONObject
Put a key/boolean pair in the JSONObject.
put(String, Collection<Object>) - Method in class org.lionsoul.jcseg.json.JSONObject
Put a key/value pair in the JSONObject, where the value will be a JSONArray which is produced from a Collection.
put(String, double) - Method in class org.lionsoul.jcseg.json.JSONObject
Put a key/double pair in the JSONObject.
put(String, int) - Method in class org.lionsoul.jcseg.json.JSONObject
Put a key/int pair in the JSONObject.
put(String, long) - Method in class org.lionsoul.jcseg.json.JSONObject
Put a key/long pair in the JSONObject.
put(String, Map<String, Object>) - Method in class org.lionsoul.jcseg.json.JSONObject
Put a key/value pair in the JSONObject, where the value will be a JSONObject which is produced from a Map.
put(String, Object) - Method in class org.lionsoul.jcseg.json.JSONObject
Put a key/value pair in the JSONObject.
put(String, Object) - Method in class org.lionsoul.jcseg.server.core.JSONWriter
put a new mapping with a string
put(String, Object[]) - Method in class org.lionsoul.jcseg.server.core.JSONWriter
put a new mapping with a vector
putOnce(String, Object) - Method in class org.lionsoul.jcseg.json.JSONObject
Put a key/value pair in the JSONObject, but only if the key and the value are both non-null, and only if there is not already a member with that name.
putOpt(String, Object) - Method in class org.lionsoul.jcseg.json.JSONObject
Put a key/value pair in the JSONObject, but only if the key and the value are both non-null.

Q

QUEST - Static variable in class org.lionsoul.jcseg.json.XML
The Character '?'.
QUOT - Static variable in class org.lionsoul.jcseg.json.XML
The Character '"'.
quote(String) - Static method in class org.lionsoul.jcseg.json.JSONObject
Produce a string in double quotes with backslash sequences in all the right places.
quote(String, Writer) - Static method in class org.lionsoul.jcseg.json.JSONObject
 

R

read(int) - Method in class org.lionsoul.jcseg.json.zip.BitInputStream
Read some bits.
read(int) - Method in interface org.lionsoul.jcseg.json.zip.BitReader
Read some bits.
read(BitReader) - Method in class org.lionsoul.jcseg.json.zip.Huff
Read bits until a symbol can be identified.
redirect(String) - Method in class org.lionsoul.jcseg.server.core.Controller
redirect to the specifield controller/method
registerHandler() - Method in class org.lionsoul.jcseg.server.JcsegServer
register handler service
remove(int) - Method in class org.lionsoul.jcseg.json.JSONArray
Remove an index and close the hole.
remove(String) - Method in class org.lionsoul.jcseg.json.JSONObject
Remove a name and its value, if present.
remove(E) - Method in class org.lionsoul.jcseg.server.util.LRUCache
remove a element from list
removeConfig(String) - Method in class org.lionsoul.jcseg.server.JcsegGlobalResource
remove a specifield JcsegTaskConfig mapping
removeDict(String) - Method in class org.lionsoul.jcseg.server.JcsegGlobalResource
remove specifield dictionary mapping
removeLeastUsedElements() - Method in class org.lionsoul.jcseg.server.util.LRUCache
 
removeMapping(String) - Method in class org.lionsoul.jcseg.server.core.AbstractRouter
remove the specifield mapping
removeMapping(String) - Method in class org.lionsoul.jcseg.server.core.ContextRouter
 
removeMapping(String) - Method in class org.lionsoul.jcseg.server.core.DynamicRestRouter
 
removeResource(Object) - Method in class org.lionsoul.jcseg.server.core.GlobalResource
 
removeTokonizerEntry(String) - Method in class org.lionsoul.jcseg.server.JcsegGlobalResource
remove a tokenizer entry from Tokenizer pool with specified name
request - Variable in class org.lionsoul.jcseg.server.core.Controller
http servlet request
requestHeaderSize - Variable in class org.lionsoul.jcseg.server.core.ServerConfig
request header size
resetFromFile(String) - Method in class org.lionsoul.jcseg.server.JcsegServerConfig
initialize it from the specifield config file
resource - Variable in class org.lionsoul.jcseg.server.core.GlobalResource
global resource mapping
response - Variable in class org.lionsoul.jcseg.server.core.Controller
http servlet response
response(boolean, int, String) - Method in class org.lionsoul.jcseg.server.JcsegController
global output protocol
response(boolean, int, List<Object>) - Method in class org.lionsoul.jcseg.server.JcsegController
global list output protocol
response(boolean, int, Object[]) - Method in class org.lionsoul.jcseg.server.JcsegController
global Vector output protocol
response(boolean, int, Map<String, Object>) - Method in class org.lionsoul.jcseg.server.JcsegController
global map output protocol
responseHeaderSize - Variable in class org.lionsoul.jcseg.server.core.ServerConfig
response header size
router - Variable in class org.lionsoul.jcseg.server.core.StandardHandler
router
rowToJSONArray(JSONTokener) - Static method in class org.lionsoul.jcseg.json.CDL
Produce a JSONArray of strings from a row of comma delimited values.
rowToJSONObject(JSONArray, JSONTokener) - Static method in class org.lionsoul.jcseg.json.CDL
Produce a JSONObject from a row of comma delimited text, using a parallel JSONArray of strings to provides the names of the elements.
rowToString(JSONArray) - Static method in class org.lionsoul.jcseg.json.CDL
Produce a comma delimited text row from a JSONArray.
run(String) - Method in class org.lionsoul.jcseg.server.controller.KeyphraseController
 
run(String) - Method in class org.lionsoul.jcseg.server.controller.KeywordsController
 
run(String) - Method in class org.lionsoul.jcseg.server.controller.MainController
 
run(String) - Method in class org.lionsoul.jcseg.server.controller.SentenceController
 
run(String) - Method in class org.lionsoul.jcseg.server.controller.SummaryController
 
run(String) - Method in class org.lionsoul.jcseg.server.controller.TokenizerController
 
run(String) - Method in class org.lionsoul.jcseg.server.core.Controller
handle the current request

S

SentenceController - Class in org.lionsoul.jcseg.server.controller
keywords extractor handler
SentenceController(ServerConfig, GlobalResource, UriEntry, Request, HttpServletRequest, HttpServletResponse) - Constructor for class org.lionsoul.jcseg.server.controller.SentenceController
 
ServerConfig - Class in org.lionsoul.jcseg.server.core
server configuration class
ServerConfig() - Constructor for class org.lionsoul.jcseg.server.core.ServerConfig
 
set(E, T) - Method in class org.lionsoul.jcseg.server.util.LRUCache
set a element to list
setAlgorithm(int) - Method in class org.lionsoul.jcseg.server.JcsegTokenizerEntry
 
setAppBasePath(String) - Method in class org.lionsoul.jcseg.server.core.ServerConfig
 
setCharset(String) - Method in class org.lionsoul.jcseg.server.core.ServerConfig
 
setConfig(JcsegTaskConfig) - Method in class org.lionsoul.jcseg.server.JcsegTokenizerEntry
 
setConfigFile(String) - Method in class org.lionsoul.jcseg.server.JcsegServerConfig
 
setController(String) - Method in class org.lionsoul.jcseg.server.core.UriEntry
 
setDict(ADictionary) - Method in class org.lionsoul.jcseg.server.JcsegTokenizerEntry
 
setGlobalConfig(JSONObject) - Method in class org.lionsoul.jcseg.server.JcsegServerConfig
 
setHost(String) - Method in class org.lionsoul.jcseg.server.core.ServerConfig
 
setHttpIdleTimeout(long) - Method in class org.lionsoul.jcseg.server.core.ServerConfig
 
setLength(int) - Method in class org.lionsoul.jcseg.server.controller.TokenizerController.WordEntry
 
setMaxThreadPoolSize(int) - Method in class org.lionsoul.jcseg.server.core.ServerConfig
 
setMethod(String) - Method in class org.lionsoul.jcseg.server.core.UriEntry
 
setOutputBufferSize(int) - Method in class org.lionsoul.jcseg.server.core.ServerConfig
 
setPartSpeech(String) - Method in class org.lionsoul.jcseg.server.controller.TokenizerController.WordEntry
 
setPinYin(String) - Method in class org.lionsoul.jcseg.server.controller.TokenizerController.WordEntry
 
setPort(int) - Method in class org.lionsoul.jcseg.server.core.ServerConfig
 
setPosition(int) - Method in class org.lionsoul.jcseg.server.controller.TokenizerController.WordEntry
 
setRequestHeaderSize(int) - Method in class org.lionsoul.jcseg.server.core.ServerConfig
 
setRequestUri(String) - Method in class org.lionsoul.jcseg.server.core.UriEntry
 
setResponseHeaderSize(int) - Method in class org.lionsoul.jcseg.server.core.ServerConfig
 
setThreadIdleTimeout(int) - Method in class org.lionsoul.jcseg.server.core.ServerConfig
 
setWord(String) - Method in class org.lionsoul.jcseg.server.controller.TokenizerController.WordEntry
 
similar(Object) - Method in class org.lionsoul.jcseg.json.JSONArray
Determine if two JSONArrays are similar.
similar(Object) - Method in class org.lionsoul.jcseg.json.JSONObject
Determine if two JSONObjects are similar.
skipPast(String) - Method in class org.lionsoul.jcseg.json.XMLTokener
Skip characters until past the requested string.
skipTo(char) - Method in class org.lionsoul.jcseg.json.JSONTokener
Skip characters until the next character is the requested character.
SLASH - Static variable in class org.lionsoul.jcseg.json.XML
The Character '/'.
StandardHandler - Class in org.lionsoul.jcseg.server.core
jcseg server router handler
StandardHandler(ServerConfig, GlobalResource, AbstractRouter) - Constructor for class org.lionsoul.jcseg.server.core.StandardHandler
contruct method
start() - Method in class org.lionsoul.jcseg.server.JcsegServer
start the server
stop() - Method in class org.lionsoul.jcseg.server.JcsegServer
stop the server
stringhuff - Variable in class org.lionsoul.jcseg.json.zip.JSONzip
A Huffman encoder for string values.
stringhuffext - Variable in class org.lionsoul.jcseg.json.zip.JSONzip
A Huffman encoder for string values extended bytes.
stringkeep - Variable in class org.lionsoul.jcseg.json.zip.JSONzip
A place to keep the strings.
stringToValue(String) - Static method in class org.lionsoul.jcseg.json.JSONObject
Try to convert a string into a number, boolean, or null.
stringToValue(String) - Static method in class org.lionsoul.jcseg.json.XML
Try to convert a string into a number, boolean, or null.
SummaryController - Class in org.lionsoul.jcseg.server.controller
tokenize service handler
SummaryController(ServerConfig, GlobalResource, UriEntry, Request, HttpServletRequest, HttpServletResponse) - Constructor for class org.lionsoul.jcseg.server.controller.SummaryController
 
syntaxError(String) - Method in class org.lionsoul.jcseg.json.JSONTokener
Make a JSONException to signal a syntax error.

T

testValidity(Object) - Static method in class org.lionsoul.jcseg.json.JSONObject
Throw an exception if the object is a NaN or infinite number.
threadIdleTimeout - Variable in class org.lionsoul.jcseg.server.core.ServerConfig
max thread idle time in ms
tick(int) - Method in class org.lionsoul.jcseg.json.zip.Huff
Increase the weight associated with a value by 1.
toJSONArray(String) - Static method in class org.lionsoul.jcseg.json.CDL
Produce a JSONArray of JSONObjects from a comma delimited text string, using the first row as a source of names.
toJSONArray(JSONTokener) - Static method in class org.lionsoul.jcseg.json.CDL
Produce a JSONArray of JSONObjects from a comma delimited text string, using the first row as a source of names.
toJSONArray(JSONArray, String) - Static method in class org.lionsoul.jcseg.json.CDL
Produce a JSONArray of JSONObjects from a comma delimited text string using a supplied JSONArray as the source of element names.
toJSONArray(JSONArray, JSONTokener) - Static method in class org.lionsoul.jcseg.json.CDL
Produce a JSONArray of JSONObjects from a comma delimited text string using a supplied JSONArray as the source of element names.
toJSONArray(String) - Static method in class org.lionsoul.jcseg.json.JSONML
Convert a well-formed (but not necessarily valid) XML string into a JSONArray using the JsonML transform.
toJSONArray(XMLTokener) - Static method in class org.lionsoul.jcseg.json.JSONML
Convert a well-formed (but not necessarily valid) XML string into a JSONArray using the JsonML transform.
toJSONArray(JSONArray) - Method in class org.lionsoul.jcseg.json.JSONObject
Produce a JSONArray containing the values of the members of this JSONObject.
toJSONObject(String) - Static method in class org.lionsoul.jcseg.json.Cookie
Convert a cookie specification string into a JSONObject.
toJSONObject(String) - Static method in class org.lionsoul.jcseg.json.CookieList
Convert a cookie list into a JSONObject.
toJSONObject(String) - Static method in class org.lionsoul.jcseg.json.HTTP
Convert an HTTP header string into a JSONObject.
toJSONObject(JSONArray) - Method in class org.lionsoul.jcseg.json.JSONArray
Produce a JSONObject by combining a JSONArray of names with the values of this JSONArray.
toJSONObject(XMLTokener) - Static method in class org.lionsoul.jcseg.json.JSONML
Convert a well-formed (but not necessarily valid) XML string into a JSONObject using the JsonML transform.
toJSONObject(String) - Static method in class org.lionsoul.jcseg.json.JSONML
Convert a well-formed (but not necessarily valid) XML string into a JSONObject using the JsonML transform.
toJSONObject(Properties) - Static method in class org.lionsoul.jcseg.json.Property
Converts a property file object into a JSONObject.
toJSONObject(String) - Static method in class org.lionsoul.jcseg.json.XML
Convert a well-formed (but not necessarily valid) XML string into a JSONObject.
toJSONString() - Method in interface org.lionsoul.jcseg.json.JSONString
The toJSONString method allows a class to produce its own JSON serialization.
TokenizerController - Class in org.lionsoul.jcseg.server.controller
tokenize service handler
TokenizerController(ServerConfig, GlobalResource, UriEntry, Request, HttpServletRequest, HttpServletResponse) - Constructor for class org.lionsoul.jcseg.server.controller.TokenizerController
 
TokenizerController.WordEntry - Class in org.lionsoul.jcseg.server.controller
WordEntry for return data
TokenizerController.WordEntry() - Constructor for class org.lionsoul.jcseg.server.controller.TokenizerController.WordEntry
 
toProperties(JSONObject) - Static method in class org.lionsoul.jcseg.json.Property
Converts the JSONObject into a property file object.
toString(JSONArray) - Static method in class org.lionsoul.jcseg.json.CDL
Produce a comma delimited text from a JSONArray of JSONObjects.
toString(JSONArray, JSONArray) - Static method in class org.lionsoul.jcseg.json.CDL
Produce a comma delimited text from a JSONArray of JSONObjects using a provided list of names.
toString(JSONObject) - Static method in class org.lionsoul.jcseg.json.Cookie
Convert a JSONObject into a cookie specification string.
toString(JSONObject) - Static method in class org.lionsoul.jcseg.json.CookieList
Convert a JSONObject into a cookie list.
toString(JSONObject) - Static method in class org.lionsoul.jcseg.json.HTTP
Convert a JSONObject into an HTTP header.
toString() - Method in class org.lionsoul.jcseg.json.JSONArray
Make a JSON text of this JSONArray.
toString(int) - Method in class org.lionsoul.jcseg.json.JSONArray
Make a prettyprinted JSON text of this JSONArray.
toString(JSONArray) - Static method in class org.lionsoul.jcseg.json.JSONML
Reverse the JSONML transformation, making an XML text from a JSONArray.
toString(JSONObject) - Static method in class org.lionsoul.jcseg.json.JSONML
Reverse the JSONML transformation, making an XML text from a JSONObject.
toString() - Method in class org.lionsoul.jcseg.json.JSONObject
Make a JSON text of this JSONObject.
toString(int) - Method in class org.lionsoul.jcseg.json.JSONObject
Make a prettyprinted JSON text of this JSONObject.
toString() - Method in class org.lionsoul.jcseg.json.JSONStringer
Return the JSON text.
toString() - Method in class org.lionsoul.jcseg.json.JSONTokener
Make a printable string of this JSONTokener.
toString() - Method in class org.lionsoul.jcseg.json.Kim
Produce a UTF-16 String from this kim.
toString(Object) - Static method in class org.lionsoul.jcseg.json.XML
Convert a JSONObject into a well-formed, element-normal XML string.
toString(Object, String) - Static method in class org.lionsoul.jcseg.json.XML
Convert a JSONObject into a well-formed, element-normal XML string.
toString() - Method in class org.lionsoul.jcseg.server.controller.TokenizerController.WordEntry
 
toString() - Method in class org.lionsoul.jcseg.server.core.JSONWriter
rewrite the toString

U

unescape(String) - Static method in class org.lionsoul.jcseg.json.Cookie
Convert %hh sequences to single characters, and convert plus to space.
Unzipper - Class in org.lionsoul.jcseg.json.zip
JSONzip is a binary compression scheme for JSON text.
Unzipper(BitReader) - Constructor for class org.lionsoul.jcseg.json.zip.Unzipper
Create a new unzipper.
uri - Variable in class org.lionsoul.jcseg.server.core.Controller
request UriEntry
UriEntry - Class in org.lionsoul.jcseg.server.core
 
UriEntry(String) - Constructor for class org.lionsoul.jcseg.server.core.UriEntry
construct method

V

value(boolean) - Method in class org.lionsoul.jcseg.json.JSONWriter
Append either the value true or the value false.
value(double) - Method in class org.lionsoul.jcseg.json.JSONWriter
Append a double value.
value(long) - Method in class org.lionsoul.jcseg.json.JSONWriter
Append a long value.
value(Object) - Method in class org.lionsoul.jcseg.json.JSONWriter
Append an object value.
valuekeep - Variable in class org.lionsoul.jcseg.json.zip.JSONzip
A place to keep the values.
valueToString(Object) - Static method in class org.lionsoul.jcseg.json.JSONObject
Make a JSON text of an Object value.
vector2JsonString(Object[]) - Static method in class org.lionsoul.jcseg.server.core.JSONWriter
vector to json string

W

wrap(Object) - Static method in class org.lionsoul.jcseg.json.JSONObject
Wrap an object, if necessary.
write(Writer) - Method in class org.lionsoul.jcseg.json.JSONArray
Write the contents of the JSONArray as JSON text to a writer.
write(Writer) - Method in class org.lionsoul.jcseg.json.JSONObject
Write the contents of the JSONObject as JSON text to a writer.
write(int, int) - Method in class org.lionsoul.jcseg.json.zip.BitOutputStream
Write some bits.
write(int, int) - Method in interface org.lionsoul.jcseg.json.zip.BitWriter
Write some bits.
write(int, BitWriter) - Method in class org.lionsoul.jcseg.json.zip.Huff
Write the bits corresponding to a symbol.
writer - Variable in class org.lionsoul.jcseg.json.JSONWriter
The writer that will receive the output.

X

XML - Class in org.lionsoul.jcseg.json
This provides static methods to convert an XML text into a JSONObject, and to covert a JSONObject into an XML text.
XML() - Constructor for class org.lionsoul.jcseg.json.XML
 
XMLTokener - Class in org.lionsoul.jcseg.json
The XMLTokener extends the JSONTokener to provide additional methods for the parsing of XML texts.
XMLTokener(String) - Constructor for class org.lionsoul.jcseg.json.XMLTokener
Construct an XMLTokener from a string.

Z

zero() - Method in class org.lionsoul.jcseg.json.zip.BitOutputStream
Write a 0 bit.
zero() - Method in interface org.lionsoul.jcseg.json.zip.BitWriter
Write a 0 bit.
zipArrayString - Static variable in class org.lionsoul.jcseg.json.zip.JSONzip
The value code for an array with a string as its first element.
zipArrayValue - Static variable in class org.lionsoul.jcseg.json.zip.JSONzip
The value code for an array with a non-string value as its first element.
zipEmptyArray - Static variable in class org.lionsoul.jcseg.json.zip.JSONzip
The value code for an empty array.
zipEmptyObject - Static variable in class org.lionsoul.jcseg.json.zip.JSONzip
The value code for an empty object.
zipFalse - Static variable in class org.lionsoul.jcseg.json.zip.JSONzip
The value code for false.
zipNull - Static variable in class org.lionsoul.jcseg.json.zip.JSONzip
The value code for null.
zipObject - Static variable in class org.lionsoul.jcseg.json.zip.JSONzip
The value code for a non-empty object.
Zipper - Class in org.lionsoul.jcseg.json.zip
An encoder implements the compression behavior of JSONzip.
Zipper(BitWriter) - Constructor for class org.lionsoul.jcseg.json.zip.Zipper
Create a new encoder.
zipTrue - Static variable in class org.lionsoul.jcseg.json.zip.JSONzip
The value code for true.
A B C D E F G H I J K L M N O P Q R S T U V W X Z 

Copyright © 2016. All Rights Reserved.