This code get only files, but I need folders to

public void process(Exchange exchange) throws Exception {

     File file = exchange.getIn().getBody(File.class);
     if (file.isDirectory()) {
     System.out.println( "!DIR");
     } 



--
View this message in context: 
http://camel.465427.n5.nabble.com/How-can-I-get-name-of-all-subdirectoies-in-specific-directory-tp5754980.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to