Learn about the HttpServletRequest object, which provides helpful methods to capture information about requesting clients.
Search Results for: format
Format LocalDate to ISO 8601 With T and Z
Explore various techniques for formatting a LocalDate to the ISO 8601 format. This format includes the ‘T’ separator and the ‘Z’ indicating UTC time.
Difference Between Information Hiding and Encapsulation
Understand the key differences between encapsulation and information hiding.
Format Multiple ‘or’ Conditions in an If Statement in Java
Learn how to improve the readability of multiple conditions in an if statement.
Parsing Date Strings with Varying Formats
Explore strategies for parsing multiple date formats at once.
Set the Date Format Using Apache POI
A quick and practical guide to configuring date format with Apache Poi.
Get Information About a PDF in Java
Learn different ways of getting information about a PDF file using the iText and PDFBox libraries in Java.
Named Placeholders in String Formatting
Learn how to replace parameters in template-based strings from a set of values
Display Logged-in User’s Information in Thymeleaf
Learn how to display the logged-in user’s information in Thymeleaf using Spring Security’s support in a Spring Boot application.
Convert Byte Size Into a Human-Readable Format in Java
Explore how to convert file size in bytes into a human-readable format in Java
Format Instant to String in Java
Learn two different ways to format an instant as a string – one using core Java and the other using the Joda-Time library.
Numeric Format Using POI
Learn how to format numeric cells in Excel using Apache POI
Introduction to HexFormat in Java 17
Learn how easy it is to convert between bytes and hexadecimal strings with the updated HexFormat class in Java 17.
Format Swagger Text Descriptions
A quick and practical guide to formatting Swagger descriptions.
Format a Milliseconds Duration to HH:MM:SS
Learn how to use Java’s Duration, TimeUnit, and third-party libraries to format a duration to a specific format
Converting a PEM File to Java KeyStore Format
Learn how to convert certificates from a PEM (Privacy Enhanced Email) file to JKS (Java KeyStore) format using the openssl and keytool command-line utilities.
Converting a Java Keystore Into PEM Format
Learn how to convert certificates and private keys from a Java KeyStore into PEM format using keytool and openssl.
Jdbc URL Format for Different Databases
Take a closer look at the JDBC URL formats of several widely used databases: Oracle, MySQL, Microsoft SQL Server, and PostgreSQL
Print an Integer in Binary Format in Java
Explore different ways of printing an integer in binary format in Java.
Number Formatting in Java
Learn to format numbers in Java.