|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwriter2latex.xmerge.ConvertData
public class ConvertData
ConvertData
is used as a container for passing
OutputFile
objects in and out of the Convert
class. The ConvertData
contains a String
name and a Vector
of OutputFile
objects.
Constructor Summary | |
---|---|
ConvertData()
|
Method Summary | |
---|---|
void |
addDocument(OutputFile doc)
Adds a OutputFile to the vector. |
java.util.Enumeration |
getDocumentEnumeration()
Gets an Enumeration to access the Vector
of OutputFile objects |
OutputFile |
getMasterDocument()
Get the master document |
java.lang.String |
getName()
Returns the OutputFile name. |
int |
getNumDocuments()
Gets the number of OutputFile objects currently stored |
boolean |
isMasterDocument(OutputFile doc)
Check if a given document is the master document |
void |
reset()
Resets ConvertData. |
void |
setName(java.lang.String docName)
Sets the OutputFile name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConvertData()
Method Detail |
---|
public void reset()
OutputFile
objects from this class. This allows reuse of a
ConvertData
.
public java.lang.String getName()
OutputFile
name.
OutputFile
name.public void setName(java.lang.String docName)
OutputFile
name.
docName
- The name of the OutputFile
.public void addDocument(OutputFile doc)
OutputFile
to the vector.
doc
- The OutputFile
to add.public OutputFile getMasterDocument()
getMasterDocument
in interface ConverterResult
OutputFile
the master documentpublic boolean isMasterDocument(OutputFile doc)
doc
- The OutputFile
to check
public java.util.Enumeration getDocumentEnumeration()
Enumeration
to access the Vector
of OutputFile
objects
getDocumentEnumeration
in interface ConverterResult
Enumeration
to access the
Vector
of OutputFile
objects.public int getNumDocuments()
OutputFile
objects currently stored
OutputFile
objects currently
stored.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |