CasIOUtils should be used.@Deprecated public class CasIOUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
readCas(CAS aCas,
File aFile)
Deprecated.
Use
CasIOUtils.load(java.net.URL, CAS) instead. |
static void |
readJCas(JCas aJCas,
File aFile)
Deprecated.
Use
CasIOUtils.load(java.net.URL, CAS) instead. |
static void |
readXCas(CAS aCas,
File aFile)
Deprecated.
Use
CasIOUtils.load(java.net.URL, CAS) instead. |
static void |
readXCas(JCas aJCas,
File aFile)
Deprecated.
Use
CasIOUtils.load(java.net.URL, CAS) instead. |
static void |
readXmi(CAS aCas,
File aFile)
Deprecated.
Use
CasIOUtils.load(java.net.URL, CAS) instead. |
static void |
readXmi(JCas aJCas,
File aFile)
Deprecated.
Use
CasIOUtils.load(java.net.URL, CAS) instead. |
static void |
writeXCas(CAS aCas,
File aFile)
Deprecated.
|
static void |
writeXCas(JCas aJCas,
File aFile)
Deprecated.
|
static void |
writeXmi(CAS aCas,
File aFile)
Deprecated.
|
static void |
writeXmi(JCas aJCas,
File aFile)
Deprecated.
|
@Deprecated public static void readCas(CAS aCas, File aFile) throws IOException
CasIOUtils.load(java.net.URL, CAS) instead.aCas - the target CASaFile - the file to read fromIOException - if there is a problem reading the file@Deprecated public static void readXmi(CAS aCas, File aFile) throws IOException
CasIOUtils.load(java.net.URL, CAS) instead.aCas - the target CASaFile - the file to read fromIOException - if there is a problem reading the file@Deprecated public static void writeXmi(CAS aCas, File aFile) throws IOException
CasIOUtils.save(CAS, OutputStream, org.apache.uima.cas.SerialFormat)
with SerialFormat.XMI instead.aCas - the source CASaFile - the file to write toIOException - if there is a problem writing the file@Deprecated public static void readXCas(CAS aCas, File aFile) throws IOException
CasIOUtils.load(java.net.URL, CAS) instead.aCas - the target CASaFile - the file to read fromIOException - if there is a problem reading the file@Deprecated public static void writeXCas(CAS aCas, File aFile) throws IOException
CasIOUtils.save(CAS, OutputStream, org.apache.uima.cas.SerialFormat)
with SerialFormat.XCAS instead.aCas - the source CASaFile - the file to write toIOException - if there is a problem writing the file@Deprecated public static void readJCas(JCas aJCas, File aFile) throws IOException
CasIOUtils.load(java.net.URL, CAS) instead.aJCas - the target JCasaFile - the file to read fromIOException - if there is a problem reading the file@Deprecated public static void readXmi(JCas aJCas, File aFile) throws IOException
CasIOUtils.load(java.net.URL, CAS) instead.aJCas - the target JCasaFile - the file to read fromIOException - if there is a problem reading the file@Deprecated public static void writeXmi(JCas aJCas, File aFile) throws IOException
CasIOUtils.save(CAS, OutputStream, org.apache.uima.cas.SerialFormat)
with SerialFormat.XMI instead.aJCas - the source JCasaFile - the file to write toIOException - if there is a problem writing the file@Deprecated public static void readXCas(JCas aJCas, File aFile) throws IOException
CasIOUtils.load(java.net.URL, CAS) instead.aJCas - the target JCasaFile - the file to read fromIOException - if there is a problem reading the file@Deprecated public static void writeXCas(JCas aJCas, File aFile) throws IOException
CasIOUtils.save(CAS, OutputStream, org.apache.uima.cas.SerialFormat)
with SerialFormat.XCAS instead.aJCas - the source JCasaFile - the file to write toIOException - if there is a problem writing the fileCopyright © 2012–2021 The Apache Software Foundation. All rights reserved.