public class IOUtils extends Object
| Constructor and Description |
|---|
IOUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
arraylist_to_file(ArrayList array,
File file)
Generate File form ArrayList
|
static ArrayList<String> |
file_to_arraylist(File file)
Generate ArrayList from File
|
static HashMap |
file_to_hashmapKeys(File file) |
static org.apache.uima.cas.text.AnnotationFS |
findCoverFS(org.apache.uima.cas.CAS aCAS,
org.apache.uima.cas.text.AnnotationFS annot,
org.apache.uima.cas.Type coverFsType)
Michael Scor implementation
Finds the covering annotation of the specified coverFSType for the given
annotation.
|
static void |
hashmapKeys_to_file(HashMap array,
File file)
Generate File form ArrayList
|
public static ArrayList<String> file_to_arraylist(File file) throws IOException
file - IOExceptionpublic static void arraylist_to_file(ArrayList array, File file) throws IOException
array - file - IOExceptionpublic static void hashmapKeys_to_file(HashMap array, File file) throws IOException
array - file - IOExceptionpublic static HashMap file_to_hashmapKeys(File file) throws IOException
IOExceptionpublic static org.apache.uima.cas.text.AnnotationFS findCoverFS(org.apache.uima.cas.CAS aCAS,
org.apache.uima.cas.text.AnnotationFS annot,
org.apache.uima.cas.Type coverFsType)
aCAS - a CAS to search inannot - current annotationcoverFsType - covering annotation type to search forCopyright © 2018 JULIE Lab, Germany. All rights reserved.