private boolean startsWithCustomRoot ( String path ) { for ( Enumeration < String > it = customRoots . elements ( ) ; it != null && it . hasMoreElements ( ) ; ) { if ( path . startsWith ( it . nextElement ( ) ) ) { return true ; } } return false ; }
Tests whether path starts with a custom file system root .