Recently, my colleague told me a very interesting requirement: let the user (in the application scenario, generally for other developers) fill in the Java code snippet. The content of the code snippet is the inheritance class of the template class that has been specified, and implement the method of template class definition. Our ...
Posted on Sat, 23 May 2020 21:44:37 -0700 by jh21236
1.effect: a.Operation file b.Operations folder c.Path to action file
a.File(String pathname);Create a new pathname by converting the given pathname string to an abstract pathname File example.
b.File(String parent,String child); according to parent Pathname strings and child Pathname string crea ...
Posted on Mon, 04 May 2020 08:00:43 -0700 by root
At present, many live fans use live streaming made by OSS + RTMP, many of which are enterprise-level applications. Because the reception of OSS as a push is slightly complicated, let's start with it separately.Actually, it is not recommended to use OSS+RTMP for live streaming, because OSS's streaming is more suitable for speci ...
Posted on Mon, 13 Apr 2020 19:34:00 -0700 by TomT
What's the use of settings.xml?
If you have used the Maven plug-in in Eclipse, you must have this experience: configure the path to the settings.xml file.What does the settings.xml file do? Why configure it?As you can see from the file name of settings.xml, it is the configuration file used to set maven parameters. Also, settings.xml is the glo ...
Posted on Wed, 04 Mar 2020 00:17:35 -0800 by golfinggod
HandlerExceptionResolver interface custom exception
Use @ ExceptionHandler annotation
File upload and download
If it's a picture, please refer to another Spring boot spring boot single / multi image upload and echo
1.SimpleMappingExceptionResolver cl ...
Posted on Tue, 18 Feb 2020 04:17:23 -0800 by greenba
Have you ever thought about the Eclipse you use every day
What kind of garbage collector does it use?
How many GC S have been executed at startup?
Can you tune its startup speed?
In this article, I will introduce how I can tune Eclipse to make its startup speed increase by 1.5 seconds.
You may say that it's only 1.5 seconds. It needs to be s ...
Posted on Thu, 06 Feb 2020 22:12:29 -0800 by svanderclock
Why use CMake to compile code and upload it to arduino?
When large software projects need to be developed, the Arduino IDE becomes clumsy in code management.
If you often want to compile code from the command line or from eclipse that can be done automatically
Finally, you can build and distribute firmw ...
Posted on Wed, 29 Jan 2020 00:23:20 -0800 by Spaceman-Spiff
Getting started with Mockito for Eclipse
In Java unit testing, we often encounter scenarios that depend on other modules, but other modules are not well developed, such as the following figure:
The "tested module A" depends on the module B/C/D. during unit test, you can Mock the B/D (Note: you do not need ...
Posted on Tue, 28 Jan 2020 07:24:19 -0800 by Karve
Greedy snake in Java games
Greedy snake is a puzzle game. Through the design and implementation of this game, you can improve your Java technology ability, enhance your independent development ability and master the development process of the project.
System en ...
Posted on Mon, 27 Jan 2020 00:02:59 -0800 by phpian
This article is for reference https://www.cnblogs.com/lsdb/p/9783435.html Learn to organize your study notes.
Eclipse IDE for Enterprise Java Developers(Version: 2019-09 R (4.13.0))
2, Install the Spring plug-in
Open Eclipse, select Help - > Eclipse ...
Posted on Tue, 21 Jan 2020 05:49:20 -0800 by xander85