|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object file2xliff4j.XMLSkeletonMerger
public class XMLSkeletonMerger
This class merges the following:
Constructor Summary | |
---|---|
XMLSkeletonMerger()
Constructor for the skeleton merger object |
Method Summary | |
---|---|
void |
merge(java.io.InputStream tSkelInStream,
java.io.InputStream xmlInStream,
java.io.OutputStream skeletonOutStream,
java.nio.charset.Charset encoding)
Create a skeleton file from the temporary skeleton and the original XML. |
void |
merge(java.io.InputStream tSkelInStream,
java.io.InputStream xmlInStream,
java.io.OutputStream skeletonOutStream,
java.nio.charset.Charset encoding,
int maxTuDepth)
Create a skeleton file from the temporary skeleton and the original XML. |
void |
setProperty(java.lang.String property,
java.lang.Object value)
Set a format-specific property that might affect the way that the merger process is conducted. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLSkeletonMerger()
Method Detail |
---|
public void merge(java.io.InputStream tSkelInStream, java.io.InputStream xmlInStream, java.io.OutputStream skeletonOutStream, java.nio.charset.Charset encoding, int maxTuDepth) throws java.lang.IllegalArgumentException, java.io.IOException
merge
in interface SkeletonMerger
tSkelInStream
- The intermediate skeleton we will read fromxmlInStream
- The original XML to read from and merge withskeletonOutStream
- Where I write the new skeletonencoding
- The encoding used by the XMLmaxTuDepth
- The maximum depth to which TUs are imbedded within
other TUs. (Ignored for this merger.)
java.util.IllegalArgumentException
- if an argument is bogus or non-existent
java.io.IOException
- if an I/O error occurs.
java.lang.IllegalArgumentException
public void merge(java.io.InputStream tSkelInStream, java.io.InputStream xmlInStream, java.io.OutputStream skeletonOutStream, java.nio.charset.Charset encoding) throws java.lang.IllegalArgumentException, java.io.IOException
merge
in interface SkeletonMerger
tSkelInStream
- The intermediate skeleton we will read fromxmlInStream
- The original XML to read from and merge withskeletonOutStream
- Where I write the new skeletonencoding
- The encoding used by the XML
java.util.IllegalArgumentException
- if an argument is bogus or non-existent
java.io.IOException
- if an I/O error occurs.
java.lang.IllegalArgumentException
public void setProperty(java.lang.String property, java.lang.Object value) throws ConversionException
setProperty
in interface SkeletonMerger
property
- The name of the propertyvalue
- The value of the property
ConversionException
- If the property or value can't be recognized.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |