All pastes #445582 Raw Edit

Untitled

public text v1 · immutable
·published 2007-04-17 23:07 UTC
rendered paste body
private static void traverse(File dir) {

        processDir(dir);

        if (dir.isDirectory()) {
            String[] children = dir.list();
            for (int i=0; i<children.length; i++) {
                traverse(new File(dir, children[i]));
            }
        }

    }