public class CasIOUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
readCas(CAS aCas,
File aFile)
This method loads the contents of an XMI or XCAS file into the given CAS.
|
static void |
readJCas(JCas aJCas,
File aFile)
This method loads the contents of an XMI or XCAS file into the given CAS.
|
static void |
readXCas(CAS aCas,
File aFile) |
static void |
readXCas(JCas aJCas,
File aFile) |
static void |
readXmi(CAS aCas,
File aFile) |
static void |
readXmi(JCas aJCas,
File aFile) |
static void |
writeXCas(CAS aCas,
File aFile) |
static void |
writeXCas(JCas aJCas,
File aFile) |
static void |
writeXmi(CAS aCas,
File aFile) |
static void |
writeXmi(JCas aJCas,
File aFile) |
public static void readCas(CAS aCas, File aFile) throws IOException
aFile - a file nameIOExceptionpublic static void readXmi(CAS aCas, File aFile) throws IOException
IOExceptionpublic static void writeXmi(CAS aCas, File aFile) throws IOException
IOExceptionpublic static void readXCas(CAS aCas, File aFile) throws IOException
IOExceptionpublic static void writeXCas(CAS aCas, File aFile) throws IOException
IOExceptionpublic static void readJCas(JCas aJCas, File aFile) throws IOException
aFile - a file nameIOExceptionpublic static void readXmi(JCas aJCas, File aFile) throws IOException
IOExceptionpublic static void writeXmi(JCas aJCas, File aFile) throws IOException
IOExceptionpublic static void readXCas(JCas aJCas, File aFile) throws IOException
IOExceptionpublic static void writeXCas(JCas aJCas, File aFile) throws IOException
IOExceptionCopyright © 2012–2013 The Apache Software Foundation. All rights reserved.