|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object file2xliff4j.MifSkeletonMerger
public class MifSkeletonMerger
This class merges the following:
Constructor Summary | |
---|---|
MifSkeletonMerger()
Constructor for the skeleton merger object |
Method Summary | |
---|---|
void |
merge(java.io.InputStream tSkelInStream,
java.io.InputStream mifInStream,
java.io.OutputStream skeletonOutStream,
java.nio.charset.Charset encoding)
Create a skeleton file from the pseudo skeleton and the original MIF file. |
void |
merge(java.io.InputStream tSkelInStream,
java.io.InputStream mifInStream,
java.io.OutputStream skeletonOutStream,
java.nio.charset.Charset encoding,
int maxTuDepth)
Create a skeleton file from the pseudo skeleton and the original MIF file. |
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 MifSkeletonMerger()
Method Detail |
---|
public void merge(java.io.InputStream tSkelInStream, java.io.InputStream mifInStream, 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 frommifInStream
- The original MIF to read from and merge withskeletonOutStream
- Where I write the new skeletonencoding
- The encoding used by the MIF. (Question: Does this really
matter for the skeleton?)
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 mifInStream, 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 frommifInStream
- The original MIF to read from and merge withskeletonOutStream
- Where I write the new skeletonencoding
- The encoding used by the MIF. (Question: Does this really
matter for the skeleton?)maxTuDepth
- The maximum depth to which TUs are imbedded within
other TUs.
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 |