xlang v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
BuiltinObjects.x
浏览该文件的文档.
1
2class Thread {
3 public void run();
4 public final void start();
5 public final long id();
6 public final void join();
7 public static final void sleep(long) throws InterruptedException;
8 public static final void setName(String) throws IllegalArgumentException;
9 public static final void setLocalObject(Object);
10 @NotNilptr public static final Object getLocalObject();
11 public static final long getId();
12};
13
27
28class Class {
29 public String getName();
30 public Field [] getFields();
31 public Method [] getMethods();
32 public Method [] getMethods(String, int);
37 public bool extendsOf(Class);
38};
39
40class Method {
41 static int FLAG_GLOBAL, FLAG_FINAL, FLAG_STATIC, FLAG_NOTNILPTR, FLAG_OVERRIDE, FLAG_ABSTRACT, FLAG_ENUM, FLAG_CONSTRUCTOR, FLAG_EXCEPTIONLIST, FLAG_ALL;
42 public String getName();
43 public Object getType();
44 public int getParameterCount();
48 public int getFlags();
49 public int getParameterFlags(int);
52 public long toNative();
53};
54
55class Field {
56 static int FLAG_CONST, FLAG_STATIC, FLAG_NOTNILPTR, FLAG_ALL;
57 public String getName();
58 public Object getType();
59 public Object getValue();
61 public bool isConst();
62 public bool isStatic();
63};
64
65final class String {
66 static const char SLASH;
67 public void String(byte[]);
68 public void String(byte[], int, int);
69 public void String(char[], bool);
70 public void String(char[], int, int, bool);
71 public void String(byte[], String);
72 public void String(byte[], int, int, String);
73 public void String(String);
74 public int length();
75 public int find(String);
77 @NotNilptr public String substring(int, int) throws IllegalArgumentException;
78 @NotNilptr public String substring(int) throws IllegalArgumentException;
79 @NotNilptr public String escape();
80 @NotNilptr public String[] split(String);
81 @NotNilptr public String[] split(char);
82 @NotNilptr public String operator + (byte);
83 @NotNilptr public String operator + (int);
84 @NotNilptr public String operator + (char);
85 @NotNilptr public String operator + (long);
86 @NotNilptr public String operator + (bool);
87 @NotNilptr public String operator + (float);
88 @NotNilptr public String operator + (double);
89 @NotNilptr public String operator + (short);
90 @NotNilptr public String operator + (String);
91 public bool startsWith(String);
92 public bool endsWith(String);
93 public int indexOf(String, int) throws IllegalArgumentException;
94 public int indexOf(char, int) throws IllegalArgumentException;
95 public int indexOf(String);
96 public int indexOf(char);
98 public int lastIndexOf(char, int) throws IllegalArgumentException;
99 public int lastIndexOf(String);
100 public int lastIndexOf(char);
101 @NotNilptr public String append(String);
102 @NotNilptr public String append(char);
103 @NotNilptr public String insert(int, String) throws IllegalArgumentException;
104 @NotNilptr public String insert(int, char) throws IllegalArgumentException;
105 @NotNilptr public byte[] getBytes();
106 @NotNilptr public byte[] getBytes(String) throws IllegalArgumentException;
107 @NotNilptr public char[] toCharArray(bool);
108 public bool isDigit();
109 public long parseLong();
110 public long parseHex();
111 public int parseInt();
112 public bool parseBool();
113 public float parseFloat();
114 public double parseDouble();
115 @NotNilptr public String replace(int, int, String) throws IllegalArgumentException;
116 @NotNilptr public String replace(String, String);
117 @NotNilptr public String lower();
118 @NotNilptr public String upper();
119 public bool equals(String);
121 public int countChar(char);
122 public int countString(String);
124 @NotNilptr public String appendPath(String);
125 @NotNilptr public String trim(bool);
126 @NotNilptr public String ltrim(bool);
127 @NotNilptr public String rtrim(bool);
128 @NotNilptr public String replaceExtension(String);
129 @NotNilptr public String removeExtension();
131 @NotNilptr public String replaceFilename(String);
132 @NotNilptr public String findExtension();
133 @NotNilptr public String findFilenameAndExtension();
134 @NotNilptr public String findFilename();
135 @NotNilptr public String findPathFilename();
136 @NotNilptr public String findVolume();
137 @NotNilptr public String findVolumePath();
138 public bool isDot();
139 @NotNilptr public String toRelativePath(String, bool, bool);
140 @NotNilptr public String toAbsolutePath(String);
141 public char charAt(int) throws IllegalArgumentException;
142 @NotNilptr public String decodeURI();
143 @NotNilptr public String encodeURI(bool);
144 @NotNilptr public String charset() throws IllegalArgumentException;
145 public int compare(String);
146 public bool operator == (String);
147 public bool operator != (String);
148 @NotNilptr public String parseMarkdown();
149 public long parseDate(String, int) throws IllegalArgumentException;
150 public byte operator [](int) throws IndexOutOfBoundsException;
151 @NotNilptr public static final String detectCharset(byte[], int, int) throws IndexOutOfBoundsException, IllegalArgumentException;
152 @NotNilptr public static final String fill(char, int) throws IllegalArgumentException;
153 @NotNilptr public static final String formatPath(String, bool);
154 @NotNilptr public static final String format(String, Object[]) throws IllegalArgumentException;
155 @NotNilptr public static final String formatDate(String, long) throws IllegalArgumentException;
156};
157
159 @NotNilptr public Exception Exception();
160 @NotNilptr public Exception Exception(String);
161 @NotNilptr public final String getMessage();
162 public final long getErrorCode();
163};
164class _system_ {
165 static const int LOG_LEV_EMERG;
166 static const int LOG_LEV_ALERT;
167 static const int LOG_LEV_CRIT;
168 static const int LOG_LEV_ERR;
169 static const int LOG_LEV_WARNING;
170 static const int LOG_LEV_NOTICE;
171 static const int LOG_LEV_INFO;
172 static const int LOG_LEV_DEBUG;
173 static const int PLATFORM_UNKNOW;
174 static const int PLATFORM_WINDOWS;
175 static const int PLATFORM_LINUX;
176 static const int PLATFORM_MACOSX;
177 static const int PLATFORM_IOS;
178 static const int PLATFORM_IOS_SIMULATOR;
179 static const int PLATFORM_UNIX;
180 static const int PLATFORM_POSIX;
181 static const int PLATFORM_ANDROID;
182 static const int ARCH_UNKNOW;
183 static const int ARCH_X86;
184 static const int ARCH_X64;
185 static const int ARCH_ARM;
186 static const int ARCH_ARM64;
187 static const int ARCH_MIPS;
188 static const int ARCH_MIPS64;
189 static const int SIGINT;
190 static const int SIGTSTP;
191 static const int SIGCONT;
192 static const int SIGTERM;
193 static const int SIGPWR;
194 static const int SIGNAL_UNINTERESTED;
195 static const int SIGNAL_SPREAD;
196 static const int SIGNAL_ABORT;
197 static const int SIGNAL_DISCARD;
198 static const int S_IFMT;
199 static const int S_IFSOCK;
200 static const int S_IFLNK;
201 static const int S_IFREG;
202 static const int S_IFBLK;
203 static const int S_IFDIR;
204 static const int S_IFCHR;
205 static const int S_IFIFO;
206 static const int S_ISUID;
207 static const int S_ISGID;
208 static const int S_ISVTX;
209 static const int S_IRWXU;
210 static const int S_IRUSR;
211 static const int S_IWUSR;
212 static const int S_IXUSR;
213 static const int S_IRWXG;
214 static const int S_IRGRP;
215 static const int S_IWGRP;
216 static const int S_IXGRP;
217 static const int S_IRWXO;
218 static const int S_IROTH;
219 static const int S_IWOTH;
220 static const int S_IXOTH;
221 static const int STDIN_NO;
222 static const int STDOUT_NO;
223 static const int STDERR_NO;
224 static const int LCID_DEFAULT;
225 static const int LCID_AFK;
226 static const int LCID_SQI;
227 static const int LCID_ARG;
228 static const int LCID_ARH;
229 static const int LCID_ARE;
230 static const int LCID_ARI;
231 static const int LCID_ARJ;
232 static const int LCID_ARK;
233 static const int LCID_ARB;
234 static const int LCID_ARL;
235 static const int LCID_ARM;
236 static const int LCID_ARO;
237 static const int LCID_ARQ;
238 static const int LCID_ARA;
239 static const int LCID_ARS;
240 static const int LCID_ART;
241 static const int LCID_ARU;
242 static const int LCID_ARY;
243 static const int LCID_HYE;
244 static const int LCID_ASM;
245 static const int LCID_AZE;
246 static const int LCID_AZE1;
247 static const int LCID_EUQ;
248 static const int LCID_BEL;
249 static const int LCID_BEN;
250 static const int LCID_BGR;
251 static const int LCID_CAT;
252 static const int LCID_ZHH;
253 static const int LCID_ZHM;
254 static const int LCID_CHS;
255 static const int LCID_ZHI;
256 static const int LCID_CHT;
257 static const int LCID_LTC;
258 static const int LCID_HRV;
259 static const int LCID_CSY;
260 static const int LCID_DAN;
261 static const int LCID_DIV;
262 static const int LCID_NLB;
263 static const int LCID_NLD;
264 static const int LCID_ENA;
265 static const int LCID_ENL;
266 static const int LCID_ENC;
267 static const int LCID_ENB;
268 static const int LCID_ENI;
269 static const int LCID_ENJ;
270 static const int LCID_ENZ;
271 static const int LCID_ENP;
272 static const int LCID_ENS;
273 static const int LCID_ENT;
274 static const int LCID_ENG;
275 static const int LCID_USA;
276 static const int LCID_ENW;
277 static const int LCID_ETI;
278 static const int LCID_FOS;
279 static const int LCID_FAR;
280 static const int LCID_FIN;
281 static const int LCID_FRB;
282 static const int LCID_FRC;
283 static const int LCID_FRA;
284 static const int LCID_FRL;
285 static const int LCID_FRM;
286 static const int LCID_FRS;
287 static const int LCID_MKI;
288 static const int LCID_GLC;
289 static const int LCID_KAT;
290 static const int LCID_DEA;
291 static const int LCID_DEU;
292 static const int LCID_DEC;
293 static const int LCID_DEL;
294 static const int LCID_DES;
295 static const int LCID_ELL;
296 static const int LCID_GUJ;
297 static const int LCID_HEB;
298 static const int LCID_HIN;
299 static const int LCID_HUN;
300 static const int LCID_ISL;
301 static const int LCID_IND;
302 static const int LCID_ITA;
303 static const int LCID_ITS;
304 static const int LCID_JPN;
305 static const int LCID_KAN;
306 static const int LCID_KKZ;
307 static const int LCID_KNK;
308 static const int LCID_KOR;
309 static const int LCID_KYR;
310 static const int LCID_LVI;
311 static const int LCID_LTH;
312 static const int LCID_MSB;
313 static const int LCID_MSL;
314 static const int LCID_MAL;
315 static const int LCID_MAR;
316 static const int LCID_MON;
317 static const int LCID_NOR;
318 static const int LCID_NON;
319 static const int LCID_ORI;
320 static const int LCID_PLK;
321 static const int LCID_PTB;
322 static const int LCID_PTG;
323 static const int LCID_PAN;
324 static const int LCID_ROM;
325 static const int LCID_RUS;
326 static const int LCID_SAN;
327 static const int LCID_SRB;
328 static const int LCID_SRL;
329 static const int LCID_SKY;
330 static const int LCID_SLV;
331 static const int LCID_ESS;
332 static const int LCID_ESB;
333 static const int LCID_ESL;
334 static const int LCID_ESO;
335 static const int LCID_ESC;
336 static const int LCID_ESD;
337 static const int LCID_ESF;
338 static const int LCID_ESE;
339 static const int LCID_ESG;
340 static const int LCID_ESH;
341 static const int LCID_ESM;
342 static const int LCID_ESI;
343 static const int LCID_ESA;
344 static const int LCID_ESZ;
345 static const int LCID_ESR;
346 static const int LCID_ESU;
347 static const int LCID_ESP;
348 static const int LCID_ESN;
349 static const int LCID_ESY;
350 static const int LCID_ESV;
351 static const int LCID_SWK;
352 static const int LCID_SVF;
353 static const int LCID_SVE;
354 static const int LCID_SYR;
355 static const int LCID_TAM;
356 static const int LCID_TTT;
357 static const int LCID_TEL;
358 static const int LCID_THA;
359 static const int LCID_TRK;
360 static const int LCID_UKR;
361 static const int LCID_URP;
362 static const int LCID_URI;
363 static const int LCID_UZB;
364 static const int LCID_UZB1;
365 static const int LCID_VIT;
366 static const int ACCMODE;
367 static const int READ;
368 static const int WRITE;
369 static const int READWRITE;
370 static const int CREATE;
371 static const int EXCL;
372 static const int NOCTTY;
373 static const int TRUNC;
374 static const int APPEND;
375 static const int NDELAY;
376 static const int SYNC;
377 static const int ASYNC;
378 static const int LARGEFILE;
379 static const int DIRECTORY;
380 static const int NOFOLLOW;
381 static const int CLOEXEC;
382 static const int DIRECT;
383 static const int NOATIME;
384 static const int PATH;
385 static const int DSYNC;
386 static const int TMPFILE;
387 static const int PARITY_NONE;
388 static const int PARITY_ODD;
389 static const int PARITY_EVEN;
390 public static final long currentTimeMillis();
391 public static final void exit(int);
392 public static final void gc();
394 public static final long open(String, int) throws IllegalArgumentException;
395 public static final bool close(long);
396 public static final long seek(long, int, long);
397 public static final long getSeek(long);
398 public static final long getLength(long) throws IllegalArgumentException;
399 public static final long getFileSize(String) throws IllegalArgumentException;
400 public static final long read(long, byte[], long, long) throws IndexOutOfBoundsException, IllegalArgumentException;
401 public static final long write(long, byte[], long, long) throws IndexOutOfBoundsException, IllegalArgumentException;
402 public static final bool deleteFile(String);
403 public static final bool fileExists(String);
404 public static final void sleep(long) throws IllegalArgumentException;
405 public static final void createConsole();
406 public static final long consoleWrite(String);
407 public static final void output(String);
408 public static final void log(String, int, String, bool);
409 public static final long consoleRead(byte[], long, long) throws IndexOutOfBoundsException;
410 @NotNilptr public static final String getAppPath();
411 @NotNilptr public static final String getAppDirectory();
412 @NotNilptr public static final String getWorkDirector();
413 public static final bool mkdir(String);
414 public static final bool rmdir(String);
415 public static final bool rename(String, String);
416 public static final int getPlatformId();
417 public static final int getArchId();
418 public static final int getOSBit();
419 @NotNilptr public static final String getDefaultEncoding();
420 public static final long createPipe(String, bool);
421 public static final bool openPipe(long, bool) throws IllegalArgumentException;
422 public static final bool closePipe(long);
423 public static final long readPipe(long, byte[], long, long) throws IndexOutOfBoundsException, IllegalArgumentException;
424 public static final long writePipe(long, byte[], long, long) throws IndexOutOfBoundsException, IllegalArgumentException;
425 public static final bool setupLogSource(String);
426 public static final bool chmod(String, int) throws IllegalArgumentException;
427 public static final bool registryCrashHandler(ICrashHandler);
428 public static final long getAppVersion();
429 public static final long getAppTimestamp();
430 public static final bool chdir(String);
431 @NotNilptr public static final String getHostName();
433 public static final int loadLibrary(String) throws IllegalArgumentException;
434 @NotNilptr public static final String getModulePath(int);
435 public static final int getModuleId(String);
436 @NotNilptr public static final int[] getAllModules() throws IllegalArgumentException;
437 public static final int serviceRun(String);
438 public static final bool isServiceInstalled(String);
439 public static final bool installService(String, String, String, String);
440 public static final bool uninstallService(String);
441 public static final int getFileMode(String) throws IllegalArgumentException;
442 public static final bool setMinorGCThreshold(double);
443 public static final void setObjectNonFinalize(Object);
444 public static final int getchar();
445 public static final void stdflush(int) throws IllegalArgumentException;
446 public static final long consoleWriteError(String);
447 public static final long consoleReadMask(byte[], long, long, char) throws IndexOutOfBoundsException, NullPointerException;
448 public static final bool setEnvironmentVariable(String, String, bool, bool) throws IllegalArgumentException;
449 @NotNilptr public static final String getEnvironmentVariable(String);
450 public static final bool disableIncrementalGC(bool);
451 public static final void setApplicationLanguage(int);
452 public static final int getApplicationLanguage();
453 public static final int getSystemLanguage();
454 public static final int getLanguageId(String);
455 @NotNilptr public static final String getLanguageCode(int);
456 @NotNilptr public static final String getLanguage(int);
457 @NotNilptr public static final String getSubLanguage(int);
458 @NotNilptr public static final int[] listSubLanguage(String);
459 @NotNilptr public static final int[] listAllLanguage();
460 public static final int chbufsize(long, int);
461 public static final int chbaudrate(long, int);
462 public static final int chparity(long, int);
463 public static final int chstopbit(long, int);
464 public static final void arrayFill(Object, Object, long, long) throws IndexOutOfBoundsException, ArrayStoreException, IllegalArgumentException;
465 public static final long getVersion(int);
466 public static final long getTimestamp(int);
467 public static final bool makeArrayObject(Object, long, long);
468};
470 @NotNilptr public Exception Exception();
471 @NotNilptr public Exception Exception(String);
472 @NotNilptr public final String getMessage();
473 public final long getErrorCode();
474 @NotNilptr public Exception DivByZeroException();
476};
478 @NotNilptr public Exception Exception();
479 @NotNilptr public Exception Exception(String);
480 @NotNilptr public final String getMessage();
481 public final long getErrorCode();
484};
486 @NotNilptr public Exception Exception();
487 @NotNilptr public Exception Exception(String);
488 @NotNilptr public final String getMessage();
489 public final long getErrorCode();
490 @NotNilptr public Exception ArrayStoreException();
492};
494 @NotNilptr public Exception Exception();
495 @NotNilptr public Exception Exception(String);
496 @NotNilptr public final String getMessage();
497 public final long getErrorCode();
498 @NotNilptr public Exception ClassCastException();
500};
502 @NotNilptr public Exception Exception();
503 @NotNilptr public Exception Exception(String);
504 @NotNilptr public final String getMessage();
505 public final long getErrorCode();
508};
510 @NotNilptr public Exception Exception();
511 @NotNilptr public Exception Exception(String);
512 @NotNilptr public final String getMessage();
513 public final long getErrorCode();
514 @NotNilptr public Exception NullPointerException();
516};
518 @NotNilptr public Exception Exception();
519 @NotNilptr public Exception Exception(String);
520 @NotNilptr public final String getMessage();
521 public final long getErrorCode();
522 @NotNilptr public Exception OutOfMemoryException();
524};
526 @NotNilptr public Exception Exception();
527 @NotNilptr public Exception Exception(String);
528 @NotNilptr public final String getMessage();
529 public final long getErrorCode();
532};
534 @NotNilptr public Exception Exception();
535 @NotNilptr public Exception Exception(String);
536 @NotNilptr public final String getMessage();
537 public final long getErrorCode();
540};
542 @NotNilptr public Exception Exception();
543 @NotNilptr public Exception Exception(String);
544 @NotNilptr public final String getMessage();
545 public final long getErrorCode();
546 @NotNilptr public Exception IOException();
547 @NotNilptr public Exception IOException(String);
548};
550 @NotNilptr public Exception Exception();
551 @NotNilptr public Exception Exception(String);
552 @NotNilptr public final String getMessage();
553 public final long getErrorCode();
554 @NotNilptr public Exception TimeoutException();
556};
558 @NotNilptr public Exception Exception();
559 @NotNilptr public Exception Exception(String);
560 @NotNilptr public final String getMessage();
561 public final long getErrorCode();
562 @NotNilptr public Exception InterruptedException();
564};
566 @NotNilptr public Exception Exception();
567 @NotNilptr public Exception Exception(String);
568 @NotNilptr public final String getMessage();
569 public final long getErrorCode();
570 @NotNilptr public Exception RuntimeException();
572};
573class Vector<T> {
574 public int Vector();
575 public int Vector(int);
576 public int size();
577 public void add(T);
578 public void insert(int, T) throws IndexOutOfBoundsException;
579 @NotNilptr public T get(int) throws IllegalArgumentException;
580 public void remove(int) throws IllegalArgumentException;
581 public void removeRange(int, int) throws IllegalArgumentException;
582 public void clear();
583 @NotNilptr public T[] toArray(T[]) throws IllegalArgumentException;
587 public void addAll(T[]);
588 public void finalize();
589};
590class List<T> {
591 public void List();
592 public void add(T);
593 public void insert(Iterator, T);
594 public void remove(Iterator);
595 public void clear();
596 @NotNilptr public Iterator iterator();
597 @NotNilptr public T pollLast();
598 @NotNilptr public T pollHead();
599 @NotNilptr public T[] toArray(T[]);
600 public void addAll(T[]);
601 public int size();
602 public void finalize();
603};
604class Map<K, V> {
605 public void Map();
606 @NotNilptr public Iterator put(K, V);
607 public bool get(K);
608 @NotNilptr public Iterator findHigher(K, bool);
609 @NotNilptr public Iterator findLower(K, bool);
610 public bool containsKey(K);
611 public bool remove(K);
612 public void remove(Iterator);
613 public void clear();
614 @NotNilptr public Iterator iterator();
615 @NotNilptr public Iterator find(K);
616 public V operator[](K, V);
617 public V operator[](K);
618 public int size();
619 public void finalize();
620};
621class Pattern {
622 static const int CASELESS;
623 static const int MULTILINE;
624 static const int DOTALL;
625 static const int EXTENDED;
626 static const int ANCHORED;
627 static const int DOLLAR_ENDONLY;
628 static const int EXTRA;
629 static const int NOTBOL;
630 static const int NOTEOL;
631 static const int UNGREEDY;
632 static const int NOTEMPTY;
633 static const int UTF8;
634 static const int UTF16;
635 static const int UTF32;
636 static const int NO_AUTO_CAPTURE;
637 static const int NO_UTF8_CHECK;
638 static const int NO_UTF16_CHECK;
639 static const int NO_UTF32_CHECK;
640 static const int AUTO_CALLOUT;
641 static const int PARTIAL_SOFT;
642 static const int PARTIAL;
643 static const int NEVER_UTF;
644 static const int DFA_SHORTEST;
645 static const int NO_AUTO_POSSESS;
646 static const int DFA_RESTART;
647 static const int FIRSTLINE;
648 static const int DUPNAMES;
649 static const int NEWLINE_CR;
650 static const int NEWLINE_LF;
651 static const int NEWLINE_CRLF;
652 static const int NEWLINE_ANY;
653 static const int NEWLINE_ANYCRLF;
654 static const int BSR_ANYCRLF;
655 static const int BSR_UNICODE;
656 static const int JAVASCRIPT_COMPAT;
657 static const int NO_START_OPTIMIZE;
658 static const int NO_START_OPTIMISE;
659 static const int PARTIAL_HARD;
660 static const int NOTEMPTY_ATSTART;
661 static const int UCP;
662 public void Pattern(String);
663 public void Pattern(String, int);
664 @NotNilptr public Result matchAll(String, int, int, int) throws IndexOutOfBoundsException, IllegalArgumentException;
665 public int match(String, Result, int, int, int) throws IndexOutOfBoundsException, IllegalArgumentException;
666 public void finalize();
667 @NotNilptr public static final Pattern Compile(String) throws IllegalArgumentException;
668 @NotNilptr public static final Pattern Compile(String, int) throws IllegalArgumentException;
669 public static final bool test(String, String, int, bool) throws IllegalArgumentException;
670};
672 public void InetAddress();
673 public void InetAddress(String, int);
674 @NotNilptr public String getHostAddress();
675 public int getPort();
676 public int getAddress();
677 public void finalize();
678 @NotNilptr public static final InetAddress[] getHostInetAddress(String);
679};
680class Unsi {
681 static const int UNSI_TCP;
682 static const int UNSI_UDP;
683 static const int DISABLE_NAMELIST;
684 static const int BLACK_NAMELIST;
685 static const int WHITE_NAMELIST;
686 public void Unsi();
687 public bool start();
688 public bool disconnect(long);
689 public bool config(int, int, int);
691 public bool send(long, long, byte[], int, int) throws IndexOutOfBoundsException, IllegalArgumentException;
692 public bool create(AsyncInput, int, int, int) throws IllegalArgumentException;
693 @NotNilptr public InetAddress getRemoteInetAddress(long);
694 public long clone(long);
695 public int getId(long);
696 public bool equalsHandle(long, long);
697 public int getNamelistMode();
698 public void setNamelistMode(int);
699 public bool addToNamelist(String, bool);
700 public long getConnectionNumber();
701 public void finalize();
702};
704 static const int PROXY_HTTP;
705 static const int PROXY_HTTP_10;
706 static const int PROXY_SOCKS4;
707 static const int PROXY_SOCKS5;
708 static const int PROXY_SOCKS4A;
710 public void HttpRequest();
711 public bool get(String, int, bool) throws IllegalArgumentException;
712 public bool post(String, int, bool) throws IllegalArgumentException;
713 public bool setProxy(String, int, int, String, String);
715 public bool putFormField(String, String, String, byte[]);
716 public bool putField(String, String);
717 public bool putField(String, byte[], int, int);
720 public bool removeField(String);
721 public bool setCookie(String);
724 public bool setUserAgent(String);
725 public bool putHeader(String);
726 public bool removeHeader(String);
727 public int getResponseCode();
728 public long available(bool);
729 public long getLength();
730 public int read(byte[], int, int);
731 public bool reset();
732 public void finalize();
733};
734class AsyncInput {
735 public void notify(AsyncOutput, int, long, bool, long, int);
736 public bool newInstance(AsyncOutput, int, long, long);
737 public bool dataArrives(AsyncOutput, long, byte[], int, int);
738 public bool deleteInstance(AsyncOutput, long);
739 public bool inactiveTimeout(AsyncOutput, long);
740};
741class Math {
742 static const double E;
743 static const double PI;
744 public static final int abs(int);
745 public static final long abs(long);
746 public static final double abs(double);
747 public static final double acos(double);
748 public static final double asin(double);
749 public static final double atan(double);
750 public static final double tanh(double);
751 public static final double atan2(double, double);
752 public static final double cbrt(double);
753 public static final double ceil(double);
754 public static final double cos(double);
755 public static final double cosh(double);
756 public static final double exp(double);
757 public static final double expm1(double);
758 public static final double floor(double);
759 public static final int floorDiv(int, int);
760 public static final long floorDiv(long, long);
761 public static final int max(int, int);
762 public static final long max(long, long);
763 public static final double max(double, double);
764 public static final int min(int, int);
765 public static final long min(long, long);
766 public static final double min(double, double);
767 public static final double pow(double, double);
768 public static final double sinh(double);
769 public static final double log1p(double);
770 public static final double log(double);
771 public static final long round(double);
772 public static final double random();
773 public static final bool isNan(double);
774 public static final bool isINF(double);
775 public static final double longBitsToDouble(long);
776 public static final double intBitsToDouble(int);
777 public static final long doubleToLongBits(double);
778 public static final double sqrt(double);
779 public static final double sin(double);
780 public static final int parseInt(String, int) throws IllegalArgumentException;
781 public static final long parseLong(String, int) throws IllegalArgumentException;
782 public static final float parseFloat(String) throws IllegalArgumentException;
783 public static final double parseDouble(String) throws IllegalArgumentException;
784 public static final int doubleToIntBits(double);
785 public static final float intBitsToFloat(int);
786 public static final int floatToIntBits(float);
787};
788class Stream {
789 static const int SeekBegin;
790 static const int SeekCurrent;
791 static const int SeekEnd;
796 public long length() throws IllegalArgumentException, IOException;
797 public long available(bool) throws IllegalArgumentException, IOException, InterruptedException;
798 public void flush() throws IOException;
799 public void close() throws IllegalArgumentException;
801 public final void writeShort(short) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
804 public final void writeFloat(float) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
805 public final void writeDouble(double) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
816 public final void writeCharLE(char) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
817 public final void writeShortLE(short) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
819 public final void writeLongLE(long) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
820 public final void writeFloatLE(float) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
821 public final void writeDoubleLE(double) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
822 public final void writeBoolLE(bool) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
829 public final double readDoubleLE() throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
831 @NotNilptr public final String readStringLE() throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
832};
833class Base64 {
834 @NotNilptr public static final String encodeToString(byte[], bool);
835 @NotNilptr public static final String encodeToString(byte[], int, int, bool);
836 @NotNilptr public static final byte[] decodeString(String);
837};
838class JsonNode {
839 static const int JSONTYPE_BOOL;
840 static const int JSONTYPE_NULL;
841 static const int JSONTYPE_NUMBER;
842 static const int JSONTYPE_STRING;
843 static const int JSONTYPE_ARRAY;
844 static const int JSONTYPE_OBJECT;
845 public bool isArray();
846 @NotNilptr public JsonNode next();
847 @NotNilptr public JsonNode prev();
848 @NotNilptr public JsonNode child();
849 @NotNilptr public String getName();
850 @NotNilptr public JsonNode clone();
851 public final int getType();
852 public bool equals(JsonNode);
853 @NotNilptr public String toString(bool);
854 public void finalize();
855 @NotNilptr public static final JsonNode From(String);
856};
858 public bool isArray();
859 @NotNilptr public JsonNode next();
860 @NotNilptr public JsonNode prev();
861 @NotNilptr public JsonNode child();
862 @NotNilptr public String getName();
863 @NotNilptr public JsonNode clone();
864 public final int getType();
865 public bool equals(JsonNode);
866 @NotNilptr public String toString(bool);
867 public void finalize();
868 public void JsonObject();
870 public int getInt(String);
871 public long getLong(String);
872 public double getDouble(String);
873 public bool getBool(String);
874 @NotNilptr public String getString(String);
875 public int getInt();
876 public long getLong();
877 public double getDouble();
878 public bool getBool();
879 @NotNilptr public String getString();
880 @NotNilptr public JsonArray getArray(String);
881 @NotNilptr public JsonObject getObject(String);
882 @NotNilptr public JsonNode get(String);
883 public bool isNull(String);
884 public bool has(String);
885 public bool remove(String);
886 @NotNilptr public JsonObject put(String, int);
887 @NotNilptr public JsonObject put(String, long);
888 @NotNilptr public JsonObject put(String, double);
889 @NotNilptr public JsonObject put(String, bool);
890 @NotNilptr public JsonObject put(String, String);
892 public int operator[](String, int);
893 public long operator[](String, long);
894 public double operator[](String, double);
895 public bool operator[](String, bool);
896 @NotNilptr public String [](String, String);
897 @NotNilptr public JsonNode [](String, JsonNode) throws IllegalArgumentException;
898 @NotNilptr public Object [](String);
899};
901 public bool isArray();
902 @NotNilptr public JsonNode next();
903 @NotNilptr public JsonNode prev();
904 @NotNilptr public JsonNode child();
905 @NotNilptr public String getName();
906 @NotNilptr public JsonNode clone();
907 public final int getType();
908 public bool equals(JsonNode);
909 @NotNilptr public String toString(bool);
910 public void finalize();
911 public void JsonArray();
913 public int getInt(int) throws IllegalArgumentException;
914 public long getLong(int) throws IllegalArgumentException;
915 public double getDouble(int) throws IllegalArgumentException;
916 public bool getBool(int) throws IllegalArgumentException;
917 @NotNilptr public String getString(int) throws IllegalArgumentException;
918 @NotNilptr public JsonArray getArray(int) throws IllegalArgumentException;
919 @NotNilptr public JsonObject getObject(int) throws IllegalArgumentException;
920 @NotNilptr public JsonNode get(int) throws IllegalArgumentException;
921 public bool isNull(int) throws IllegalArgumentException;
922 public bool remove(int) throws IllegalArgumentException;
923 public void put(int, int);
924 public void put(int, long);
925 public void put(int, double);
926 public void put(int, bool);
927 public void put(int, String);
928 public void put(int, JsonNode) throws IllegalArgumentException;
929 public void put(int);
930 public void put(long);
931 public void put(double);
932 public void put(bool);
933 public void put(String);
935 public int length();
936 public int operator[](int, int);
937 public long operator[](int, long);
938 public double operator[](int, double);
939 public bool operator[](int, bool);
940 @NotNilptr public String [](int, String);
941 @NotNilptr public JsonNode [](int, JsonNode) throws IllegalArgumentException;
942 @NotNilptr public Object [](int);
943};
944class Timer {
945 public void Timer();
947 public bool schedule(TimerTask, int, int) throws IllegalArgumentException;
948 public void cancel();
949 public void finalize();
950};
952 public void run();
953};
955 static const int FLAGS_READABLE;
956 static const int FLAGS_WRITEABLE;
957 static const int FLAGS_EXCEPTION;
962 public long length() throws IllegalArgumentException, IOException;
963 public long available(bool) throws IllegalArgumentException, IOException, InterruptedException;
964 public void flush() throws IOException;
965 public void close() throws IllegalArgumentException;
967 public final void writeShort(short) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
970 public final void writeFloat(float) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
971 public final void writeDouble(double) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
982 public final void writeCharLE(char) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
983 public final void writeShortLE(short) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
985 public final void writeLongLE(long) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
986 public final void writeFloatLE(float) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
987 public final void writeDoubleLE(double) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
988 public final void writeBoolLE(bool) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
995 public final double readDoubleLE() throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
997 @NotNilptr public final String readStringLE() throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
999 public int available(long, int);
1000 public long getHandle();
1001 public bool connect(String, int, int) throws TimeoutException, InterruptedException;
1002 public bool listen(String, int, int);
1003 @NotNilptr public InetAddress getRemoteInetAddress();
1004 @NotNilptr public InetAddress getLocalInetAddress();
1005 @NotNilptr public String getRemoteIpAddress();
1006 public int getRemotePort();
1007 @NotNilptr public String getLocalIpAddress();
1008 public int getLocalPort();
1009 @NotNilptr public StreamSocket accept() throws IllegalArgumentException;
1010 public bool isConnected();
1011 public bool setSoTimeout(int);
1012 public bool setTcpNoDelay(bool);
1013 public bool setKeepAlive(bool);
1014 public bool getTcpNoDelay();
1015 public bool getKeepAlive();
1016 public bool setReuseAddress(bool);
1017 public bool getReuseAddress();
1018 public void finalize();
1019 public static final int select(StreamSocket[], int, int, int, int[], int) throws IndexOutOfBoundsException, IllegalArgumentException, InterruptedException;
1020};
1022 static const int FLAGS_READABLE;
1023 static const int FLAGS_WRITEABLE;
1024 static const int FLAGS_EXCEPTION;
1025 public void DatagramSocket();
1026 public bool bind(String, int);
1027 public int read(byte[], int, int) throws IndexOutOfBoundsException, IllegalArgumentException;
1028 public int write(byte[], int, int) throws IndexOutOfBoundsException, IllegalArgumentException;
1029 public void close();
1030 public long available(bool);
1031 public int available(long, int);
1032 public long getHandle();
1033 public bool connect(String, int) throws IllegalArgumentException;
1036 @NotNilptr public String getRemoteIpAddress();
1037 public int getRemotePort();
1038 @NotNilptr public String getLocalIpAddress();
1039 public int getLocalPort();
1040 public int sendTo(String, int, byte[], int, int) throws IndexOutOfBoundsException, IllegalArgumentException;
1042 public bool setSoTimeout(int);
1043 public bool receive(DatagramPacket);
1044 public bool send(DatagramPacket);
1045 public void finalize();
1046 public static final int select(DatagramSocket[], int, int, int, int[], int) throws IndexOutOfBoundsException, IllegalArgumentException, InterruptedException;
1047};
1048class Process {
1049 static const int Default;
1050 static const int Visible;
1051 static const int StdOut;
1052 static const int StdIn;
1053 static const int StdErr;
1054 static const int RedirectStdErr;
1055 static const int NewConsole;
1059 public bool create(int) throws IllegalArgumentException;
1060 public bool waitFor(int) throws IllegalArgumentException;
1061 public int read(byte[], int, int) throws IndexOutOfBoundsException, IllegalArgumentException;
1062 public int write(byte[], int, int) throws IndexOutOfBoundsException, IllegalArgumentException;
1063 public int getExitCode();
1064 public bool exit(int);
1065 public long id();
1066 public void raise(int);
1068 public void finalize();
1069 public static final long CurrentProcessId();
1070};
1072 @NotNilptr public static final Result Match(byte[], int, int, String);
1073};
1074class Crypto {
1075 static const int NoPadding;
1076 static const int PKCS1Padding;
1077 static const int PKCS5Padding;
1078 static const int SSLV23Padding;
1079 static const int ZerosPadding;
1080 static const int AES_CBC;
1081 static const int AES_CFB1;
1082 static const int AES_CFB128;
1083 static const int AES_CFB8;
1084 static const int AES_ECB;
1085 public static final long md5_init();
1086 public static final void md5_update(long, byte[], int, int) throws IndexOutOfBoundsException;
1087 public static final void md5_final(long);
1088 @NotNilptr public static final byte[] md5_result(long);
1089 public static final void md5_close(long);
1090 public static final long sha1_init();
1091 public static final void sha1_update(long, byte[], int, int) throws IndexOutOfBoundsException;
1092 public static final void sha1_final(long);
1093 @NotNilptr public static final byte[] sha1_result(long);
1094 public static final void sha1_close(long);
1095 public static final long rsa_init();
1096 public static final bool rsa_loadFromPublicKey(long, byte[], int, int) throws IndexOutOfBoundsException, IllegalArgumentException;
1097 public static final bool rsa_loadFromPrivateKey(long, byte[], int, int) throws IndexOutOfBoundsException, IllegalArgumentException;
1098 public static final bool rsa_create(long, int) throws IllegalArgumentException;
1099 @NotNilptr public static final byte[] rsa_publicEncrypto(long, byte[], int, int, int) throws IndexOutOfBoundsException, IllegalArgumentException;
1100 @NotNilptr public static final byte[] rsa_privateDecrypto(long, byte[], int, int, int) throws IndexOutOfBoundsException, IllegalArgumentException;
1101 @NotNilptr public static final byte[] rsa_privateEncrypto(long, byte[], int, int, int) throws IndexOutOfBoundsException, IllegalArgumentException;
1102 @NotNilptr public static final byte[] rsa_publicDecrypto(long, byte[], int, int, int) throws IndexOutOfBoundsException, IllegalArgumentException;
1103 @NotNilptr public static final byte[] rsa_getPrivateKey(long) throws IllegalArgumentException;
1104 @NotNilptr public static final byte[] rsa_getPublicKey(long) throws IllegalArgumentException;
1105 public static final int rsa_decryptoMaxSize(long) throws IllegalArgumentException;
1106 public static final int rsa_encryptoMaxSize(long) throws IllegalArgumentException;
1107 public static final void rsa_close(long) throws IllegalArgumentException;
1108 public static final long aes_open(String, String, int, bool) throws IllegalArgumentException;
1109 public static final int aes_encrypt(long, byte[], int, int, byte[], int, int, int) throws IndexOutOfBoundsException, IllegalArgumentException;
1110 public static final void aes_close(long) throws IllegalArgumentException;
1111 public static final long sm3_init();
1112 public static final void sm3_update(long, byte[], int, int) throws IndexOutOfBoundsException;
1113 public static final void sm3_final(long);
1114 @NotNilptr public static final byte[] sm3_result(long);
1115 public static final void sm3_close(long);
1116};
1118 public void ZipArchive();
1121 public int getEntriesCount();
1122 @NotNilptr public ZipEntry getEntry(int);
1123 @NotNilptr public ZipEntry findEntry(String);
1124 public void close();
1125 public void finish();
1126 public bool createEntry(ZipFile);
1127 public void setComment(String);
1128 @NotNilptr public String getComment();
1129 public void finalize();
1130};
1131class ZipFile {
1132 public void ZipFile(String, Stream, bool, long) throws IllegalArgumentException;
1133 public bool open();
1134 public bool eof();
1135 public void close();
1136 public int read(byte[], int, int) throws IndexOutOfBoundsException, IllegalArgumentException;
1137 public void finalize();
1138};
1140 public void ZipEntry();
1141 @NotNilptr public ZipFile getFile() throws IllegalArgumentException;
1142 public bool isDirectory();
1143 public void setComment(String);
1144 public void setName(String);
1145 @NotNilptr public String getComment();
1146 @NotNilptr public String getName();
1147 public void finalize();
1148};
1149class AsyncOutput {
1150 public bool dataDeparture(AsyncInput, long, long, byte[], int, int);
1151 public void deleteInstance(AsyncInput, long);
1152 public long newInstance(AsyncInput, String, int, long);
1153 public long getInstanceId(long);
1154 public long cloneContext(long);
1155 public void releaseContext(long);
1156};
1158 public void notify(AsyncOutput, int, long, bool, long, int);
1159 public bool newInstance(AsyncOutput, int, long, long);
1160 public bool dataArrives(AsyncOutput, long, byte[], int, int);
1161 public bool deleteInstance(AsyncOutput, long);
1162 public bool inactiveTimeout(AsyncOutput, long);
1163 public void finalize();
1164};
1166 public bool dataDeparture(AsyncInput, long, long, byte[], int, int);
1167 public void deleteInstance(AsyncInput, long);
1168 public long newInstance(AsyncInput, String, int, long);
1169 public long getInstanceId(long);
1170 public long cloneContext(long);
1171 public void releaseContext(long);
1172 public void finalize();
1173};
1175 static const int DONT_NEED_PROCESS;
1176 public bool onNewInstance(long, int);
1177 public bool onDeleteInstance(long);
1178 public void onAccessFailed(long);
1179 public bool onTimeout(long);
1180 public int onDecode(long, byte[], int, Stream);
1181 public int onEncode(long, byte[], int, Stream);
1182 public int getDecodeLength(long, byte[], int);
1183};
1185};
1186class RemoteCallPipe {
1187};
1189 static const int Document;
1190 static const int Element;
1191 static const int Declaration;
1192 static const int Comment;
1193 static const int Text;
1194 static const int Attribute;
1195 public void XmlObject();
1205 @NotNilptr public XmlObject root();
1206 @NotNilptr public XmlObject child() throws NullPointerException;
1207 @NotNilptr public XmlObject attribute() throws NullPointerException;
1208 public int type() throws NullPointerException;
1210 @NotNilptr public XmlObject previous() throws IllegalArgumentException, NullPointerException;
1211 @NotNilptr public XmlObject next() throws NullPointerException;
1212 @NotNilptr public XmlObject parent() throws NullPointerException;
1214 @NotNilptr public String name() throws NullPointerException;
1215 @NotNilptr public XmlObject[] getElements(String);
1216 @NotNilptr public XmlObject getAttributes(String);
1217 @NotNilptr public String toString() throws IllegalArgumentException, NullPointerException;
1218 public void finalize();
1219};
1221 public void onCrash(String);
1222};
1224 public int onSignal(int);
1225};
1226class Library {
1227 public static final void loadLibrary(String) throws NullPointerException;
1228 public static final void freeLibrary();
1229};
1230class Lock {
1231 public void lock();
1232 public void unlock();
1233 public bool trylock();
1234};
1236 public void lockRead();
1237 public void unlockRead();
1238 public bool trylockRead();
1239 public void lockWrite();
1240 public void unlockWrite();
1241 public bool trylockWrite();
1242};
1244 public void lock();
1245 public void unlock();
1246 public bool trylock();
1247 public void ReentrantLock();
1248 public void finalize();
1249};
1251 public void lock();
1252 public void unlock();
1253 public bool trylock();
1254 public void UnreentrantLock();
1255 public void finalize();
1256};
1258 public void lockRead();
1259 public void unlockRead();
1260 public bool trylockRead();
1261 public void lockWrite();
1262 public void unlockWrite();
1263 public bool trylockWrite();
1265 public void finalize();
1266};
1268 public void HttpServletRequest();
1269 @NotNilptr public InetAddress getClientAddress();
1270 @NotNilptr public String getHeader(String);
1271 @NotNilptr public String getCookie(String);
1272 @NotNilptr public String getSession(String);
1273 public void setSession(String, String);
1274 @NotNilptr public String getParam(String);
1275 @NotNilptr public String[] getParams(String);
1276 @NotNilptr public String[] getParamKeys();
1277 @NotNilptr public String getArg(String);
1278 @NotNilptr public String[] getArgs(String);
1279 @NotNilptr public String[] getArgKeys();
1280 @NotNilptr public String[] getLocalFilepath(String);
1281 @NotNilptr public String[] getFileName(String);
1282 @NotNilptr public Website getWebsite();
1283 @NotNilptr public String getUrl();
1284 @NotNilptr public String getHost();
1285 @NotNilptr public String getMethod();
1286 public void setUserData(Object);
1287 @NotNilptr public Object getUserData();
1288 public void finalize();
1289};
1291 public void HttpServletResponse();
1292 public void print(String);
1293 public void write(byte[], int, int);
1295 public void setResponseCode(int);
1296 public void setCookie(String, String);
1297 public void addHeader(String, String);
1298 public void finalize();
1299};
1301 static const int FLAG_LOGERROR;
1302 static const int FLAG_POSTSTREAM;
1303 public void HttpServlet(int, String);
1304 public void HttpServlet(int);
1308 public void finalize();
1309};
1310class Website {
1311 public void Website();
1314 @NotNilptr public String getRootDirectory();
1315 @NotNilptr public String getTempDirectory();
1316 public void setEnabled(bool);
1318 public void configCacher(bool, int, long);
1319 public void configSession(int, int);
1320 public void clearCacher();
1321 public void clearSession();
1326 @NotNilptr public String mapServerPath(String, String);
1327 @NotNilptr public String mapLocalPath(String, String);
1328 public bool removeCache(String);
1329 public void finalize();
1330};
1332 static const int DEFAULT_MODEL;
1333 static const int SELECT_MODEL;
1334 static const int POLL_MODEL;
1335 static const int EPOLL_MODEL;
1336 public void HttpServer();
1337 public bool setMaxConnection(int);
1338 public bool setConnectionTimeout(int);
1339 public bool setIpConnectionLimit(int);
1340 public bool setThreadPoolSize(int);
1342 public void quiesce();
1343 public void close();
1344 public bool stop();
1345 public bool isRunning();
1346 public bool start(int, int);
1347 public bool configHttps(bool, String, String);
1348 public void finalize();
1349};
1350class File {
1351 public void File();
1352 public void File(String);
1353 public void File(File, String);
1354 @NotNilptr public String getPath();
1355 @NotNilptr public String getName();
1356 public bool isDirectory();
1357 public long open();
1358 public bool find(long, File);
1359 public void close(long);
1360 public bool chmod(int);
1361 public int mode();
1362 public bool remove();
1363 public bool rename(String);
1364 public long lastModifiedTime();
1365 public long length();
1366 public bool mkdir();
1367 public bool exists();
1368 @NotNilptr public String parentPath();
1369 @NotNilptr public String extension();
1370 public void finalize();
1371};
1377 public long length() throws IllegalArgumentException, IOException;
1378 public long available(bool) throws IllegalArgumentException, IOException, InterruptedException;
1379 public void flush() throws IOException;
1380 public void close() throws IllegalArgumentException;
1382 public final void writeShort(short) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
1385 public final void writeFloat(float) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
1386 public final void writeDouble(double) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
1397 public final void writeCharLE(char) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
1398 public final void writeShortLE(short) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
1400 public final void writeLongLE(long) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
1401 public final void writeFloatLE(float) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
1402 public final void writeDoubleLE(double) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
1403 public final void writeBoolLE(bool) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
1412 @NotNilptr public final String readStringLE() throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
1413 public void GZipInputStream(byte[], int, int) throws IllegalArgumentException;
1415 public void finalize();
1416};
1422 public long length() throws IllegalArgumentException, IOException;
1423 public long available(bool) throws IllegalArgumentException, IOException, InterruptedException;
1424 public void flush() throws IOException;
1425 public void close() throws IllegalArgumentException;
1427 public final void writeShort(short) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
1430 public final void writeFloat(float) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
1431 public final void writeDouble(double) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
1442 public final void writeCharLE(char) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
1443 public final void writeShortLE(short) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
1445 public final void writeLongLE(long) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
1446 public final void writeFloatLE(float) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
1447 public final void writeDoubleLE(double) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
1448 public final void writeBoolLE(bool) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
1457 @NotNilptr public final String readStringLE() throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
1459 public void finalize();
1460 public void finish();
1461};
1467 public long length() throws IllegalArgumentException, IOException;
1468 public long available(bool) throws IllegalArgumentException, IOException, InterruptedException;
1469 public void flush() throws IOException;
1470 public void close() throws IllegalArgumentException;
1472 public final void writeShort(short) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
1475 public final void writeFloat(float) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
1476 public final void writeDouble(double) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
1487 public final void writeCharLE(char) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
1488 public final void writeShortLE(short) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
1490 public final void writeLongLE(long) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
1491 public final void writeFloatLE(float) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
1492 public final void writeDoubleLE(double) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
1493 public final void writeBoolLE(bool) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
1502 @NotNilptr public final String readStringLE() throws IllegalArgumentException, IOException, TimeoutException, InterruptedException;
1504 @NotNilptr public byte[] toByteArray();
1505 public void finalize();
1506};
1508 public void StringBuffer();
1509 public void StringBuffer(byte[]);
1510 public void StringBuffer(int);
1512 public void StringBuffer(char[], bool);
1513 public void StringBuffer(char[], int, int, bool) throws IndexOutOfBoundsException, IllegalArgumentException;
1514 public void StringBuffer(byte[], String);
1516 public void StringBuffer(String);
1517 public int length();
1518 public int find(String);
1519 public int find(String, int, int) throws IllegalArgumentException;
1520 @NotNilptr public String substring(int, int) throws IllegalArgumentException;
1521 @NotNilptr public StringBuffer escape();
1522 @NotNilptr public String[] split(String);
1523 @NotNilptr public String[] split(char);
1524 @NotNilptr public StringBuffer operator+= (byte);
1525 @NotNilptr public StringBuffer operator+= (int);
1526 @NotNilptr public StringBuffer operator+= (char);
1527 @NotNilptr public StringBuffer operator+= (long);
1528 @NotNilptr public StringBuffer operator+= (bool);
1529 @NotNilptr public StringBuffer operator+= (float);
1530 @NotNilptr public StringBuffer operator+= (double);
1531 @NotNilptr public StringBuffer operator+= (short);
1532 @NotNilptr public StringBuffer operator+= (String);
1533 public bool startsWith(String);
1534 public bool endsWith(String);
1535 public int indexOf(String, int) throws IllegalArgumentException;
1536 public int indexOf(char, int) throws IllegalArgumentException;
1537 public int indexOf(String);
1538 public int indexOf(char);
1540 public int lastIndexOf(char, int) throws IllegalArgumentException;
1541 public int lastIndexOf(String);
1542 public int lastIndexOf(char);
1543 @NotNilptr public StringBuffer append(String);
1544 @NotNilptr public StringBuffer append(char);
1545 @NotNilptr public StringBuffer insert(int, String) throws IllegalArgumentException;
1546 @NotNilptr public StringBuffer insert(int, char) throws IllegalArgumentException;
1547 @NotNilptr public byte[] getBytes();
1548 @NotNilptr public byte[] getBytes(String) throws IllegalArgumentException;
1549 @NotNilptr public char[] toCharArray(bool);
1550 public bool isDigit();
1551 public long parseLong();
1552 public long parseHex();
1553 public int parseInt();
1554 public bool parseBool();
1555 public float parseFloat();
1556 public double parseDouble();
1557 @NotNilptr public StringBuffer replace(int, int, String) throws IllegalArgumentException;
1558 @NotNilptr public StringBuffer replace(String, String);
1559 @NotNilptr public StringBuffer lower();
1560 @NotNilptr public StringBuffer upper();
1561 public bool equals(String);
1563 public int countChar(char);
1564 public int countString(String);
1566 @NotNilptr public StringBuffer appendPath(String);
1567 @NotNilptr public StringBuffer trim(bool);
1568 @NotNilptr public StringBuffer ltrim(bool);
1569 @NotNilptr public StringBuffer rtrim(bool);
1571 @NotNilptr public StringBuffer removeExtension();
1574 @NotNilptr public String findExtension();
1576 @NotNilptr public String findFilename();
1577 @NotNilptr public String findPathFilename();
1578 @NotNilptr public String findVolume();
1579 @NotNilptr public String findVolumePath();
1580 public bool isDot();
1581 @NotNilptr public StringBuffer toRelativePath(String, bool, bool);
1583 public char charAt(int);
1584 @NotNilptr public StringBuffer appendFill(char, int) throws IllegalArgumentException;
1585 @NotNilptr public StringBuffer decodeURI();
1586 @NotNilptr public StringBuffer encodeURI(bool);
1587 @NotNilptr public String charset();
1588 public int compare(String);
1589 public int capacity();
1590 @NotNilptr public StringBuffer resizeCapacity(int);
1591 @NotNilptr public String toString();
1592 @NotNilptr public StringBuffer append(byte[], int, int) throws IndexOutOfBoundsException, IllegalArgumentException;
1593 @NotNilptr public StringBuffer append(char[], int, int, bool) throws IndexOutOfBoundsException, IllegalArgumentException;
1594 public void clear();
1595 public void finalize();
1596 @NotNilptr public String substring(int) throws IllegalArgumentException;
1597 @NotNilptr public StringBuffer append(int);
1598 public char operator[](int) throws IllegalArgumentException;
1599 @NotNilptr public static final StringBuffer formatPath(bool);
1600};
系统和IO相关
static const int LCID_ORI
static const int LCID_DEA
static const int SIGINT
信号
static final long consoleRead(byte[], long, long)
static final bool registrySystemSignalHandler(int, ISystemSignalHandler, bool)
static const int LCID_ESG
static const int LCID_ARM
static final long read(long, byte[], long, long)
static const int CREATE
static const int LCID_ESC
static final bool registryCrashHandler(ICrashHandler)
static const int LCID_ARY
static const int LCID_FAR
static final bool fileExists(String)
static const int LCID_PAN
static const int ASYNC
static const int DIRECT
static const int LCID_SYR
static const int LCID_CSY
static const int DIRECTORY
static final String getHostName()
static const int LCID_ARG
static const int LCID_FRC
static final void exit(int)
static const int LCID_MKI
static const int LCID_AFK
static const int LCID_ARK
static final void sleep(long)
static const int LCID_ENI
static const int ACCMODE
static final long getLength(long)
static const int SIGCONT
static const int LCID_RUS
static const int SYNC
static const int SIGNAL_DISCARD
static const int LCID_ENJ
static final bool chdir(String)
static const int SIGNAL_ABORT
static const int LCID_DEU
static const int LCID_ENZ
static const int LCID_DIV
static const int LCID_BEN
static final long readPipe(long, byte[], long, long)
static const int LCID_ENC
static const int LCID_ARH
static const int LCID_MAL
static const int PARITY_ODD
static const int LOG_LEV_CRIT
static final bool mkdir(String)
static const int ARCH_ARM
static const int LOG_LEV_EMERG
logcat 信息级别
static final bool deleteFile(String)
static const int LCID_ENW
static const int LCID_HUN
static const int S_IWOTH
static const int LCID_LVI
static const int LCID_UZB
static final void createConsole()
static final bool rename(String, String)
static const int S_IFMT
static const int LCID_SLV
static final int getPlatformId()
static const int LCID_URP
static const int PLATFORM_IOS
static const int LCID_SWK
static const int S_IWGRP
static const int LCID_ARJ
static const int LCID_ESB
static const int S_IXOTH
static const int LCID_AZE1
static const int NOCTTY
static final int getModuleId(String)
static const int S_IFIFO
static const int READ
static const int SIGNAL_SPREAD
static const int LCID_ENS
static const int LCID_SAN
static const int LCID_ROM
static final String getWorkDirector()
static const int TRUNC
static const int LCID_ARS
static const int S_IFDIR
static const int LCID_ESO
static const int LCID_ART
static const int LCID_ELL
static const int ARCH_X64
static const int LCID_URI
static const int LCID_FRB
static const int S_IRWXU
static final void output(String)
static const int LCID_ARU
static const int S_IRWXG
static const int LCID_FRS
static final String getModulePath(int)
static const int LCID_CHS
static const int LCID_KKZ
static const int LCID_GLC
static const int LCID_ZHM
static const int SIGTSTP
static final long open(String, int)
static const int APPEND
static const int LCID_ARQ
static const int LCID_DAN
static const int S_IROTH
static const int PATH
static const int S_IWUSR
static const int PLATFORM_IOS_SIMULATOR
static const int LCID_TTT
static const int LCID_ARL
static final long getAppVersion()
static const int LCID_FOS
static const int LCID_ESS
static const int LCID_ESN
static final long consoleWrite(String)
static const int SIGNAL_UNINTERESTED
信号处理接口返回值
static const int ARCH_MIPS
static const int LCID_EUQ
static const int LCID_HEB
static const int S_IRUSR
static const int LOG_LEV_INFO
static const int LCID_HYE
static const int LOG_LEV_WARNING
static const int LCID_GUJ
static const int LCID_MAR
static const int LCID_VIT
static const int SIGPWR
static const int LCID_PTG
static const int LCID_ESA
static const int PLATFORM_POSIX
static final long getSeek(long)
static const int LCID_DEFAULT
static const int LCID_ISL
static const int PLATFORM_WINDOWS
static final bool openPipe(long, bool)
static const int LCID_ESD
static const int LCID_BEL
static final int loadLibrary(String)
static const int LCID_KOR
static const int LCID_FIN
static const int LCID_ESF
static const int LCID_ENP
static const int LCID_KAT
static final int getArchId()
static const int LCID_ENA
static const int NOFOLLOW
static const int LCID_SVE
static final bool setupLogSource(String)
static const int LCID_NLB
static const int LCID_DEC
static const int S_IFSOCK
static const int LCID_UKR
static const int PLATFORM_UNIX
static const int CLOEXEC
static const int LCID_ARA
static const int STDIN_NO
标准输入输出流
static const int S_ISUID
static const int READWRITE
static const int WRITE
static const int LCID_ESR
static final void log(String, int, String, bool)
static const int LCID_ESY
static const int LCID_ESU
static final bool chmod(String, int)
static const int LCID_SQI
static final long write(long, byte[], long, long)
static const int LCID_ESE
static const int LCID_SVF
static const int LCID_ZHH
static const int PARITY_NONE
static final bool rmdir(String)
static const int LCID_TAM
static const int LCID_FRL
static const int LCID_NLD
static const int ARCH_MIPS64
static const int LCID_TRK
static const int PLATFORM_ANDROID
static const int DSYNC
static const int LCID_MSL
static const int LCID_TEL
static const int LCID_ENT
static const int PLATFORM_LINUX
static const int NOATIME
static const int LCID_AZE
static final long currentTimeMillis()
static const int EXCL
static const int LCID_ZHI
static const int LCID_KAN
static const int LCID_JPN
static const int LCID_IND
static const int STDOUT_NO
static final String getAppDirectory()
static final long seek(long, int, long)
static const int LCID_ESM
static const int LCID_ARB
static const int LCID_SRL
static const int LCID_DEL
static const int LCID_MON
static const int LCID_ESL
static const int LCID_ARO
static final void arrayCopy(Object, long, Object, long, long)
static const int LCID_HRV
static const int S_IFREG
static const int LCID_ESH
static const int NDELAY
static const int LCID_BGR
static final long getFileSize(String)
static const int S_ISGID
static const int LCID_FRM
static const int LCID_LTC
static const int LCID_LTH
static final void gc()
static const int LCID_ARI
static const int LCID_PTB
static const int LCID_ENB
static const int S_IFBLK
static final long writePipe(long, byte[], long, long)
static const int PLATFORM_MACOSX
static final int getOSBit()
static const int ARCH_X86
static const int S_IXUSR
static const int LCID_NON
static final long createPipe(String, bool)
static const int LCID_HIN
static const int S_IFCHR
static const int LOG_LEV_DEBUG
static const int LOG_LEV_ERR
static final bool close(long)
static const int LCID_ENG
static const int LCID_ASM
static const int LCID_KNK
static const int LCID_ITS
static const int SIGTERM
static const int LCID_ARE
static const int LCID_THA
static const int LCID_ESI
static const int LCID_SKY
static const int S_IFLNK
static const int ARCH_ARM64
static const int S_IXGRP
static const int LOG_LEV_NOTICE
static const int S_IRWXO
static const int LCID_CHT
static const int LCID_FRA
static const int ARCH_UNKNOW
处理器架构
static final int [] getAllModules()
static const int S_ISVTX
static const int PARITY_EVEN
static const int STDERR_NO
static const int S_IRGRP
static const int LCID_ESP
static const int LCID_NOR
static const int LCID_ESV
static final long getAppTimestamp()
static const int LCID_ENL
static const int LCID_ETI
static const int TMPFILE
static const int PLATFORM_UNKNOW
操作系统
static const int LCID_ITA
static const int LCID_USA
static const int LCID_MSB
static const int LCID_KYR
static const int LCID_DES
static final String getDefaultEncoding()
static const int LCID_UZB1
static const int LCID_PLK
static const int LOG_LEV_ALERT
static const int LCID_ESZ
static final String getAppPath()
static const int LCID_SRB
static const int LCID_CAT
static final bool closePipe(long)
static const int LARGEFILE
数组储存异常
final long getErrorCode()
Exception Exception(String)
Exception ArrayStoreException()
Exception Exception()
final String getMessage()
Exception ArrayStoreException(String)
base64类
Definition Base64.xcs:6
static final byte [] decodeString(String)
static final String encodeToString(byte[], bool)
static final String encodeToString(byte[], int, int, bool)
int write(byte[], int, int)
int read(byte[], int, int)
long seek(int, long)
显式转换异常
final long getErrorCode()
Exception Exception(String)
Exception ClassCastException(String)
Exception ClassCastException()
Exception Exception()
final String getMessage()
bool extendsOf(Class)
String getName()
Field [] getFields()
Method [] getMethods()
Method [] getMethods(String, int)
Object newInstance(Method, Object[])
Class getSuperClass()
Object newInstance()
Object newInstance(Method)
密码处理类
static final byte [] rsa_getPrivateKey(long)
static final void rsa_close(long)
static const int SSLV23Padding
static final bool rsa_loadFromPublicKey(long, byte[], int, int)
static final bool rsa_loadFromPrivateKey(long, byte[], int, int)
static const int AES_CFB128
static final byte [] rsa_publicDecrypto(long, byte[], int, int, int)
static final byte [] rsa_publicEncrypto(long, byte[], int, int, int)
static const int AES_ECB
static const int PKCS1Padding
static final byte [] rsa_privateDecrypto(long, byte[], int, int, int)
static final byte [] rsa_getPublicKey(long)
static final void md5_close(long)
static final byte [] md5_result(long)
static final void sha1_final(long)
static final long sha1_init()
static const int AES_CFB1
static final void sha1_close(long)
static final int rsa_encryptoMaxSize(long)
static final byte [] sha1_result(long)
static const int ZerosPadding
static final void aes_close(long)
static final void md5_update(long, byte[], int, int)
static final void md5_final(long)
static final int rsa_decryptoMaxSize(long)
static final void sm3_update(long, byte[], int, int)
static const int NoPadding
static final bool rsa_create(long, int)
static const int PKCS5Padding
static final int aes_encrypt(long, byte[], int, int, byte[], int, int, int)
static final void sm3_final(long)
static final long sm3_init()
static final void sha1_update(long, byte[], int, int)
static final byte [] rsa_privateEncrypto(long, byte[], int, int, int)
static const int AES_CFB8
static final long rsa_init()
static final byte [] sm3_result(long)
static final void sm3_close(long)
static final long md5_init()
static final long aes_open(String, String, int, bool)
static const int AES_CBC
static const int FLAGS_WRITEABLE
long available(bool)
String getRemoteIpAddress()
int sendTo(String, int, byte[], int, int)
InetAddress getLocalInetAddress()
static const int FLAGS_EXCEPTION
String getLocalIpAddress()
bool receive(DatagramPacket)
int sendTo(InetAddress, byte[], int, int)
int write(byte[], int, int)
int getLocalPort()
int available(long, int)
long getHandle()
static final int select(DatagramSocket[], int, int, int, int[], int)
bool connect(String, int)
void DatagramSocket()
InetAddress getRemoteInetAddress()
int read(byte[], int, int)
bool bind(String, int)
bool setSoTimeout(int)
int getRemotePort()
static const int FLAGS_READABLE
bool send(DatagramPacket)
final long getErrorCode()
Exception Exception(String)
Exception DivByZeroException()
Exception DivByZeroException(String)
Exception Exception()
final String getMessage()
异常类
final long getErrorCode()
Exception Exception(String)
Exception Exception()
final String getMessage()
bool isStatic()
Object setValue(Object)
String getName()
static int FLAG_ALL
bool isConst()
Object getValue()
Object getType()
long length()
void File(File, String)
void finalize()
void File(String)
int mode()
String getPath()
void File()
String getName()
bool chmod(int)
long open()
bool isDirectory()
bool exists()
bool find(long, File)
long lastModifiedTime()
bool mkdir()
String parentPath()
bool rename(String)
void close(long)
String extension()
int write(byte[], int, int)
int read(byte[], int, int)
long getPosition()
long seek(int, long)
int write(byte[], int, int)
int read(byte[], int, int)
long seek(int, long)
http请求类
bool putHeader(String)
static const int PROXY_SOCKS5
bool putFormField(String, String, String, Stream)
long available(bool)
void finalize()
static const int PROXY_SOCKS4
bool setCookieInputFile(String)
bool putField(String, byte[], int, int)
bool putFormField(String, String)
bool post(String, int, bool)
bool reset()
bool removeField(String)
void HttpRequest()
static const int PROXY_HTTP
static const int PROXY_HTTP_10
bool setCookieOutputFile(String)
bool setCookie(String)
bool putFormField(String, String, String, String)
static const int PROXY_HTTP_SOCKS5_HOSTNAME
long getLength()
bool setProxy(String, int, int, String, String)
int read(byte[], int, int)
static const int PROXY_SOCKS4A
bool setUserAgent(String)
int getResponseCode()
bool removeHeader(String)
bool putField(String, String)
bool putFormField(String, String, String, byte[])
HTTP 服务器
static const int DEFAULT_MODEL
默认网络模型运行, 一般为EPOLL_MODEL
void finalize()
bool start(int, int)
bool isRunning()
void close()
bool setConnectionTimeout(int)
bool setMaxConnection(int)
bool stop()
bool setIpConnectionLimit(int)
int addWebsite(String, Website)
static const int SELECT_MODEL
以select网络模型运行
bool configHttps(bool, String, String)
static const int EPOLL_MODEL
以epoll网络模型运行
static const int POLL_MODEL
以poll网络模型运行
bool setThreadPoolSize(int)
void quiesce()
void HttpServer()
HTTP Servlet 抽象类
void doGet(HttpServletRequest, HttpServletResponse)
void HttpServlet(int, String)
void finalize()
static const int FLAG_POSTSTREAM
void doPost(HttpServletRequest, HttpServletResponse)
bool onPostStream(HttpServletRequest, String, String, String, String, byte[], long)
void HttpServlet(int)
static const int FLAG_LOGERROR
InetAddress getClientAddress()
Object getUserData()
String getHeader(String)
String getSession(String)
void HttpServletRequest()
String getCookie(String)
void setUserData(Object)
String [] getParamKeys()
String getParam(String)
String [] getLocalFilepath(String)
String getArg(String)
void setSession(String, String)
String [] getArgs(String)
String [] getFileName(String)
String [] getParams(String)
Website getWebsite()
String [] getArgKeys()
void setCookie(String, String)
void addHeader(String, String)
void setResponseCode(int)
void setOutputStream(Stream)
void print(String)
void HttpServletResponse()
void write(byte[], int, int)
App 崩溃处理接口
void onCrash(String)
final long getErrorCode()
Exception Exception(String)
Exception IOException()
Exception Exception()
final String getMessage()
Exception IOException(String)
int onEncode(long, byte[], int, Stream)
void onAccessFailed(long)
int onDecode(long, byte[], int, Stream)
int getDecodeLength(long, byte[], int)
static const int DONT_NEED_PROCESS
bool onTimeout(long)
bool onDeleteInstance(long)
bool onNewInstance(long, int)
App 操作系统信号处理接口
final long getErrorCode()
Exception Exception(String)
Exception IllegalArgumentException()
final String getMessage()
Exception IllegalArgumentException(String)
Exception IndexOutOfBoundsException(String)
Exception Exception(String)
Exception IndexOutOfBoundsException()
final String getMessage()
网络地址类
int getAddress()
String getHostAddress()
void finalize()
void InetAddress()
int getPort()
static final InetAddress [] getHostInetAddress(String)
void InetAddress(String, int)
中断异常(主要有sleep抛出)
Exception InterruptedException(String)
final long getErrorCode()
Exception Exception(String)
Exception Exception()
Exception InterruptedException()
final String getMessage()
迭代器失效异常
final long getErrorCode()
Exception Exception(String)
Exception InvalidIteratorException(String)
final String getMessage()
Exception InvalidIteratorException()
json数组类
String getString(int)
bool getBool(int)
JsonNode(int, JsonNode)
int operator[](int, int)
void put(int)
String toString(bool)
void finalize()
int length()
void put(bool)
final int getType()
JsonNode next()
bool equals(JsonNode)
void put(int, double)
String getName()
JsonArray getArray(int)
bool isArray()
void put(long)
bool operator[](int, bool)
void JsonArray()
void JsonArray(String)
void put(JsonNode)
void put(double)
long operator[](int, long)
JsonObject getObject(int)
void put(int, JsonNode)
JsonNode prev()
double getDouble(int)
void put(int, long)
void put(int, String)
String(int, String)
void put(String)
void put(int, bool)
int getInt(int)
JsonNode clone()
bool isNull(int)
double operator[](int, double)
void put(int, int)
long getLong(int)
JsonNode child()
static const int JSONTYPE_NUMBER
String toString(bool)
void finalize()
final int getType()
static const int JSONTYPE_STRING
JsonNode next()
bool equals(JsonNode)
String getName()
bool isArray()
static const int JSONTYPE_ARRAY
static const int JSONTYPE_BOOL
static const int JSONTYPE_OBJECT
JsonNode prev()
static const int JSONTYPE_NULL
JsonNode clone()
static final JsonNode From(String)
JsonNode child()
int getInt(String)
void JsonObject()
long getLong()
JsonObject put(String, long)
String toString(bool)
long operator[](String, long)
void finalize()
JsonObject put(String, int)
final int getType()
bool isNull(String)
long getLong(String)
JsonNode next()
String getString(String)
bool has(String)
bool equals(JsonNode)
int getInt()
double getDouble()
JsonArray getArray(String)
JsonObject put(String, String)
String getName()
bool isArray()
void JsonObject(String)
bool getBool(String)
String(String, String)
JsonObject getObject(String)
int operator[](String, int)
JsonObject put(String, JsonNode)
JsonNode prev()
JsonObject put(String, double)
bool operator[](String, bool)
String getString()
JsonNode clone()
double getDouble(String)
double operator[](String, double)
JsonObject put(String, bool)
bool getBool()
JsonNode child()
JsonNode(String, JsonNode)
static final void freeLibrary()
static final void loadLibrary(String)
map容器
Definition List.xcs:6
void addAll(T[])
void finalize()
T pollHead()
void insert(Iterator, T)
T [] toArray(T[])
T pollLast()
void List()
Iterator iterator()
void clear()
int size()
void add(T)
Lock 锁接口
bool trylock()
void unlock()
void lock()
map容器
Definition Map.xcs:6
V operator[](K)
bool containsKey(K)
void Map()
void finalize()
Iterator find(K)
Iterator put(K, V)
Iterator findLower(K, bool)
Iterator iterator()
V operator[](K, V)
void clear()
Iterator findHigher(K, bool)
int size()
Math类
static final double max(double, double)
static final long floorDiv(long, long)
static final int doubleToIntBits(double)
static final double min(double, double)
static final double cbrt(double)
static final int floatToIntBits(float)
static final double atan2(double, double)
static final long doubleToLongBits(double)
static final double asin(double)
static final long min(long, long)
static final double pow(double, double)
static final double parseDouble(String)
static final float intBitsToFloat(int)
static final double sin(double)
static final int abs(int)
static final bool isINF(double)
static final double random()
static final double intBitsToDouble(int)
static final int min(int, int)
static final double atan(double)
static final double sqrt(double)
static final double cosh(double)
static final double floor(double)
static final float parseFloat(String)
static final int max(int, int)
static final double abs(double)
static final double expm1(double)
static final double log(double)
static final double log1p(double)
static final bool isNan(double)
static const double PI
static final long round(double)
static final long abs(long)
static final double exp(double)
static final long max(long, long)
static final double sinh(double)
static const double E
static final double tanh(double)
static final int parseInt(String, int)
static final double acos(double)
static final long parseLong(String, int)
static final double cos(double)
static final double ceil(double)
static final double longBitsToDouble(long)
static final int floorDiv(int, int)
int getParameterFlags(int)
int getThrowExceptionCount()
Object invoke(Object)
int getParameterCount()
String getName()
static int FLAG_ABSTRACT
Object getType()
Object invoke(Object, Object[])
Object getParameterType(int)
int getFlags()
Object getThrowExceptionItem(int)
long toNative()
final long getErrorCode()
Exception NullPointerException(String)
Exception Exception(String)
Exception NullPointerException()
Exception Exception()
final String getMessage()
long getObjectPtr()
bool isArrayObject()
bool instanceOf(Class)
Class getComponentType()
void notify()
void wait()
Class getClass()
void notifyAll()
long getPtr()
long hash()
内存溢出异常
final long getErrorCode()
Exception Exception(String)
Exception OutOfMemoryException()
Exception Exception()
final String getMessage()
Exception OutOfMemoryException(String)
正则表达式
static const int ANCHORED
static const int NEVER_UTF
static const int UTF8
static final bool test(String, String, int, bool)
static const int BSR_UNICODE
static const int NOTEOL
static const int NO_UTF8_CHECK
static const int NO_AUTO_POSSESS
static const int NOTEMPTY
static const int CASELESS
void finalize()
static const int DOLLAR_ENDONLY
static const int NEWLINE_LF
static const int UTF16
static const int UTF32
static const int BSR_ANYCRLF
static const int JAVASCRIPT_COMPAT
Result matchAll(String, int, int, int)
static const int DOTALL
static const int NEWLINE_ANYCRLF
static const int EXTENDED
static const int NEWLINE_ANY
static const int EXTRA
static const int AUTO_CALLOUT
static const int UCP
static const int NO_AUTO_CAPTURE
static const int DUPNAMES
static const int NO_UTF16_CHECK
static const int NOTEMPTY_ATSTART
static const int NEWLINE_CRLF
static final Pattern Compile(String, int)
static const int NEWLINE_CR
static const int DFA_SHORTEST
void Pattern(String, int)
static const int PARTIAL_SOFT
static const int FIRSTLINE
static const int NOTBOL
static const int PARTIAL
int match(String, Result, int, int, int)
static const int NO_START_OPTIMISE
static const int NO_UTF32_CHECK
static const int UNGREEDY
static const int NO_START_OPTIMIZE
static final Pattern Compile(String)
static const int DFA_RESTART
void Pattern(String)
static const int MULTILINE
static const int PARTIAL_HARD
进程类
bool setWorkDirectory(String)
static const int RedirectStdErr
void finalize()
int readError(byte[], int, int)
static const int Visible
bool waitFor(int)
static const int StdErr
static const int Default
int write(byte[], int, int)
int getExitCode()
bool exit(int)
static const int StdIn
long id()
static final long CurrentProcessId()
bool create(int)
void Process(String)
void Process(String, String[])
static const int NewConsole
int read(byte[], int, int)
static const int StdOut
bool trylockRead()
bool trylockWrite()
void unlockRead()
void unlockWrite()
void lockWrite()
void lockRead()
Lock 可重入锁
void finalize()
void ReentrantLock()
bool trylock()
运行时异常
final long getErrorCode()
Exception Exception(String)
Exception Exception()
Exception RuntimeException()
final String getMessage()
Exception RuntimeException(String)
final long getErrorCode()
Exception Exception(String)
Exception StackOverflowException(String)
Exception StackOverflowException()
final String getMessage()
流接口
static const int SeekBegin
int write(byte[], int, int)
static const int SeekCurrent
int read(byte[], int, int)
static const int SeekEnd
long getPosition()
long seek(int, long)
tcp协议套接字
static const int FLAGS_WRITEABLE
static const int FLAGS_EXCEPTION
int write(byte[], int, int)
int read(byte[], int, int)
long getPosition()
long seek(int, long)
static const int FLAGS_READABLE
字符串缓冲类
int find(String)
void StringBuffer(byte[], int, int, String)
bool endsWith(String)
int countStringIgnoreCase(String)
StringBuffer toAbsolutePath(String)
StringBuffer replaceExtension(String)
String [] split(char)
void StringBuffer()
StringBuffer append(char)
long parseHex()
StringBuffer append(int)
char operator[](int)
StringBuffer removeExtension()
float parseFloat()
void finalize()
StringBuffer append(String)
StringBuffer lower()
StringBuffer appendPath(String)
StringBuffer append(byte[], int, int)
bool startsWith(String)
int lastIndexOf(String, int)
String charset()
StringBuffer encodeURI(bool)
bool isDigit()
byte [] getBytes(String)
int find(String, int, int)
void StringBuffer(byte[])
int indexOf(char)
StringBuffer appendFill(char, int)
long parseLong()
int lastIndexOf(char)
StringBuffer replaceFilename(String)
char [] toCharArray(bool)
StringBuffer trim(bool)
bool equals(String)
String findVolumePath()
bool equalsIgnoreCase(String)
void StringBuffer(byte[], String)
int indexOf(String, int)
StringBuffer insert(int, String)
int lastIndexOf(String)
StringBuffer rtrim(bool)
int compare(String)
StringBuffer insert(int, char)
String substring(int, int)
int indexOf(String)
StringBuffer decodeURI()
StringBuffer replace(String, String)
double parseDouble()
int lastIndexOf(char, int)
bool isDot()
StringBuffer resizeCapacity(int)
static final StringBuffer formatPath(bool)
void StringBuffer(byte[], int, int)
void StringBuffer(char[], int, int, bool)
String findFilenameAndExtension()
String findPathFilename()
StringBuffer replace(int, int, String)
StringBuffer replaceFilenameAndExtension(String)
void StringBuffer(int)
void clear()
String toString()
int countString(String)
bool parseBool()
StringBuffer upper()
StringBuffer append(char[], int, int, bool)
String [] split(String)
int capacity()
String findVolume()
void StringBuffer(String)
String findFilename()
StringBuffer toRelativePath(String, bool, bool)
String findExtension()
int countChar(char)
StringBuffer escape()
StringBuffer ltrim(bool)
String substring(int)
void StringBuffer(char[], bool)
byte [] getBytes()
int parseInt()
int indexOf(char, int)
char charAt(int)
字符串类
String lower()
int find(String)
void String(byte[], int, int, String)
void String(String)
bool endsWith(String)
String replaceFilename(String)
int countStringIgnoreCase(String)
String insert(int, String)
String [] split(char)
void String(byte[], String)
long parseHex()
String toAbsolutePath(String)
float parseFloat()
String append(char)
bool startsWith(String)
int length()
int lastIndexOf(String, int)
String charset()
bool isDigit()
byte [] getBytes(String)
String replace(String, String)
int find(String, int, int)
int indexOf(char)
static const char SLASH
String replaceExtension(String)
String replace(int, int, String)
long parseLong()
int lastIndexOf(char)
char [] toCharArray(bool)
String appendPath(String)
bool equals(String)
String toRelativePath(String, bool, bool)
String findVolumePath()
bool equalsIgnoreCase(String)
String upper()
int indexOf(String, int)
int lastIndexOf(String)
String trim(bool)
String rtrim(bool)
String substring(int, int)
int indexOf(String)
double parseDouble()
void String(char[], bool)
int lastIndexOf(char, int)
bool isDot()
String removeExtension()
String decodeURI()
String append(String)
String findFilenameAndExtension()
String findPathFilename()
String encodeURI(bool)
int countString(String)
bool parseBool()
String [] split(String)
String findVolume()
String replaceFilenameAndExtension(String)
String findFilename()
String escape()
String insert(int, char)
String findExtension()
int countChar(char)
void String(char[], int, int, bool)
String substring(int)
void String(byte[], int, int)
void String(byte[])
String ltrim(bool)
byte [] getBytes()
int parseInt()
int indexOf(char, int)
char charAt(int)
线程类
void run()
static final void sleep(long)
static final void setLocalObject(Object)
final long id()
static final long getId()
static final Object getLocalObject()
static final void setName(String)
final void join()
final void start()
final long getErrorCode()
Exception Exception(String)
Exception TimeoutException()
Exception Exception()
Exception TimeoutException(String)
final String getMessage()
定时器类
void cancel()
void Timer()
bool schedule(TimerTask, int)
void finalize()
bool schedule(TimerTask, int, int)
定时器任务类
void run()
Lock 不可重入锁
void UnreentrantLock()
unsi 通用网络服务器接口类
int getNamelistMode()
static const int WHITE_NAMELIST
开启白名单模式
void setNamelistMode(int)
int getId(long)
bool addToNamelist(String, bool)
void finalize()
static const int UNSI_UDP
UDP模式
void Unsi()
bool disconnect(long)
long getConnectionNumber()
InetAddress getRemoteInetAddress(long)
static const int BLACK_NAMELIST
开启黑名单模式
bool start()
static const int UNSI_TCP
TCP模式
bool create(AsyncInput, int, int, int)
AsyncOutput getAsyncDirectOutput()
long clone(long)
static const int DISABLE_NAMELIST
禁用名单模式
bool send(long, long, byte[], int, int)
bool equalsHandle(long, long)
bool config(int, int, int)
bool inactiveTimeout(AsyncOutput, long)
void finalize()
bool newInstance(AsyncOutput, int, long, long)
bool deleteInstance(AsyncOutput, long)
bool dataArrives(AsyncOutput, long, byte[], int, int)
void notify(AsyncOutput, int, long, bool, long, int)
long getInstanceId(long)
void finalize()
void deleteInstance(AsyncInput, long)
long newInstance(AsyncInput, String, int, long)
void releaseContext(long)
long cloneContext(long)
bool dataDeparture(AsyncInput, long, long, byte[], int, int)
vector容器
Definition Vector.xcs:7
T operator [](int, T)
void addAll(T[])
void finalize()
int Vector(int)
T operator[](int)
T [] toArray(T[])
void removeRange(int, int)
int Vector()
void clear()
void insert(int, T)
int size()
void add(T)
http 站点类
String mapServerPath(String, String)
bool addDefaultPage(String)
bool removeCache(String)
void clearSession()
void configCacher(bool, int, long)
void finalize()
bool setHeader(String, String, String)
String getRootDirectory()
void Website()
String getTempDirectory()
String mapLocalPath(String, String)
void configSession(int, int)
void setEnabled(bool)
void setTempDirectory(String)
bool setFooter(String, String, String)
bool addMimeType(String, String)
void clearCacher()
void setRootDirectory(String)
bool registryServlet(HttpServlet)
static final Result Match(byte[], int, int, String)
XmlObject addText(String)
static const int Element
XmlObject addComment(String)
XmlObject addDeclaration(String)
void XmlObject(String)
void setValue(String)
void setAttribute(String, String)
XmlObject addElement(String)
void XmlObject()
static const int Declaration
void setName(String)
static const int Text
static const int Document
XmlObject child()
XmlObject root()
static const int Attribute
static const int Comment
void setText(String)
void setComment(String)
ZipEntry findEntry(String)
ZipEntry getEntry(int)
bool open(Stream)
void finalize()
String getComment()
void close()
int getEntriesCount()
void finish()
bool createEntry(ZipFile)
bool create(Stream)
void ZipArchive()
ZipFile getFile()
void ZipEntry()
void finalize()
void close()
bool eof()
void ZipFile(String, Stream, bool, long)
int read(byte[], int, int)
bool open()
异步输入接口 需要继承
Definition AsyncInput.xcs:6
bool inactiveTimeout(AsyncOutput, long)
bool newInstance(AsyncOutput, int, long, long)
bool deleteInstance(AsyncOutput, long)
bool dataArrives(AsyncOutput, long, byte[], int, int)
void notify(AsyncOutput, int, long, bool, long, int)
异步输出接口 需要继承
long getInstanceId(long)
void deleteInstance(AsyncInput, long)
long newInstance(AsyncInput, String, int, long)
void releaseContext(long)
long cloneContext(long)
bool dataDeparture(AsyncInput, long, long, byte[], int, int)