Revision 148 tmp/org.txm.core/src/groovy/org/txm/macro/transcription/TextTranscription2TRS.groovy

TextTranscription2TRS.groovy (revision 148)
21 21

  
22 22
package org.txm.macro.transcription
23 23

  
24
import org.kohsuke.args4j.*
24
import javax.xml.stream.*
25 25

  
26
import groovy.transform.Field
27

  
26
import org.kohsuke.args4j.*
27
import org.txm.doc.*
28
import org.txm.importer.*
29
import org.txm.importer.filters.*
28 30
import org.txm.rcpapplication.swt.widget.parameters.*
29
import org.txm.importer.DomUtils;
30
import org.w3c.tidy.Tidy
31
import org.txm.doc.*;
32 31

  
33
import javax.xml.stream.*;
34

  
35
import java.util.HashMap;
36
import java.util.List;
37

  
38
import org.txm.importer.*;
39
import org.xml.sax.Attributes;
40
import org.txm.importer.filters.*;
41

  
42
import java.io.File;
43
import java.io.IOException;
44
import java.util.ArrayList;
45

  
46
import javax.xml.parsers.SAXParserFactory;
47
import javax.xml.parsers.ParserConfigurationException;
48
import javax.xml.parsers.SAXParser;
49

  
50
import java.net.URL;
51

  
52
import org.xml.sax.InputSource;
53
import org.xml.sax.helpers.DefaultHandler;
54

  
55
import java.text.DecimalFormat;
56
import java.text.ParseException;
57
import java.text.SimpleDateFormat;
58
import java.util.Date;
59

  
60 32
class TextTranscription2TRS {
61 33
	boolean debug = false;
62 34
	boolean isDirectory = false;

Also available in: Unified diff