Development has been stopped, please use https://github.com/ardikars/pcap instead.
Reusable java code.
-
- Java 6 (or newer)
Add a dependency to the pom.xml as like below:
<dependencies> <dependency> <groupId>com.ardikars.common</groupId> <artifactId>common-annotation</artifactId> </dependency> <dependency> <groupId>com.ardikars.common</groupId> <artifactId>common-constant</artifactId> </dependency> <dependency> <groupId>com.ardikars.common</groupId> <artifactId>common-logging</artifactId> </dependency> <dependency> <groupId>com.ardikars.common</groupId> <artifactId>common-memory</artifactId> </dependency> <dependency> <groupId>com.ardikars.common</groupId> <artifactId>common-net</artifactId> </dependency> <dependency> <groupId>com.ardikars.common</groupId> <artifactId>common-tuple</artifactId> </dependency> <dependency> <groupId>com.ardikars.common</groupId> <artifactId>common-util</artifactId> </dependency> </dependencies> <dependencyManagement> <dependencies> <dependency> <groupId>com.ardikars.common</groupId> <artifactId>common</artifactId> <version>1.3.7</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement>
./mvnw clean package
./mvnw clean package -x test
./mvnw clean site site:stage -Pcoverage,spotbugs,checkstyle,pmd
Apache License, Version 2.0
/**
* Copyright 2017-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
Email: Ardika Rommy Sanjaya ([email protected])
Have a bug? Please create an issue here on GitHub!