JAVA Network Programming and java Network Programming

Source: Internet
Author: User

JAVA Network Programming and java Network Programming

First, summarize the classes required in the learning process:

URL-openConnection ()

URLConnection class-connection () getInputStream ()

BufferedReader class (buffer Stream)

InputStreamReader class-(this class is used to convert InputStream into Reader)

Classes related to regular expressions

Pattern class (this class is instantiated through the Pattern Method compile to obtain the instance

For example, Pattern pattern = Pattern. compile (fill in the regular expression here );

When compile returns a type, Pattern is actually a String of the regular expression.

)

Matcher class-find () group ()(

This class is instantiated by creating a Pattern class object.

For example, pattern. matcher (the elements to be matched are filled here );

Matcher ()-return-Matcher object

)

 

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.