Provide some code/API For Converting .EML & .DXL files

Provide API or java code For Converting .EML & .DXL files into .TIFF as soon as possible.

i also require some pointers to api that can convert .eml files to .msg files. Please let me know if there are any api's for the same.

Similar Messages

  • Does Adobe provide a free API for creating PDF files

    Does Adobe provide a free API (for Windows) for creating PDF files?   We are currently using
    a basic, internally developed API for creating PDF files, but would like some additional
    capabilities ... in particular the ability to add a watermark that appears when printing
    but not when viewing PDF files on-line.
    If this is not the right forum for this question, please let me know what forum would be
    appropriate.
    Thanks,
    Mark

    OK, with a little bit of searching on Adobe's web site, I found the answer to my question.   Yes, Adobe does offer
    an API for creating/manipulating/reading PDF files:  it's called the Adobe PDF Library SDK and it has to be
    licensed.  Version 9 is the latest.   The cost is decided on a case-by-case basis.    Here is the link:
    http://www.adobe.com/devnet/pdf/library/
    Mark

  • Java API for running entire ".sql" files on a remote DB ( mySQL or Oracle)?

    Hi,
    Would anyone happen to know if there's a java API for executing entire ".sql" files (containing several different SQL commands), on a remote database server ?
    It's enough if the API works with MySQL and/or Oracle.
    Just to demonstrate what i'm looking for:
    Suppose you've created sql file "c:/test.sql" with several script lines:
    -- test.sql:
    insert into TABLE1 values(3,3);
    insert into TABLE1 values(5,5);
    create table TABLE2 (name VARCHER) ENGINE innoDB; -- MYSQL specific
    Then the java API should look something like:
    // Dummy java code:
    String driver="com.mysql.jdbc.Driver";
    String url= "jdbc:mysql://localhost:3306/myDb";
    SomeAPI.executeScriptFile( "c:/test.sql", driver, url);
    Thanks.

    No such a API, but it's easy to parse all sqls in a file, then run those command:
    For instance:
    import java.sql.*;
    import java.util.Properties;
    /* A demo show how to load some sql statements. */
    public class testSQL {
    private final static Object[] getSQLStatements(java.util.Vector v) {
    Object[] statements = new Object[v.size()];
    Object temp;
    for (int i = 0; i < v.size(); i++) {
    temp = v.elementAt(i);
    if (temp instanceof java.util.Vector)
    statements[i] = getSQLStatements( (java.util.Vector) temp);
    else
    statements[i] = temp;
    return statements;
    public final static Object[] getSQLStatements(String sqlFile) throws java.
    io.IOException {
    java.util.Vector v = new java.util.Vector(1000);
    try {
    java.io.BufferedReader br = new java.io.BufferedReader(new java.io.
    FileReader(sqlFile));
    java.util.Vector batchs = new java.util.Vector(10);
    String temp;
    while ( (temp = br.readLine()) != null) {
    temp = temp.trim();
    if (temp.length() == 0)
    continue;
    switch (temp.charAt(0)) {
    case '*':
    case '"':
    case '\'':
    // System.out.println(temp);
    break; //Ignore any line which begin with the above character
    case '#': //Used to begin a new sql statement
    if (batchs.size() > 0) {
    v.addElement(getSQLStatements(batchs));
    batchs.removeAllElements();
    break;
    case 'S':
    case 's':
    case '?':
    if (batchs.size() > 0) {
    v.addElement(getSQLStatements(batchs));
    batchs.removeAllElements();
    v.addElement(temp);
    break;
    case '!': //Use it to get a large number of simple update statements
    if (batchs.size() > 0) {
    v.addElement(getSQLStatements(batchs));
    batchs.removeAllElements();
    String part1 = temp.substring(1);
    String part2 = br.readLine();
    for (int i = -2890; i < 1388; i += 39)
    batchs.addElement(part1 + i + part2);
    for (int i = 1890; i < 2388; i += 53) {
    batchs.addElement(part1 + i + part2);
    batchs.addElement(part1 + i + part2);
    for (int i = 4320; i > 4268; i--) {
    batchs.addElement(part1 + i + part2);
    batchs.addElement(part1 + i + part2);
    for (int i = 9389; i > 7388; i -= 83)
    batchs.addElement(part1 + i + part2);
    v.addElement(getSQLStatements(batchs));
    batchs.removeAllElements();
    break;
    default:
    batchs.addElement(temp);
    break;
    if (batchs.size() > 0) {
    v.addElement(getSQLStatements(batchs));
    batchs.removeAllElements();
    br.close();
    br = null;
    catch (java.io.FileNotFoundException fnfe) {
    v.addElement(sqlFile); //sqlFile is a sql command, not a file Name
    Object[] statements = new Object[v.size()];
    for (int i = 0; i < v.size(); i++)
    statements[i] = v.elementAt(i);
    return statements;
    public static void main(String argv[]) {
    try {
    String url;
    Object[] statements;
    switch (argv.length) {
    case 0: //Use it for the simplest test
    case 1:
    url = "jdbc:dbf:/.";
    if (argv.length == 0) {
    statements = new String[1];
    statements[0] = "select * from test";
    else
    statements = argv;
    break;
    case 2:
    url = argv[0];
    statements = getSQLStatements(argv[1]);
    break;
    default:
    throw new Exception(
    "Syntax Error: java testSQL url sqlfile");
    Class.forName("com.hxtt.sql.dbf.DBFDriver").newInstance();
    //Please see Connecting to the Database section of Chapter 2. Installation in Development Document
    Properties properties = new Properties();
    Connection con = DriverManager.getConnection(url, properties);
    Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,
    ResultSet.CONCUR_READ_ONLY);
    //Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
    // stmt.setMaxRows(0);
    stmt.setFetchSize(10);
    final boolean serializeFlag = false;//A test switch to serialize/deserialize the resultSet
    ResultSet rs;
    for (int i = 0; i < statements.length; i++) {
    if (statements[i] instanceof java.lang.String) {
    String temp = (java.lang.String) statements;
    switch (temp.charAt(0)) {
    case 'S':
    case 's':
    case '?':
    System.out.println(temp);
    rs = stmt.executeQuery(temp);
    if (serializeFlag) {
    // serialize the resultSet
    try {
    java.io.FileOutputStream fileOutputStream = new
    java.io.FileOutputStream("testrs.tmp");
    java.io.ObjectOutputStream
    objectOutputStream = new java.io.
    ObjectOutputStream(fileOutputStream);
    objectOutputStream.writeObject(rs);
    objectOutputStream.flush();
    objectOutputStream.close();
    fileOutputStream.close();
    catch (Exception e) {
    System.out.println(e);
    e.printStackTrace();
    System.exit(1);
    rs.close(); //Let the CONCUR_UPDATABLE resultSet release its open files at once.
    rs = null;
    // deserialize the resultSet
    try {
    java.io.FileInputStream fileInputStream = new
    java.io.FileInputStream("testrs.tmp");
    java.io.ObjectInputStream objectInputStream = new
    java.io.ObjectInputStream(
    fileInputStream);
    rs = (ResultSet) objectInputStream.
    readObject();
    objectInputStream.close();
    fileInputStream.close();
    catch (Exception e) {
    System.out.println(e);
    e.printStackTrace();
    System.exit(1);
    ResultSetMetaData resultSetMetaData = rs.
    getMetaData();
    int iNumCols = resultSetMetaData.getColumnCount();
    for (int j = 1; j <= iNumCols; j++) {
    // System.out.println(resultSetMetaData.getColumnName(j));
    /* System.out.println(resultSetMetaData.getColumnType(j));
    System.out.println(resultSetMetaData.getColumnDisplaySize(j));
    System.out.println(resultSetMetaData.getPrecision(j));
    System.out.println(resultSetMetaData.getScale(j));
    System.out.println(resultSetMetaData.
    getColumnLabel(j)
    + " " +
    resultSetMetaData.getColumnTypeName(j));
    Object colval;
    rs.beforeFirst();
    long ncount = 0;
    while (rs.next()) {
    // System.out.print(rs.rowDeleted()+" ");
    ncount++;
    for (int j = 1; j <= iNumCols; j++) {
    colval = rs.getObject(j);
    System.out.print(colval + " ");
    System.out.println();
    rs.close(); //Let the resultSet release its open tables at once.
    rs = null;
    System.out.println(
    "The total row number of resultset: " + ncount);
    System.out.println();
    break;
    default:
    int updateCount = stmt.executeUpdate(temp);
    System.out.println(temp + " : " + updateCount);
    System.out.println();
    else if (statements[i] instanceof java.lang.Object[]) {
    int[] updateCounts;
    Object[] temp = (java.lang.Object[]) statements[i];
    try {
    for (int j = 0; j < temp.length; j++){
    System.out.println( temp[j]);
    stmt.addBatch( (java.lang.String) temp[j]);
    updateCounts = stmt.executeBatch();
    for (int j = 0; j < temp.length; j++)
    System.out.println((j+1)+":"+temp[j]);
    for (int j = 0; j < updateCounts.length; j++)
    System.out.println((j+1)+":" +updateCounts[j]);
    catch (java.sql.BatchUpdateException e) {
    updateCounts = e.getUpdateCounts();
    for (int j = 0; j < updateCounts.length; j++)
    System.out.println((j+1)+":"+updateCounts[j]);
    java.sql.SQLException sqle = e;
    do {
    System.out.println(sqle.getMessage());
    System.out.println("Error Code:" +
    sqle.getErrorCode());
    System.out.println("SQL State:" + sqle.getSQLState());
    sqle.printStackTrace();
    while ( (sqle = sqle.getNextException()) != null);
    catch (java.sql.SQLException sqle) {
    do {
    System.out.println(sqle.getMessage());
    System.out.println("Error Code:" +
    sqle.getErrorCode());
    System.out.println("SQL State:" + sqle.getSQLState());
    sqle.printStackTrace();
    while ( (sqle = sqle.getNextException()) != null);
    stmt.clearBatch();
    System.out.println();
    stmt.close();
    con.close();
    catch (SQLException sqle) {
    do {
    System.out.println(sqle.getMessage());
    System.out.println("Error Code:" + sqle.getErrorCode());
    System.out.println("SQL State:" + sqle.getSQLState());
    sqle.printStackTrace();
    while ( (sqle = sqle.getNextException()) != null);
    catch (Exception e) {
    System.out.println(e.getMessage());
    e.printStackTrace();

  • Hello.what is the best converter for iPhone(for converting variety of file formats to mp3)?

    hello.what is the best converter for iPhone(for converting variety of file formats to mp3)?

    the way the total video convert works is really easy you put the song in that you want to convert you tell it to convert into mp3 format and stay the same quality
    Message was edited by: Robert1986nb

  • Please provide some code for my problem..Thanks

    Hi friends,
    How to pick words starting with some sort from a word document and write the data to a text file..for example
    we have many words in document starting with PGOT..
    Now i have to pickup words starting with PGOTXXXX and write to a text file..
    How to achieve this with pl/sql..
    pls provide sample code...
    Thanks in advance
    asp

    A small change in the code will work. It goes like this..
    CREATE OR REPLACE PROCEDURE rw_demo IS
    InFile utl_file.file_type;
    OutFile utl_file.file_type;
    vNewLine VARCHAR2(4000);
    StartPos number;
    EndPos number;
    searchword varchar2(100);
    BEGIN
    InFile := utl_file.fopen('CTEMP', 'in.txt','r');
    OutFile := utl_file.fopen('CTEMP', 'out.txt', 'w');
    IF utl_file.is_open(InFile) THEN
    LOOP
    BEGIN
    utl_file.get_line(InFile, vNewLine);
    StartPos := 1;
    loop
    StartPos := INSTR(vNewLine,'PGOT',StartPos);
    exit when StartPos = 0;
    EndPos := INSTR(vNewLine,' ',StartPos);
    If EndPos = 0 then
    SearchWord := substr(vNewLine,StartPos);
    ELSE
    SearchWord := substr(vNewLine,StartPos,EndPos-StartPos);
    END IF;
    end loop;
    utl_file.put_line(OutFile, searchword);
    utl_file.fflush(OutFile);
    END;
    END LOOP;
    COMMIT;
    END IF;
    utl_file.fclose(InFile);
    utl_file.fclose(OutFile);
    END rw_demo;
    If you see my solution, i have a variable EndPos will contain the position of ' ' (a space) starting from the position of the string 'PGOT'. E.g. the line is "PGOTRFG ABC". Now as per the procedure StartPos will be 1 and EndPos will be 8. So the substr() will fetch PGOTRFG. Incase if the line is "PGOTRFG" then StartPos will be 1 and EndPos will be 0 and so the substr (in if part) will fetch PGOTRFG. you got it?

  • Adobe Product API for converting mulptiple formats into PDF and to Embed PDF into PDF ?

    Hi Team,
    Is there any adobe product that allow us to convert multiple formats into .pdf format and also allow us to attach (embed) other pdf files object into a pdf, is there any .net API for that, I want to do this through programming.
    Regards
    Amit

    We want to use this product for our application, for the purpose of converting different files formats into a PDF file and also for attaching files into a single PDF using a web application and windows service. I have to evaluate some features and point regarding this product which are as below:
    1. PDF form creation in future requirement.
    2. Maximum files size that i can convert into PDF.
    3. Memory management when converting N number of files.
    4. Compatibility with C#, .Net Framework 4.0, using MS Visual Studio 2010.
    5. Support of the product for future.
    6. Primary requirement to use PDFLiveCyle for above features.
    7. Basic guidelines before using PDFLiveCyle.
    8. Ease of coding using PDFLiveCyle.
    9. 32bit or 64bit support.
    10. Lisencing information
    Regards
    Amit Mishra

  • Do you have any API for converting PDF to Excel?

    Do you have any Adobe API or Adobe SDK for converting PDF files to Excel files?. If yes, can it be called through java code?

    If it exists you will find it documented here:  Adobe - Acrobat Developer Center | Adobe Developer Connection

  • Oracle IBR : API for converting files in PDF

    IBR and WCC Version : 11.1.1.6.0
    Currently We have configured IBR with UCM for converting documents to PDF format. Is there ant IBR API available so that without checking in the document in WCC , we can call the IBR API and get the document converted to PDF and it would be done through synchronous call.
    thanks in advance.
    Yogesh
    Edited by: user10285200 on Mar 28, 2013 12:18 AM

    Hi Yogesh ,
    Without having the content in WCC server you can convert it to PDF using the OIT Modules which is the actual engine that does the processing in WCC as well . For doing this you will need to have the PDFExport module deployed on your client machine and then with that conversion can be done .
    This is the link for OIT PDF Export module : http://www.oracle.com/technetwork/middleware/content-management/downloads/oit-dl-otn-097435.html
    Infact all the modules of content processing / conversion can be done as an independent stand alone application using OIT . Each of those modules are available from the above link.
    Hope this helps .
    Thanks,
    Srinath

  • Setting Font for converting multiple text files into PDF using VB 6.0

    Dear All,
    Am converting multiple text files into PDF using VB6.0. Currently, am unable to control the font face and size for the generated files. Below is the procedure am using for each file;
    Public Sub proc_convert_to_PDF(srcFilename As String, destFilename As String)
    Dim p_AcroApp As CAcroApp
    Dim p_VDoc As CAcroAVDoc
    Dim p_DDoc As CAcroPDDoc
    Dim IsOk As Boolean
    Set p_AcroApp = CreateObject("AcroExch.App")
    Set p_VDoc = CreateObject("AcroExch.AVDoc")
    Call p_VDoc.Open(srcFilename, "")
    Set p_VDoc = p_AcroApp.GetActiveDoc
    If p_VDoc.IsValid Then
    Set p_DDoc = p_VDoc.GetPDDoc
    ' Fill in pdf properties.
    p_DDoc.SetInfo "Title", Format(Date, "dd-mm-yyy")
    p_DDoc.SetInfo "Subject", srcFilename
    If p_DDoc.Save(1 Or 4 Or 32, destFilename) <> True Then
    MsgBox "Failed to save " & srcFilename
    End If
    p_DDoc.Close
    End If
    'Close the PDF
    p_VDoc.Close True
    p_AcroApp.Exit
    'Clear Variables
    Set p_DDoc = Nothing
    Set p_VDoc = Nothing
    Set p_AcroApp = Nothing
    End Sub
    What I need;
    1) to be able to set the font face of the destination file ( destFilename)
    2) to be able to set the font size of the destination file ( destFilename)
    Am using Adobe Acrobat 7.0 Type Library
    Kindly Help.
    Thanks in advance

    We didn't say it doesn't work. We said it isn't supported.
    There are a number of other ways to make a PDF. The one which would
    give the most control is if your application directly printed to GDI,
    controlling the font directly. This could print to Adobe PDF.
    You could look for an application that gives control of font for
    printing.
    You could use a text-to-PostScript system and distill the result. You
    could even look for a non-Adobe text-to-PDF.
    Working in the unsupported and dangerous world you chose, the font
    size for text conversion is set (and this is very bad design from
    Adobe) in the settings for Create PDF > From Web Page. There is no API
    to this.
    Aandi Inston

  • Reproting tool(api) for exporting in xls files in different templates

    Hi
    I need api for exporting data into xls files. DIfferent reports everyone has own template and data.
    Please suggest some free java APIs or tools that can be intergrated with java web application easy.

    you should use windward reports. we can use excel for the template, report, and now even the data source. And our design tool is word/excel/powerpoint, so you're already trained. you need a powerful, secure enterprise-level Java/J2EE reporting engine to back your critical reporting and document generation systems.
    The Windward Engine installs easily, runs on one or more servers as part of your server-based application, and can easily produce hundreds of thousands of reports per day on a single server. The server is a pure Java product (and also is available as pure .NET).
    Even better news for you guys: When combined with the Windward report design tools AutoTag and AutoTag Max, users design, schedule and run reports from within Microsoft Office. That means you can turn over reporting to the business group and get back to more interesting work.
    You don't have to take my word for it. Check out this [robust Java reporting engine|http://www.windwardreports.com/java.htm?source=pday909&campaign=pday909&utm_source=everyr&utm_medium=post&utm_campaign=pday909&id=203] for yourself.

  • Program for converting fixed length file to csv

    Hello All,
    My requirement is to write a program which will read a file of fixed length separator (file where fields are separated by their length) from application server and convert to CSV file (fields separated by comma) .
    Please help me with code sample.
    regards
    Santosh

    Hi Santosh,
    SAP_CONVERT_TO_CSV_FORMAT
    Hope the above FM helps you.
    Very usefull thread
    reg:currency and quantity
    Have A Nice Day
    Chaitanya.

  • API for converting a Java object into XML?

    Do you know of any Java API that I could use to convert a Java
    object into its equivalent XML representation?
    For example if I have a class called "Foo" with variables va, vb
    and I have an instance of Foo with va having the value 1 and vb
    having the value 2, I would like be able to generate the
    following XML fragment:
    <Foo>
    <va>1</va>
    <vb>2</vb>
    </Foo>
    Thanks,
    -- Rob
    null

    Rob Tan (guest) wrote:
    : Do you know of any Java API that I could use to convert a Java
    : object into its equivalent XML representation?
    : For example if I have a class called "Foo" with variables va,
    vb
    : and I have an instance of Foo with va having the value 1 and
    vb
    : having the value 2, I would like be able to generate the
    : following XML fragment:
    : <Foo>
    : <va>1</va>
    : <vb>2</vb>
    : </Foo>
    : Thanks,
    : -- Rob
    There is none that I know of.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

  • Any JAVA API for converting .doc,.txt fles to PDF files

    is any special API fo this convertion?

    Check into POI for reading Word docs, and check into iText for nearly anything PDF.

  • Api for converting APF documents?

    Hi everyone,
    Is there an API out there that will help me convert APF documents into a PDF or JPG/GIF?
    Thanks in advance

    Sorry, I meant AFP

  • APIs for Parsing JRA Recording Files (Any documentation?)

    Hi,
    I have a JRF recording file with me and using which i need to generate custom report using any scripting language like PERL or Ruby etc without using JRocket Mission Control. here in my custom script i can use any APIs provided by JRocket to parse JRA recording file and get different statistics data.
    So here i want to know what all APIs does JRockit provides for parsing JRA recordings and getting different statistics data from JRF recordings which can be consumed by some other scripting language and NOT through JRockit Mission Control.
    Please share any documentation link or document having detail of available APIs from JRockit for parsing JRA recordings and getting different statistics data.
    Thanks,
    Piyush

    Just in addition to my previous comment.
    I have JRA flight recording files with me for parsing.
    Thanks,
    Piyush

Maybe you are looking for

  • How can I transfer music from my new Macbook Air to my old one

    I can't transfer music from my new Macbook Air to the new one. I have,however, transfered music from my old one to the new one. What am I doing wrong?

  • After update to iOS 8.3 I do not have emoji keyboard.

    Prior to the update I had Emoji++ keyboard installed; which worked fine.  After the upgrade, the Emojii++ keyboard crashes occasionally (it never did before). I was hoping I would get the new Apple emoji keyboard after the upgrade but it isn't there.

  • Question related to use of a managed library in iPhoto11

    Question 1 - A family member decided to place folders with photos on the desktop. I want to import those photos and delete those folders from the desktop? Will the photos be properly transferred and stored in iPhoto 11? Question 2- The photos were pl

  • IDoc packets in SP11

    Hi - Support for collecting and sending IDocs in packets was supposed to be part of SP11. The tuning guide mentions it on page 13: "In SP11, a solution will be available for IDoc adapter outbound processing to collect IDoc-XML messages and transfer t

  • Hyperion Certification - Practice Exams?

    I'm planning to take Hyperion Essbase and Planning certifications and preparing for them now. My company is a Oracle Gold partner and I have checked in OPN and OTN for any practice exams with some sample questions to get a feel of the certification t