Java Directory Listener

Java Directory Listener

Java Directory Listener In Java 7 you can use java.nio.file package that to listen directory change events. In this example you will see how to create Java directory listener which will listen supported StandardWatchEventKinds event types below: ENTRY_CREATE – Directory … Continue reading

SimpleDateFormat UTC Example

SimpleDateFormat UTC Example

SimpleDateFormat UTC Example SimpleDateFormat API available in JDK since 1.2 and mostly preferred by the developers to format date in different format. In this example you will how we can format date in UTC format: