code: private List<Entry> getChildNodes(DirectoryEntry parent)
     {
        List<Entry> result = new ArrayList<Entry>();
        Iterator<Entry> entries = parent.getEntries();
        while (entries.hasNext())
        {
           result.add(entries.next());
        }
        return result;
     }
docs: Retrieves child nodes from a directory entry.
  
  @param parent parent directory entry
  @return list of child nodes