XmiCorpusUnitsExtractor { public static void main(String[] args) throws IOException, SAXException, CpeDescriptorException, ParserConfigurationException, UIMAException { XmiCorpusUnitsExtractor extractor = new XmiCorpusUnitsExtractor(args); extractor.process(); } XmiCorpusUnitsExtractor(String[] args); static void main(String[] args); void process();  }
@Test public void test() throws IOException, SAXException, CpeDescriptorException, ParserConfigurationException, UIMAException { XmiCorpusUnitsExtractor.main(new String[]{"-corpus", corpusPathString, "-unit", "com.textocat.textokit.tokenizer.fstype.W", "-class", "ru.kfu.itis.issst.evex.Person", "-class", "ru.kfu.itis.issst.evex.Organization", "-class", "ru.kfu.itis.issst.evex.Weapon", "-output", tempFolder.newFile().getPath()}); }