Report question

Question: Extracting parts of paths in Java