|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.adobe.idml.samples.Notes
public class Notes
This class contains tools for removing and extracting notes from an IDML package.
| Constructor Summary | |
|---|---|
Notes()
The default constructor. |
|
Notes(java.lang.String xslPath)
This constructor sets up an XSL Locator object. |
|
| Method Summary | |
|---|---|
void |
extractNotes(java.lang.String idmlSource,
java.lang.String outputFile)
Copies notes from an IDML file to a separate text file. |
static void |
main(java.lang.String[] args)
The main method used to initialize the Notes class. |
void |
removeNotes(java.lang.String idmlSource,
java.lang.String outputFile)
Creates a copy of an IDML file with the notes removed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Notes()
public Notes(java.lang.String xslPath)
throws java.io.IOException
xslPath - The path to the XSL files needed for transforms.
java.io.IOException| Method Detail |
|---|
public void extractNotes(java.lang.String idmlSource,
java.lang.String outputFile)
throws PackageException,
java.io.IOException,
javax.xml.xpath.XPathExpressionException
idmlSource - The IDML file to extract notes from.outputFile - The location to write the output file containing notes to.
PackageException
java.io.IOException
javax.xml.xpath.XPathExpressionException
public void removeNotes(java.lang.String idmlSource,
java.lang.String outputFile)
throws java.io.IOException,
javax.xml.transform.TransformerFactoryConfigurationError,
javax.xml.transform.TransformerException
idmlSource - The IDML file to remove notes from.outputFile - The IDML copy of idmlSource with the notes removed.
java.io.IOException
javax.xml.transform.TransformerFactoryConfigurationError
javax.xml.transform.TransformerExceptionpublic static void main(java.lang.String[] args)
args - parameters provided by the console application.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||