Skip to content

Commit 6db29fc

Browse files
committed
add javadoc for package #20
1 parent eba737c commit 6db29fc

File tree

5 files changed

+25
-2
lines changed

5 files changed

+25
-2
lines changed

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<version>1.2.0-SNAPSHOT</version>
88
<packaging>jar</packaging>
99
<name>Java Dns Cache Manipulator(DCM)</name>
10-
<description>A simple 0-dependency lib for setting dns programmatically without touching host file, make unit/integration test portable.</description>
10+
<description>A simple 0-dependency thread-safe lib for setting dns programmatically without touching host file, make unit/integration test portable.</description>
1111
<url>https://github.com/alibaba/java-dns-cache-manipulator</url>
1212
<inceptionYear>2015</inceptionYear>
1313

@@ -172,6 +172,7 @@
172172
<links>
173173
<link>http://docs.oracle.com/javase/7/docs/api</link>
174174
</links>
175+
<overview>src/api/overview.html</overview>
175176
<additionalJOptions>
176177
<additionalJOption>-J-Duser.language=en -J-Duser.country=US</additionalJOption>
177178
</additionalJOptions>

src/api/overview.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<html>
2+
<body>
3+
<p>This is the API documentation for the
4+
<a href="https://github.com/alibaba/java-dns-cache-manipulator" target="_top">Java Dns Cache Manipulator</a>,
5+
a simple 0-dependency thread-safe lib for setting dns programmatically without touching host file,
6+
make unit/integration test portable.
7+
</p>
8+
</body>
9+
</html>

src/main/java/com/alibaba/dcm/DnsCacheManipulator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import java.util.regex.Pattern;
1111

1212
/**
13-
* A simple lib for setting dns (in fact dns cache) programmatically.
13+
* Setting dns (in fact dns cache).
1414
*
1515
* @author Jerry Lee (oldratlee at gmail dot com)
1616
* @see DnsCacheEntry
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/**
2+
* Internal helper class.
3+
*
4+
* @author Jerry Lee (oldratlee at gmail dot com)
5+
*/
6+
package com.alibaba.dcm.internal;
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/**
2+
* User API.
3+
*
4+
* @author Jerry Lee (oldratlee at gmail dot com)
5+
* @see com.alibaba.dcm.DnsCacheManipulator
6+
*/
7+
package com.alibaba.dcm;

0 commit comments

Comments
 (0)