??? ???? ?? ? ?? ??? ?? ? ??? Stax? ??????. ? XML? DOM? ?????. 2. ?? ????? ??? ?? ??? ?? ???? XML? ????? ????????. 3. ?? BufferedInputStream? ???? I/O ?? ??? ????. 4. ???? ?? ? ???? ??? ??? ???????. 5. ?? ?? ?? ??? ?? ? ?? ??? ??????. 6. ??? ?? JSON ?? ?? ??? ?? ? ?? ??? ??????. 7. ???? ????? CPU, ??? ?? I/O ?? ??? ???? ?? ?? ??????. ????, XML? ????? ???? ??? ??? ??? ???? ?????? ???????? ??? ??? ?????.
XML ???, ?? ?????? ??????, ??? ?? ????? ?? ?? ??? ???? ?? ? ?? ??? ???? ???? ??? ?? ??? ??? ? ? ????. XML ??? ????? ?? ?? ? ?? ?? ??? ????. ??? ???? ??? I/O ?? ??? ????? ??? ??? ??? ???? ????. ????? ???? ??? ??? ????.

1. ??? ?? ?? ??? ?????? : ???, Dom ?? Stax?
?? ? ?? ??? ???? ? ?? ?? ?????.
-
dom (?? ?? ??) : ?? XML? ??? ?????????. ??? ??? ???? ??? ??? ?? ?? ??? ??? ?.
? ?? : ?? ??? ??. ? XML ??? ?????. ??? (XML ? ??? API) : ??? ??? ???? ??. XML? ????? ?? ??? ?????? (StartElement, Endlement ?).
??? : ?? ??, ?? ?? ??, ?? ??? ???.
?? ?? ?? : ??? ?? ??? ??? ??? ? ????.STAX (XML? ???? API) : ? ?? ??. SAX? "??"??? ?? ?? ( "?"???)? ?????.
? ? ??? ?? : ???? ?? ??? ???? ???? ????.
? ?? ?? : ???? ?? ???? ??????? Stax? ??????. ????? ????? ??????.
2. ?? ??? ????????? ????
DOM? ???? ???? ?? ??? ???? ??? ?? ??????? ????.
- chunks ???? : XML? ?? ?? (? :
<record></record>
??)? ?? ? ?? Stax ?? Sax? ???? ? ?? ??? ?? ???? ?? ? ??????. - ????? XPath? ?????? : ?????
//node
??? ? ???? ??? ? ????./root/data/item
?? ?? ??? ???? ?? ??? ?????.
? ? : DOM? ?????? ?? SAX/Stax? ???? ?? ?? ? ??????.
3. I/O? ????? ??? ? ???? ??????
XML ?? ?? ??? ?? CPU? ?? I/O? ?? ?????.
-
BufferedInputStream
? ?? ?? ??? ??????.inputStream in = new bufferedInputStream (new FileInputStream ( "data.xml"));
- ?? ??? ?? ?? XML? ?? ???? ??? ?? ?? ?? ?? (? : ??? ? ?? ?? ?????? ??).
4. ??? ?? ??? ??? ??????
XML ??? ?? (DTD ?? XSD? ??)? ?? ??? ?????.
- ? ?? ?? ??? ?? ?? ??? ??????.
- input ??? ??? ?? ???? ???????.
- ??? ??? ????? ??? ?? ??? ?? ? ??????.
5. ??? ?? ? ?? ??? ???????
XML ??? ?? ??? (?? ??, ??, ???)? ?????.
- ??? ?? ?? ?? ??? ??? ???????.
- ?? ?? ?? ???? ?? ??? ??? ????.
-
String.intern()
???? ?????? - ??? ? ??? ?????? ??? ??? ??? ?????.
6. ??? ?? ????? ?? ??? ??????
??? ???? ??? ??? ?? ?? ???? ???? ??? ??????.
- JSON : XML?? ??? ?? ???? ? ? ????.
- ???? ?? / avro / messagepack : ???? ?? ????? ?? ??.
? ??? XML (? : ??? ???, ??, ??)? ???? ?? ?? ?? ??? ???????.
7. XML ????? ?????? ????????
???? ? ?? (VisualVM, Jprofiler ?? Async-Profiler)? ???? ?? ??? ?????.
- CPU ??? (?? ?? ??)????
- ??? ??? (DOM ?? ??)?
- I/O ??? (???/???? ??)?
?? ??? ?? ???? ????? ??? ? ? ????.
??? ??? ? ??? stax? ????, ???? DOM? ???, I/O? ?????, ??? ??? ??? ?? ??, ?? ????? ?????? . ??? XML? ? ?? ? ??? ?? ????? ???? ????.
????? XML? ? ?? ??? ?? ??? ??? ??? ?? ????. ??? ???? ?? ???? ??????.
? ??? XML ?? ?? ???? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Stock Market GPT
? ??? ??? ?? AI ?? ?? ??

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

?? ???? ? ??? ??? ??? ?? ??? ? ??? ?? ???? ???? ? ?????. 1. ??? ???? ????? ????. ofnullable null ?? ?????. 2. ??? ???? ?? ?? ??? ??? ?? Ispresent ?? Ifpresent Security? ???? ?? ???? ???????. 3. Orelse ? Orelseget? ???? ???? ????? OrelsetHrow? ???? ??? ?? ??? ????. 4. ? ? ?? ?? ??? ?? ?? ????? ????? ?? ??? ? ???? ??????.

getClass () ???? ???? class ??? ????? str.getClass ()? ?? ??? ??? ???? ?????. ??? ?? String.class ??? ?? ??? ? ????. ??? ???? getName (), getSimplename ()? ?? ???? ???? Num.getClass (). getSimplename ()? ?? ??? ??? ?? ?? ??? ??? ????.

atwo-dimensionalarrayinjavaisanarrayofarrays, withtwobrackets, likeint [] [] matrix, andcanbeinitializedwithValuesOrusingNew; int [] [] matrix = {{1,2}, {3,4}};

thecurrentworkingdirectoryinjavacanbeobtiredusingsystem.getProperty ( "user.dir"), whithebsolutepathwheretheprogramwaslaunched; onatially, paths.get ( "). toabsolutepath (). tostring ()

genericsinjavaprovidecompile-timetypesafetyandeliminatenateneateThinetEdEneDeTeneDeTeneDeDeMineDeTeneDeDeMineDeDeMineDeDeMined-XLASSES, ????? ? METHODSOPRENTONTYPEPARAMETERS; FOREXALLES, usingListEnsuresOnlyStringsCanBeadded, regineclasscastextions; generticsworkviAtamete? ?????

?? ? ???? ?? ?? ? ??? ???? UC ???? ????? ??? ??? ? ????. 1. ?? → ?? ?? ?? ? ???? ?? → ? ??? ??? ??, ?? ? ???? ???? ???? ?????. 2. ??? ?? ???? ??? ???? ??? ??? ??? ?? ?? ? ???? ???????. 3. ? ??? ??? ?????? ????? ????? ????? ?? ??? ?????.

?????? ?? ?? ????? ???? ???? ???? Wukong ???? ??? ?? ? ? ????. ?? ?? ???? ???? ??? ????? ?? ???? ??? ? ????. ??, ??? ?? ? ??, ?? ???? ?? /data/data/com.wukong.browser/databases/ ??? ????? history.db ??????? ???? sqlite ??? CSV? ?? ?? ? ? ????. ????? Rootless ??? ?? Auto.js ? ?? ??? ???? ????? ???? ??? ???? ???? ???? ???? ???? ?? ?? ??? ?? ?? ??? ??? ??? ? ????.

Try-Catch ??? ???? ???? ??? ??? ???? ???? ?? ?????. ??? ?? ??? ?? ??? ?? ArithmeticeXception ?? ArrayinDexoutOfBoundSexception? ?? CATC? ???? ?? ??? ??????. ?? ?? ??? ???? ?? ??? ????? ?? ??? ???? ?? ? ? ??????. ????? ??? ?? ??? ???? ? ????, ??? ????? ??? ???? ???? ???? ?????? ? ?????. ?? ????? ???? ???? ?? ???? ???? ?? ??? ?? ??? Try-With-Resources ??? ???? ?? ????. ??? ????? ???? ??? ???? ???? ?????
