writer2latex.xmerge
public class ConvertData extends Object implements ConverterResult
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.
Method Summary | |
---|---|
void | addDocument(OutputFile doc)
Adds a OutputFile to the vector.
|
OutputFile | getMasterDocument() Get the master document |
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 |
Iterator | iterator()
Gets an Iterator to access the Vector
of OutputFile objects
|
void | reset()
Resets ConvertData. |
void | setName(String docName)
Sets the OutputFile name.
|
void | write(File dir) |
OutputFile
to the vector.
Parameters: doc The OutputFile
to add.
Returns: OutputFile
the master document
OutputFile
name.
Returns: The OutputFile
name.
OutputFile
objects currently stored
Returns: The number of OutputFile
objects currently
stored.
Parameters: doc The OutputFile
to check
Returns: true if this is the master document
Iterator
to access the Vector
of OutputFile
objects
Returns: The Iterator
to access the
Vector
of OutputFile
objects.
OutputFile
objects from this class. This allows reuse of a
ConvertData
.OutputFile
name.
Parameters: docName The name of the OutputFile
.