public class MaryCARTReader extends Object
| Constructor and Description |
|---|
MaryCARTReader() |
| Modifier and Type | Method and Description |
|---|---|
CART |
load(String fileName)
Load the cart from the given file
|
CART |
loadFromStream(InputStream inStream)
Load the cart from the given file
|
public CART load(String fileName) throws IOException, MaryConfigurationException
fileName - the file to load the cart fromIOException - if a problem occurs while loadingMaryConfigurationException - MaryConfigurationExceptionpublic CART loadFromStream(InputStream inStream) throws IOException, MaryConfigurationException
inStream - the stream to load the cart fromIOException - if a problem occurs while loadingMaryConfigurationException - MaryConfigurationExceptionCopyright © 2000–2016 DFKI GmbH. All rights reserved.