public class Test {
public static void main(String[] args){
String filePath = "E:\\softoon\\workspace_softoon\\TestMobile\\src\\1.docx";
String outFilePath = "E:\\softoon\\workspace_softoon\\TestMobile\\src";
So far, we've just used the simplest syntax to define enumeration types, in fact enumeration types can do more, and in Tiger's definition, enumerations are a new type that allows represented to represent a particular piece of data that is capable of
Anonymous inner class1 Public InterfaceInter {}2 Interfaceinter2{3 voidShow ();4 }5 Main () {6 7 //error, interface cannot be instantiated8Inter T =NewInter ();9 Ten /*correctly, the object that creates the implementation class
Reads an integer value of 7 numbers (1~50), and each time a value is read, the program prints the number of the value *.public class Example47 {public static void Main (string[] args) {Int[] A = {10, 7, 6, 15, 4, 3, 20};Display (a);}public static
Java Fundamentals (Chapter five)First, commissioningStep 1: Set a breakpoint (you cannot set a breakpoint in an empty space)Step 2: Start debuggingStep 3: Debug code (F6 Single Step) notebook Fn+f6 (F5)Step 4: End DebuggingMastering the benefits of
1. Switch statement format:switch (expression) {Case value 1:Statement body 1;Break;//break can be omitted, but there will be case penetrating phenomenon, it is recommended not to omitCase Value 2:Statement body 2;Break...default://to the incorrect
I. Introduction to the Method areaThe method area, the way zone, is a lot of people who are willing to call the method area " Permanent Generation " (Permanent Generation) for developers who are accustomed to developing and deploying programs on a
OneJava Program progress of Excuting:show in next picture How are the Java Virtual machine are it,what situation are in the Jvm,or what to Worke are going?If you want to slove these questions,please read the next Picture:The more details please
Original: http://blog.csdn.net/k21325/article/details/53886160The small file of course can read all directly, and then put in memory, but when the file is very large, this method will not work, memory is not so play ~ ~Well, here's the
First review of Java Basics,1. scope is actually the range in which this variable can work .2. sometimes encountered value , in fact, a variable name, do not think too complex. 3.Java local variable, instance variable, class variable (static
OGNLThe language that is the object and method properties found in the object graph is a standalone feature itemOGNL is object-graph Navigation language abbreviation, it is a powerful expression language, through its simple and consistent expression
concept of the method :The simple way to do that is to complete the code block for a specific functionbenefits of using methods :Reduce program redundancy, facilitate later maintenance, improve encapsulationThe definition format of the
Java 1.3 started with the addition of filter support to the servlet2.3 specification. Filters allow us to intercept requests and responses from target resources.Some of the filter features:1. Filter is the servlet specification and requires the
1. The modifier for a class can only be: public, default. In addition: final, Abstract,public interface (interface before the public will be an error).2. When creating an object in the main function, the non-parametric construction of the new class
Static proxy in design mode, static in Design ModeI. Role of proxy Mode
The proxy mode provides a proxy for other objects to control access to this object.
In some cases, a client does not want to or cannot directly reference another object, and the
Spring + SpringMVC + MyBatis deep learning and Construction (9) -- Integration of MyBatis and Spring and springmvcmybatis
Reprinted please indicate the source: http://www.cnblogs.com/Joanna-Yan/p/6964162.html
As mentioned above: Spring + SpringMVC +
Java filter, listener, interceptor mechanism, filter listener
I. Filter
Filter is also called a Filter. It is the most practical technology in Servlet technology. Web developers use the Filter technology to manage all web resources on web
9. unblocking concurrentqueue queue, concurrentqueue list
Jdk1.7.0 _ 79
A queue is a very common data structure, one-in-one, first-out.
Two types of queues are provided in Java concurrent packages: non-blocking queues and blocking queues. Of course,
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