public class OmrTemplate extends Object
Represents an OMR document template
| Constructor and Description |
|---|
OmrTemplate()
Initializes a new instance of the
OmrTemplate class. |
| Modifier and Type | Method and Description |
|---|---|
OmrPagesCollection |
getPages()
Gets the collection of pages within the template
|
static OmrTemplate |
load(InputStream stream)
Loads the template.
|
static OmrTemplate |
load(String fileName)
Loads the template.
|
void |
save(OutputStream stream)
Saves the template.
|
void |
save(String fileName)
Saves the template.
|
public OmrTemplate()
Initializes a new instance of the OmrTemplate class.
public OmrPagesCollection getPages()
Gets the collection of pages within the template
public static OmrTemplate load(InputStream stream) throws IOException
Loads the template.
stream - Stream to load the template from.OmrTemplate.IOExceptionpublic static OmrTemplate load(String fileName) throws IOException
Loads the template.
fileName - Name of the file to load the template from.OmrTemplate.IOExceptionpublic void save(OutputStream stream)
Saves the template.
stream - Stream to save the template to.public void save(String fileName) throws IOException
Saves the template.
fileName - Name of the file to save the template to.IOExceptionCopyright © 2014. All rights reserved.