Package org.apache.uima.internal.util

Examples of org.apache.uima.internal.util.TimeSpan


          XMLSerializer xmlSerializer = new XMLSerializer(outStream);
          XCASSerializer xcasSerializer = new XCASSerializer(MainFrame.this.cas.getTypeSystem());
          xcasSerializer.serialize(MainFrame.this.cas, xmlSerializer.getContentHandler());
          outStream.close();
          time = System.currentTimeMillis() - time;
          System.out.println("Time taken: " + new TimeSpan(time));
        } catch (IOException e) {
          handleException(e);
        } catch (SAXException e) {
          handleException(e);
        }
View Full Code Here

TOP

Related Classes of org.apache.uima.internal.util.TimeSpan

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.