5051525354555657585960
File file = new File(this.getClass().getResource("/tools").getFile()); File[] listFiles = file.listFiles(); if( listFiles != null) { for( File f : listFiles ) { RepositoryElement e1 = new FileDirectoryRepositoryItem(null, f); elements.add( e1 ); } }