public class MSTConvert
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static MST.Imaging.Convert.MSTech.DocumentServiceProvider |
DocEngine |
Constructor and Description |
---|
MSTConvert() |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
Convert(java.lang.String SrcFileName,
java.lang.String DestFileName,
MST.Imaging.Convert.OutputType outputtype)
Exports the file in specified output type.
|
boolean |
Convert(java.lang.String srcFileName,
java.lang.String DestFileName,
MST.Imaging.Convert.OutputType outputtype,
java.lang.String Annotations,
MST.Imaging.Convert.SaveOptions options)
Exports the file in specified output type.
|
java.lang.Boolean |
Convert(java.net.URL SrcUrl,
java.lang.String DestFileName,
MST.Imaging.Convert.OutputType outputtype)
Exports the file in specified output type.
|
java.lang.Boolean |
Convert(java.net.URL Url,
java.lang.String DestFileName,
MST.Imaging.Convert.OutputType outputtype,
java.lang.String Annotations,
MST.Imaging.Convert.SaveOptions options)
Exports the file in specified output type.
|
java.lang.Boolean |
IsCompressionSupported(MST.Imaging.Convert.OutputType oType,
MST.Imaging.Convert.Compression oCompression,
int bitDepth)
Checks weather the compression supported for particular file format or not.
|
java.lang.Boolean |
Merge(java.lang.String[] SrcFileName,
java.lang.String DestFileName,
MST.Imaging.Convert.OutputType outputtype)
Merges the files in specified output type.
|
java.lang.Boolean |
Merge(java.lang.String[] SrcFileName,
java.lang.String DestFileName,
MST.Imaging.Convert.OutputType outputtype,
java.lang.String[] Annotations,
MST.Imaging.Convert.SaveOptions options)
Merges the files in specified output type.
|
public MSTConvert() throws java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.InstantiationException, java.lang.Exception
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.Exception
public java.lang.Boolean IsCompressionSupported(MST.Imaging.Convert.OutputType oType, MST.Imaging.Convert.Compression oCompression, int bitDepth)
oType
- MIME type of file which is to be saved.oCompression
- Compression value.bitDepth
- color depth of filepublic java.lang.Boolean Convert(java.lang.String SrcFileName, java.lang.String DestFileName, MST.Imaging.Convert.OutputType outputtype) throws MSTException
SrcFileName
- Either name of file or path.DestFileName
- name of file in which the file is to be saved.outputtype
- MIME type of file which is to be saved.MSTException
public java.lang.Boolean Convert(java.net.URL SrcUrl, java.lang.String DestFileName, MST.Imaging.Convert.OutputType outputtype) throws MSTException
SrcUrl
- Url path of file.DestFileName
- name of file in which the file is to be saved.outputtype
- MIME type of file which is to be saved.MSTException
public boolean Convert(java.lang.String srcFileName, java.lang.String DestFileName, MST.Imaging.Convert.OutputType outputtype, java.lang.String Annotations, MST.Imaging.Convert.SaveOptions options) throws MSTException, java.lang.Exception
SrcFileName
- Either name of file or path.DestFileName
- name of file in which the file is to be saved.outputtype
- MIME type of file which is to be saved.Annotations
- string contains the data about annotation.options
- saving options with specified output type with scaling,bitdepth,rotation,compression,annotation,pageno.MSTException
java.lang.Exception
public java.lang.Boolean Convert(java.net.URL Url, java.lang.String DestFileName, MST.Imaging.Convert.OutputType outputtype, java.lang.String Annotations, MST.Imaging.Convert.SaveOptions options) throws MSTException
Url
- URL of file.DestFileName
- name of file in which the file is to be saved.outputtype
- MIME type of file which is to be saved.Annotations
- string contains the data about annotation.options
- saving options with specified output type with scaling,bitdepth,rotation,compression,annotation,pageno.MSTException
public java.lang.Boolean Merge(java.lang.String[] SrcFileName, java.lang.String DestFileName, MST.Imaging.Convert.OutputType outputtype) throws MSTException
SrcFileName
- Either name of files or path.DestFileName
- name of file in which the file is to be saved.outputtype
- MIME type of file which is to be saved.MSTException
public java.lang.Boolean Merge(java.lang.String[] SrcFileName, java.lang.String DestFileName, MST.Imaging.Convert.OutputType outputtype, java.lang.String[] Annotations, MST.Imaging.Convert.SaveOptions options) throws MSTException
SrcFileName
- Either names of files or path.DestFileName
- name of file or path where the file is to be saved.outputtype
- MIME type of file which is to be saved.Annotations
- string contains the data about annotation.options
- saving options with specified output type with scaling,bitdepth,rotation,compression,annotation,pageno.MSTException