Java operation operation Word file, recently spent a few days to solve the problem of exporting data using Word template, collect some information to share.The common techniques are as follows:1. POI (Doc, docx file compatible)Official website: http:
One, Memory file mapping
Memory file mapping allows us to create and modify files that are too large to fit in memory. With the memory file mapping, we can assume that the entire file is in memory and that it can be accessed entirely as an
Recent project development encountered a problem, the provider no longer through the URL address request way, butSend XML-formatted messages through the socket to a designated server for unified authentication of information.So it is necessary to
20145239 Java Programming 8th Week learning Summary Textbook Learning content summary General API
Log API1. Java.util.logging package provides a log function related classes and interfaces, the starting point for using the log is the logger
Static variables used in JavaA member of the static decoration in 1.Java is called a statically member or a class member. It belongs to the entire class, not to an object, which is shared by all objects of the class and takes precedence over the
1.Integer Convert to int methodInteger i = new Integer (10);int k = I.intvalue ();namely Integer.intvalue ();2.int Convert to Integerint i = 10;Integer it = new Integer (i);3.String Convert to int methodString str = "10";Integer it = new Interger
Recently encountered in the development of logs is the use of slf4j and logback.xml configuration, so it is recorded.1. Import these jar packages:Logback is divided into three modules: logback-core,logback-classic,logback-accessLogback-core is the
Interface1 because Java does not support multiple inheritance, there is an interface, a class can inherit only one parent class, but can implement multiple interfaces, the interface itself can inherit multiple interfaces.The member variables in the 2
1. Software DevelopmentSoftwareA collection of computer data and instructions organized in a specific orderDevelopmentThe process of making softwareSoftware developmentBuild software with development tools and computer language2. Computer languageA
Disclaimer: This article belongs to reprint, transfer from blog: http://www.cnblogs.com/xdp-gacl/p/3859416.htmlIn peacetime development, if the network speed is slow, the user submits the form, found that the server has not responded to a half-day,
Outline:1. Regular expressions2. Common exceptions3. Inner class------------------------------------------------------------------Java formally supports regular expressions after JDK 1.4Learning Goal: Only ask you to write some simple regular
The inheritance of these classes is somewhat similar, take one as a sample, and understand the mechanism. PackageCc.openhome;ImportJava.io.*; Public classMember {PrivateString number; PrivateString name; Private intAge ; PublicMember (string number,
1 Executor Framework IntroductionStarting with JDK5, the unit of work and the implementation mechanism are isolated and the unit of work includes runnable and callable, and the implementation mechanism is provided by executor.Call Relationships:
InterfaceAn interface is a special kind of abstract class. All methods in an interface are abstract, and all methods do not provide a concrete implementation, because the interface is all abstract and cannot be instantiated, only the method can be
1. Go to the Oracle website Java Download interface and find the JDK version you need to download. After clicking "Accept License Agreement", select your computer's download package (Mac OS X x64) and click the package to download it.Jdk-8u66-macosx-
Reproduced:One, Java stackThe Java stack is always associated with threads, and whenever a thread is created, the JVM creates a corresponding Java stack for that thread, which in turn contains multiple stacks (Frames), which are associated with each
Java interrupts are a collaborative mechanism. This means that invoking the thread object's interrupt method does not necessarily break the running thread, it simply requires the thread to break itself at the right time.One, the phenomenon of Java
Defines a one-to-many dependency between objects, so that when an object changes, all its dependents are notified and updated automatically.The observer is to inherit: observable class implements message push, setchanged notifyobservers ();The
Java learning notes -- iterator and java learning notes --To achieve uniform traversal of different types of containers, an iterator is used. It mainly uses two interfaces: Iterator and Iterable. The class that implements the Iterable interface
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service