@Override
	public List<String> convertAll(String inputDir, String outputDir) {
		// TODO Auto-generated method stub
		if( ! new File(outputDir).isDirectory())
		{
			System.out.println("error:  your output dir not exist");
			System.exit(-1);
		}
		
		File f = new File(inputDir);
		List<String> outList = new ArrayList<String>();
		if(f.isDirectory())
		{
			String outDir = new File(outputDir).getAbsolutePath();
			File [] fileArr = f.listFiles();
			for(File tmpFile: fileArr)
			{
				if( tmpFile.isFile() && validName(tmpFile.getAbsolutePath()) )
				{
					String out = convert(tmpFile.getAbsolutePath(), outDir+"\\"+createXhtmlName(tmpFile.getName()) );
					if(out!=null)
					{
						outList.add(out);
					}
				}
			}
		}
		else
		{
			System.out.println("error: your input is not a directory");
		}
		
		return outList;
	}