Java
-
Java uses POI to read ppt files and poi to read excel and word examples
Apache's POI project can be used to process MS office documents, and there is another one on codeplex Net version. POI…… -
Use example of JSON parsing class library of Java
Open source project home page: https://github.com/dongfangshangren/Zson -
-
Java implements the tool class of importing data from excel
The tool class for importing Excel data calls only a few lines of code, which is very simple. -
Java button control array to realize calculator interface example sharing
The idea is as follows: Create a class and make it inherit the form class JFrame through extensions; Create a JFrame o…… -
A simple implementation of Java using ternary operators to judge odd and even numbers
Create a class, create a scanner object of the standard input stream in the main method of the class, prompt the user …… -
Java array sorting example (bubble sort, quick sort, Hill sort, select sort)
The quick sort method mainly uses a method in arrays Sort() implementation. Bubble method is to use traversal arrays f…… -
Java file operation tool class to copy files and merge files
Two methods: 1. Copy all files and folders under a directory. 2. Merge all text files under a file directory into the …… -
Implementation of Java design pattern object pool pattern example sharing
Objectpool Abstract parent class -
Example of PDF file operation using pdfbox in Java
There is also a project for creating PDF files - iText. PDF@R_788_2419 @There are two subprojects: Font@R_788_2419 @Is…… -
Java uses JDBC to operate database example sharing
package dao; import java. sql.*; public class BaseDao { //oracle // private static final String Dirver="oracle.jdbc.dr…… -
Example of MD5 encryption algorithm of Java irreversible encryption algorithm
The full name of MD5 is message digest algorithm 5. Message digest generally refers to the hash transformation of byte…… -
Java generates and parses instance code for XML format files and strings
1. Basics: there are generally four methods for parsing XML in Java: DOM, sax, JDOM and Dom4j. 2. Introduction to DOM …… -
How to use java code to configure logback and set the log level?
I want to use the default slf4j logback configuration, except for org springframework. data. document. The logging lev…… -
Java – what is the minimum UNIX permission to run an executable jar file?
If I have a jar, I need to use Java - jar foo Jar runs on UNIX. Does this depend on the read, write, or execute bits? …… -
Concurrent use of Java util. Random contention
Oracle Java documentation says: Could it be the reason for poor performance? Solution Internally, Java util. Random ke…… -
Multithreading – common threadsafe properties
I created this "threadsafe" general property, which I can use between the main thread and the background thread I do t…… -
Java – parsing JSON using gson, objects sometimes contain lists and sometimes objects
I'm using an API that sometimes contains a list of child objects: { 'obj' : { children: [ {id: "1"},{id: "2"} ] } } I …… -
Java – what is the difference between extending abstract classes and non abstract classes?
What is the difference between abstract and non abstract classes when extending derived classes? Both classes do not u…… -
Java – how to serialize the last class that cannot be serialized by a third party (such as Google’s latlng class)?
I use Google's latlng class in V2 Google play service That particular class is final and does not implement Java io. S…… -
Java – how to handle internationalization “your input” XYZ is very good! “
I want to know what is the right way to handle internationalized statements and add runtime data for example Double qu…… -
Why does my algorithm become faster after executing several times? (JAVA)
I have a Sudoku solution algorithm, and my goal is to do it as soon as possible To test the algorithm, I run it severa…… -
Java – unable to automatically connect field: private org springframework. security. core. userdetails. UserDetailsService
I'm a new spring, so I've been on the safe side I have passed a fine comb through my code, unable to determine the pro…… -
java. Lang. linkageerror: Loader constraint violation in Grails project
I have built a Grails project with POI (including POI - 3.7 and poi - OOXML - 3.7) I've been working on the buildconfi…… -
Java – alpha beta mobile sort
I have an alpha- β The basic implementation of pruning, but I don't know how to improve the moving order I've seen tha…… -
What happens when a subclass does not define a constructor in Java?
I have a few things I want to know First, if you don't have a constructor: class NoCons { int x; } When I do the new n…… -
javax. servlet. HttpServletRequest. Getcontentlength() returns only int
In order to handle the large request body in HTTP post or put, it depends on HttpServletRequest Getcontentlength () is…… -
Java – Delphi concurrent memory model?
Is there anything like Java Memory Model in Delphi? To prevent misunderstanding: I mean nothing like "big / big / smal…… -
Bytecode compiler in Java
I am looking for a standard Java to Java bytecode compiler implemented in JavaScript Has anyone ever heard of somethin…… -
Java – should I use drools in this case?
I will use the university library system to explain my use cases Students register in the library system and provide t…… -
How to make Haskell’s tchan delay mail like Erlang’s message queue?
Consider the following Erlang Code: -module(testit). -export([testit/0]). testit() -> Pid = spawn(fun testit_p…… -
java – Kryo crash EnvironmentFailureException
I tried to serialize some custom class objects, and I got the following exception: com.esotericsoftware.kryo.KryoExcep……