List<FSEntry> childEntries = entry.getChildren(filter); if( null != childEntries ){ for(FSEntry childEntry : childEntries){
for(String pathFrag : pathFrags){ FSEntry nextEntry = null; List<FSEntry> children = seekedEntry.getChildren(); for(FSEntry child : children){ if( pathFrag.equals(child.getName()) ){
children = sourceDir.getChildren(); } else { children = sourceDir.getChildren(acceptFileFilter);
List<FSEntry> children = dir.getChildren(filter);
List<FSEntry> children = dir.getChildren(filter); Collections.sort(children,new Comparator<FSEntry>(){ @Override
List<FSEntry> children = this.top.getChildren(filter);
private void createAttachmentsFromDirectory(String parentName, FSEntry dir) throws Exception { // List all elements in directory List<FSEntry> children = dir.getChildren(filter); // Process each child for(FSEntry child : children) { String childName = child.getName(); if( childName.endsWith(ATT_INFO_PERIOD_EXTENSION) ) { // Skip info files } else if( child.isDirectory() ) { String name = parentName + childName + "/"; createAttachmentsFromDirectory(name, child); } else if( child.isFile() ) { String name = parentName + childName; createAttachmentFromFile(dir, name, child); } } }