This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* | |
* @author developerbhuwan | |
*/ | |
public class JsoupExample { | |
private static final String URL = "http://www.bhuwanupadhyay.com.np/"; | |
public static void main(String[] args) { | |
try { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.awt.Desktop; | |
import java.io.File; | |
import java.net.URI; | |
/** | |
* | |
* @author Bhuwan Prasad Upadhyay | |
*/ | |
public class LaunchAppInNativeOSToHandleLinkAndFile { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.yourgroupname</groupId> | |
<artifactId>junit5-your-artifact-name</artifactId> | |
<version>1.0</version> | |
<packaging>jar</packaging> | |
<properties> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class HelloWorldInJdk9WithEA { | |
public static void main(String[] args) { | |
System.out.println("Welcome Java 9!!"); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Bytecode | |
*.class | |
# Mobile Tools for Java (J2ME) | |
.mtj.tmp/ | |
# Package Files | |
*.jar | |
*.war | |
*.ear |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<!-- Ant Maven Plugin --> | |
<artifactId>maven-antrun-plugin</artifactId> | |
<version>1.8</version> | |
<dependencies> | |
<!-- For Ant Contrib Tasks --> | |
<dependency> | |
<groupId>ant-contrib</groupId> | |
<artifactId>ant-contrib</artifactId> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<project> | |
<target name="antCopy"> | |
<!-- | |
<buildDir> and <srcDir> properties are pass in pom.xml in ant target configuration | |
<rootDir> property pass in antBuild.xml of antBuild target | |
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<project> | |
<target name="antReplace"> | |
<!-- | |
<buildDir> and <srcDir> properties are pass in pom.xml in ant target configuration | |
<rootDir> property pass in antBuild.xml of antBuild target | |
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<project> | |
<target name="antConcat"> | |
<!-- | |
<buildDir> and <srcDir> properties are pass in pom.xml in ant target configuration | |
<rootDir> property pass in antBuild.xml of antBuild target | |
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<project> | |
<target name="antBuild"> | |
<!-- Properties value inside this traget scope --> | |
<property name="rootDir" value="."/> | |
<property name="author" value="Bhuwan Prasad Upadhyay"/> |
OlderNewer