code: public List<String> list() throws IOException {
          boolean eof = false;
          long cookie = 0;
          long cookieverf = 0;
          final int count = 8 * 1024;
          List<NfsDirectoryEntry> entries = new ArrayList<NfsDirectoryEntry>(32);
          do {
              NfsReaddirResponse response = readdir(cookie, cookieverf, count, entries);
              eof = response.isEof();
              cookie = response.getCookie();
              cookieverf = response.getCookieverf();
          } while (!eof);
          List<String> children = new ArrayList<String>();
          for (NfsDirectoryEntry entry : entries) {
              if (!(".".equals(entry.getFileName()) || "..".equals(entry.getFileName()))) {
                  children.add(entry.getFileName());
              }
          }
          return children;
      }
docs: /*
  (non-Javadoc)
  
  @see com.emc.ecs.nfsclient.nfs.NfsFile#list()