@ SuppressWarnings ( "unused" ) private void genDirStructure ( ) throws IOException { BufferedReader in = new BufferedReader ( new FileReader ( new File ( inDir , StructureGenerator . DIR_STRUCTURE_FILE_NAME ) ) ) ; String line ; while ( ( line = in . readLine ( ) ) != null ) { fs . mkdirs ( new Path ( root + line ) ) ; } }
Read directory structure file under the input directory . Create each directory under the specified root . The directory names are relative to the specified root .