public class ConverterNeedFileNameEvent extends ConverterEvent
ConverterListener
needs a file name to save a converted document.Constructor and Description |
---|
ConverterNeedFileNameEvent(Object source,
ConverterJobInfoEvent jobInfo,
String fileName,
String fileExtension,
int inputDocumentIndex,
int inputPageNumber) |
Modifier and Type | Method and Description |
---|---|
String |
getFileExtension()
Returns extension of the converted document.
|
String |
getFileName()
Returns name of the converted document.
|
int |
getInputDocumentIndex()
Returns index of the current document in the conversion job.
|
int |
getInputPageNumber()
Returns number of the current page that was converted.
|
void |
setFileName(String fileName)
Specifies a name for the converted document.
|
getJobInfo, isCancel, setCancel
getSource, toString
public ConverterNeedFileNameEvent(Object source, ConverterJobInfoEvent jobInfo, String fileName, String fileExtension, int inputDocumentIndex, int inputPageNumber)
public String getFileName()
public void setFileName(String fileName)
fileName
- name for the converted documentpublic String getFileExtension()
public int getInputDocumentIndex()
public int getInputPageNumber()