File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed
Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ Java Dns Cache Manipulator(DCM)
22=========================
33
44[ ![ Build Status] ( https://travis-ci.org/alibaba/java-dns-cache-manipulator.svg?branch=master )] ( https://travis-ci.org/alibaba/java-dns-cache-manipulator ) [ ![ Coverage Status] ( https://coveralls.io/repos/alibaba/java-dns-cache-manipulator/badge.svg?branch=master )] ( https://coveralls.io/r/alibaba/java-dns-cache-manipulator?branch=master )
5- [ ![ GitHub issues] ( https://img.shields.io/github/issues/alibaba/java-dns-cache-manipulator.svg )] ( https://github.com/alibaba/java-dns-cache-manipulator/issues ) [ ![ License] ( https://img.shields.io/badge/license-Apache%202-blue.svg )] ( https://www.apache.org/licenses/LICENSE-2.0.html )
5+ [ ![ GitHub issues] ( https://img.shields.io/github/issues/alibaba/java-dns-cache-manipulator.svg )] ( https://github.com/alibaba/java-dns-cache-manipulator/issues ) [ ![ Maven Central ] ( https://maven-badges.herokuapp.com/maven-central/com.alibaba/dns-cache-manipulator/badge.svg )] ( https://maven-badges.herokuapp.com/maven-central/com.alibaba/dns-cache-manipulator/ ) [ ![ License] ( https://img.shields.io/badge/license-Apache%202-blue.svg )] ( https://www.apache.org/licenses/LICENSE-2.0.html )
66
77:point_right : 通过代码直接设置` Java ` 的` DNS ` (实际上设置的是` DNS Cache ` ),支持` JDK 7+ ` 。
88
@@ -76,6 +76,26 @@ public void beforeClass() throws Exception {
7676
7777更多详细功能参见类[ ` DnsCacheManipulator ` ] ( src/main/java/com/alibaba/dcm/DnsCacheManipulator.java ) 的文档说明。
7878
79+ :electric_plug : Java API Docs
80+ =====================================
81+
82+ ` Java API ` 文档地址: < http://alibaba.github.io/java-dns-cache-manipulator/apidocs >
83+
84+ :cookie : 依赖
85+ =====================================
86+
87+ ` Maven ` 示例:
88+
89+ ``` xml
90+ <dependency >
91+ <groupId >com.alibaba</groupId >
92+ <artifactId >dns-cache-manipulator</artifactId >
93+ <version >1.0.0</version >
94+ </dependency >
95+ ```
96+
97+ 可以在[ search.maven.org] ( http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.alibaba%22%20AND%20a%3A%22dns-cache-manipulator%22 ) 查看可用的版本。
98+
7999:mortar_board : Developer Guide
80100=====================================
81101
You can’t perform that action at this time.
0 commit comments