CasIOUtils should be used.@Deprecated public class CasIOUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
readCas(org.apache.uima.cas.CAS aCas,
File aFile)
Deprecated.
Use
CasIOUtils.load(java.net.URL, CAS) instead. |
static void |
readJCas(org.apache.uima.jcas.JCas aJCas,
File aFile)
Deprecated.
Use
CasIOUtils.load(java.net.URL, CAS) instead. |
static void |
readXCas(org.apache.uima.cas.CAS aCas,
File aFile)
Deprecated.
Use
CasIOUtils.load(java.net.URL, CAS) instead. |
static void |
readXCas(org.apache.uima.jcas.JCas aJCas,
File aFile)
Deprecated.
Use
CasIOUtils.load(java.net.URL, CAS) instead. |
static void |
readXmi(org.apache.uima.cas.CAS aCas,
File aFile)
Deprecated.
Use
CasIOUtils.load(java.net.URL, CAS) instead. |
static void |
readXmi(org.apache.uima.jcas.JCas aJCas,
File aFile)
Deprecated.
Use
CasIOUtils.load(java.net.URL, CAS) instead. |
static void |
writeXCas(org.apache.uima.cas.CAS aCas,
File aFile)
Deprecated.
Use
CasIOUtils.save(CAS, OutputStream, org.apache.uima.cas.SerialFormat)
with SerialFormat.XCAS instead. |
static void |
writeXCas(org.apache.uima.jcas.JCas aJCas,
File aFile)
Deprecated.
Use
CasIOUtils.save(CAS, OutputStream, org.apache.uima.cas.SerialFormat)
with SerialFormat.XCAS instead. |
static void |
writeXmi(org.apache.uima.cas.CAS aCas,
File aFile)
Deprecated.
Use
CasIOUtils.save(CAS, OutputStream, org.apache.uima.cas.SerialFormat)
with SerialFormat.XMI instead. |
static void |
writeXmi(org.apache.uima.jcas.JCas aJCas,
File aFile)
Deprecated.
Use
CasIOUtils.save(CAS, OutputStream, org.apache.uima.cas.SerialFormat)
with SerialFormat.XMI instead. |
@Deprecated public static void readCas(org.apache.uima.cas.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(org.apache.uima.cas.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(org.apache.uima.cas.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(org.apache.uima.cas.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(org.apache.uima.cas.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(org.apache.uima.jcas.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(org.apache.uima.jcas.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(org.apache.uima.jcas.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(org.apache.uima.jcas.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(org.apache.uima.jcas.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–2020 The Apache Software Foundation. All rights reserved.