Categories
Java

Extract and Strip Text From PDF in Java Example

Extracting text from a pdf file using Java is quite easy using the Apache PDFBox Java library. This library provides PDFTextStripper class which is used to strip text from PDF files. This library can be included using Gradle, maven, and other builds systems from the Maven repository. Gradle dependency: Maven dependency: Example to Extract text […]

Categories
Java

Adding Watermark to PDF using Java

Adding a text-based watermark to existing PDF using Java is quite simple using the Apache PDFBox opensource free library. This library is very handing and can be used to create new PDF and modify existing files. This can be easily added to maven and Gradle based projects by adding the following reference. Gradle dependency: Maven […]

Categories
How To

How to make PDF of gmail message?

Many times we need to print our Gmail message or we want to make PDF of our Gmail messages. Making PDF or printing Gmail messages is very simple. If you are using the Android Gmail app then just open your message and tap on the Hamburger menu as shown below. You will get the Print […]

Categories
How To

How to create password protected PDF using MS Word?

Many times we need to make password-protected PDF files to share with someone. If you are using MS office16 or above then it quite easy. Just click on export then click on Create PDF/XPS document as shown below. Creating a password-protected PDF using MS word is very easy, you just need to follow the following […]

Categories
How To

How to Type in Hindi and Other Indian Languages on Windows 10

Most of the computer users in India are now using Windows 10. Many times we need to type in Hindi or another mother tongues like Bengali, Marathi, Panjabi, etc. To doing this there are 2 very good tools are available by using those ones that can type in Indic languages very easily. One is from […]

Categories
How To

How to Install dotnet framework on Windows 10

Most of the time Windows 10 comes with the Dotnet framework preinstalled but some time when we install it with a minimal option it does not get installed by default. Many time when we try to install some windows programs windows prompts us to install the Dotnet framework. Installing the Dotnet framework is quite easy […]

Categories
Article

Visual Studio Code Cloning a GIT Repository

Visual Studio Code is an open-source and free IDE for programmers. It has community-based plug-ins for different works. Nowadays it is one of the most widely used IDE for many development languages and platforms. The most important thing is that it runs on many platforms like Windows, Mac, Linux. It can be downloaded from it […]

Categories
Article

GIT Uses in Eclipse Guide

Eclipse IDE is the most widely free open source editor mostly used by Java developers. It comes in many trims packages like Eclipse  Java, J2ee, Php, C/C++. It has an array of Plug-ins support by community and commercials licenses. Now most of the Eclipse IDE has a preconfigured GIT repository integration tool, if your installation […]

Categories
Java

Rest Client For Java using HttpClient and Jakson

There are many HttpClient and Rest Clients lib is available for Java developers. The most common is Spring Rest Template for REST client and Apache HttpClient a generic HTTP client. I personally like the Apache HttpClient library for making REST calls and Http Calls. I found one generic kind of REST client using Apache HttpClient […]

Categories
Java

Java HttpClient POST, PUT and Patch Example with Body

Java HttpClient library from Apache is very good, it provides many interfaces to perform different operations like  POST, PUT, and PATCH. One can also send String or URI encoded form and another payload very easily using the HttpEntity interface. You can easily add query strings and custom headers. To post JSON string, XML, or simple […]