File file = new File ( Objects.requireNonNull ( classLoaderr.getResource ( patch ) ).getFile () );
String[] files = file.list ();
String path = patch + files[0];
String del = "src/main/resources/" + patch + files[0];
file = new File ( del );
String[] files = file.list ();
There is no guarantee that the name strings in the resulting array will appear in any specific order; they are not, in particular, guaranteed to appear in alphabetical order.
Instant instant = Instant.now();
Timestamp timestamp = Timestamp.from(instant);
cat ./prj/A.java
cat ./prj/TextDocument.java