Skip to the content Skip to the Navigation

Wilddiary.com

  • Home
  • Contact Us
  • Privacy

Drona

  1. HOME
  2. Drona
Java logo
November 26, 2014 / Last updated : April 22, 2023 Drona Java

How to detect file type from content in Java

This tutorial shows how to detect file type from content in Java using Apache Tika. File format detection is a usually required in search engines where crawled resources are required to be analysed, classified, tagged and indexed. We will use Apache’s Tika here to do the job.

Java logo
November 21, 2014 / Last updated : April 22, 2023 Drona Java

Reading Property File in Java using Apache Commons Configuration

This tutorial demonstrates reading property file in Java using Apache Commons Configuration library. You may have different configuration sources such as property files, XML files, system properties, environment variables etc. Apache Commons Configuration allows you to collect properties from many such sources and access them as a single configuration object. It also allows you to set the order […]

Java logo
September 25, 2014 / Last updated : April 22, 2023 Drona Java

Serialize Java object to JSON and back

There are many libraries in Java that support serialization of Java objects to JSON and back. Below are few of them.

j2ee_logo
September 17, 2014 / Last updated : April 22, 2023 Drona J2EE

Adding custom headers to Java HttpServletRequest

The javax.servlet.http.HttpServletRequest is an interface that does not have setter methods except for setCharacterEncoding() and setAttribute() methods that it inherits from its parent javax.servlet.ServletRequest interface. Otherwise, the HttpServletRequest type objects are read only.

Java logo
September 11, 2014 / Last updated : April 22, 2023 Drona Java

Understanding Custom ThreadFactory In Java

A thread factory encapsulates the logic of creation and configuration of threads. It creates and returns thread instances on demand. You can see it being used in the JDK’s executor framework. Every thread pool has an associated thread factory that creates the threads for the pool. The thread factory not just creates thread instances but also […]

Posts navigation

  • «
  • Page 1
  • …
  • Page 12
  • Page 13
  • Page 14
  • »
  • Home
  • Contact Us
  • Privacy
  • Facebook
  • Twitter
  • RSS Feed
  • GitHub
  • Pinterest

Copyright © Wilddiary.com All Rights Reserved.

Powered by WordPress & Lightning Theme by Vektor,Inc. technology.

MENU
  • Home
  • Contact Us
  • Privacy