@Override
	public void labelAll(String inputDir, String outDir, String xpathExp)
	{
		File inputDirFile = new File(inputDir);
		File outDirFile = new File(outDir);
		if( !inputDirFile.isDirectory() || !outDirFile.isDirectory())
		{
			System.out.println("error:  please check your input-directory or output-dirctory ");
			System.exit(-1);
		}
		File[] fileList = inputDirFile.listFiles();
		for(File f: fileList)
		{
			if(f.isFile() && validFileName(f.getName()))
			{
				label(f.toURI().toString(),
						outDirFile.getAbsolutePath()+"\\"+f.getName()+"-lbl-.xhtml",xpathExp);
			}
			
		}
		
		
	}