Skip to the content Skip to the Navigation

Wilddiary.com

  • Home
  • Contact Us
  • Privacy

Java

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

List files matching a naming pattern in Java

This tutorial shows how to recursively list files matching a naming pattern in Java. To be able to list the files, you should be able to walk the file tree. JDK 7 provides a FileVisitor interface to walk a file tree.

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.

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 6
  • Page 7
  • Page 8
  • »
  • 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