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 nameIOException
public static void readXmi(CAS aCas, File aFile) throws IOException
IOException
public static void writeXmi(CAS aCas, File aFile) throws IOException
IOException
public static void readXCas(CAS aCas, File aFile) throws IOException
IOException
public static void writeXCas(CAS aCas, File aFile) throws IOException
IOException
public static void readJCas(JCas aJCas, File aFile) throws IOException
aFile
- a file nameIOException
public static void readXmi(JCas aJCas, File aFile) throws IOException
IOException
public static void writeXmi(JCas aJCas, File aFile) throws IOException
IOException
public static void readXCas(JCas aJCas, File aFile) throws IOException
IOException
public static void writeXCas(JCas aJCas, File aFile) throws IOException
IOException
Copyright © 2012–2013 The Apache Software Foundation. All rights reserved.