17 - Libraries
Maciej Walkowiak
Goals
- Learn what is a library
- Learn how to add library to your project
- Learn how to use functionalities provided in library
Slides
Exercises
Exercise 1
Write a program that checks if all letters in the string are lowercase Use one of the classes from commons-lang library (*Utils)
Exercise 2
Write a program that adds X number of days to current date and prints the result (as a date too). Use one of the classes from commons-lang library (*Utils) to get current date:
Date today = new Date();
Exercise 3
Write a program that creates thumbnails of images from directory X (specified by a variable). Use https://github.com/coobird/thumbnailator