The need to send Email in Java would be one of the most common requirements in many of the Java applications. Fortunately, the Java Mail API makes this possible with very less effort. The Java Mail API is not part of the JDK, it is an optional package. Oracle provides the reference implementation of the Java […]
Java API to get Domain Authority and other Moz URL Metrics
Moz is one of the popular platform offering various tools and services for Search Engine Optimization. Keyword Research, Link Building, SEO Audit and Rank Tracking are some of the key services offered by Moz. Services provided by Moz are extensively used by freelancers and Digital marketing companies to analyze and track the performance of websites […]
How to Password Protect a PDF File using Java
PDF (Portable Document Format) files are widely used for sharing documents due to their platform-independent nature and consistent formatting. However, some documents may contain sensitive information that requires an extra layer of security. If you are a Java developer, you can easily accomplish this […]
How to Generate MD5 Hash in Java
MD5 (Message Digest Algorithm 5) is one of the most commonly used cryptographic hash functions. It’s crucial for data integrity verification, password storage, and more. If you’re developing in Java, you may find yourself needing to generate MD5 hash for various applications. In this blog post, we’ll go through step-by-step instructions on how to generate […]
How to Check Free Disk Space in Java
For those who manage file systems and storage in Java applications, monitoring disk space is crucial. Java provides straightforward ways to check free disk space, ensuring that applications handle storage efficiently and avoid issues related to insufficient space. This article will walk you through how to check free disk space in Java, complete with the […]
How to iterate Java HashMap
HashMap is one of the data structure in Java which implements the Map Interface. It makes use of the key value pair to store the data. Following are the four ways to iterate Java HashMap. The same approach can be used for iterating over other Map implementations like HashTable, TreeMap, etc. JaCoCo Code Coverage in […]