XMP with Java. Is it possible?

Does anyone know if there is the possibility to work on XMP with Java?
I want to make an application that can read and write "xmp tags" on PDF files, but I want to use Java as programming language...

"XMP and Java" is very possible. We wrote our own library that can write XMP into pretty much any file type including video, Microsoft office files, flash, etc. We can expand files and insert arbitrary amounts of data into them! For RAW and a couple other formats XMP is attached as a side car.
More info is available at www.mediabeacon.com
Thanks!
Alex

Similar Messages

  • Using GAP math software with Java 1.4, possible?

    Hello all,
    i work at a tech university and a Prof. has the following question:
    Some of his students want to use a free math software package called GAP with their diploma work. Question is: Can they use the GAP package with Java 1.4 Math Class and how does one interact between using GAP and Java 1.4?
    If anyone can help, i would be much obliged.
    Thank you.
    Raymund

    There does not seem to be any such capability, based on the articles in the GAP forum. You might want to look at this article which mentions a means of using Maple and GAP from Java programs.
    http://www.gap-system.org/~gap/Forum/Solomon.1/Andrew.1/JavaMath.1/1.html
    Chuck

  • Need some help with java documents if possible

    Hello all,
    I am trying to decompile .class files ok, i decompile it without any problems but when i open the java source i see weird string codes, and its not readable for the human, i tried lot of decompiling softwares but no software can make the file readable this is the problem that i have:
    // Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
    // Jad home page: http://www.kpdus.com/jad.html
    // Decompiler options: packimports(3)
    // Source File Name:   b.java
    package com.pimpernel.a.a.a;
    import com.pimpernel.chatpointclassic.client.a.e;
    import java.io.DataOutputStream;
    import java.io.PrintStream;
    import java.util.*;
    // Referenced classes of package com.pimpernel.a.a.a:
    //            a, e
    public class b
        implements Runnable
        b(a a1, a a2, DataOutputStream dataoutputstream, com.pimpernel.a.a.a.e e1)
            a = a1;
            b = 2000;
            c = 50;
            d = 4;
            o = -1L;
            e = a2;
            f = dataoutputstream;
            g = e1;
            j = new Vector();
            h = c;
        b(a a1, a a2, DataOutputStream dataoutputstream, com.pimpernel.a.a.a.e e1, Properties properties)
            int i1 = a.ev;
            super();
            a = a1;
            b = 2000;
            c = 50;
            d = 4;
            o = -1L;
            b = a(properties, c("-!\001\025R-:\006\024Y\035+\001\037f;+\032\036d\"+\n\013C'#\n6V6"), 20000);
            c = a(properties, c("-!\001\025R-:\006\024Y\035+\001\037f;+\032\036d\"+\n\013C'#\n6^ "), 50);
            d = a(properties, c("-!\001\025R-:\006\024Y\035+\001\037f;+\032\036z' <\036Y*\037\032\036B+\f\n\035X<+?\tX-+\034\b^ )"), 4);
            e = a2;
            f = dataoutputstream;
            g = e1;
            j = new Vector();
            h = c;
            if(e.i != 0)
                a.ev = ++i1;
        public int a(Properties properties, String s, int i1)
            try
                return Integer.parseInt(properties.getProperty(s));
            catch(Exception _ex)
                return i1;
        public void a()
            c();
            j.removeAllElements();
            f = null;
            j = null;
        public void b()
            if(i == null)
                k = System.currentTimeMillis();
                m = 0;
                n = 0;
                i = new Thread(this, c("\007\034,(R *>\016R;+"));
                i.start();
        public void c()
            if(i != null)
                i.stop();
                i = null;
        public void a(String s)
            j.insertElementAt(s, 0);
        public void b(String s)
            a(s.length());
            if((com.pimpernel.a.a.a.a.b(a) & 0x10) == 16)
                System.out.println(c("\036<\006\024E':\026[z+=\034\032P+n<\036Y*tO") + s);
            o = 0L;
            try
                if(f != null)
                    synchronized(f)
                        f.writeBytes(s + c("CD"));
                        f.flush();
            catch(Exception exception)
                if(e.eo)
                    if((com.pimpernel.a.a.a.a.b(a) & 1) == 1)
                        System.out.println(c("\0136\f\036G:'\000\025\027' O\bR *>\016R;+U[") + exception);
                    try
                        com.pimpernel.a.a.a.a.c(e);
                    catch(Exception _ex) { }
        public void a(int i1)
            if((com.pimpernel.a.a.a.a.b(a) & 4) == 4)
                m++;
                n += i1;
                l = System.currentTimeMillis();
                if(l - k > 10000L)
                    long l1 = l - k;
                    k = l;
                    if(com.pimpernel.a.a.a.a.a(a) == null)
                        com.pimpernel.a.a.a.a.a(a, new Date());
                    com.pimpernel.a.a.a.a.a(a).setTime(l);
                    System.out.println(c("ccB") + com.pimpernel.a.a.a.a.a(a).toString() + c("ccB"));
                    System.out.println(c("\001;\033\034X' \b[z=)OT\027=+\f[\nn") + (long)m / (l1 / 1000L));
                    System.out.println(c("\001;\033\034X' \b[u7:\n\b\027an\034\036TnsO") + (long)n / (l1 / 1000L));
                    m = 0;
                    n = 0;
        public void run()
            int i1;
            i1 = a.ev;
            o = 0L;
            if(i1 == 0) goto _L2; else goto _L1
    _L1:
            try
                Thread.sleep(h);
            catch(Exception _ex) { }
            o += h;
            j.size();
            d;
    _L9:
            JVM INSTR icmple 73;
               goto _L3 _L4
    _L3:
            if(g != null)
                g.a(j);
    _L4:
            if(j.isEmpty()) goto _L6; else goto _L5
    _L5:
            String s = (String)j.lastElement();
            a(s.length());
            if((com.pimpernel.a.a.a.a.b(a) & 8) == 8)
                System.out.println(c("\037;\n\016Rn=\006\001RnsO") + (j.size() - 1) + c("n\035\n\025Stn") + s);
            synchronized(f)
                f.writeBytes(s + c("CD"));
                f.flush();
            o = 0L;
            j.removeElement(j.lastElement());
            h = h << 1;
            if(i1 == 0) goto _L7; else goto _L6
    _L6:
            h = h >> 1;
    _L7:
            if(h > b)
                h = c;
            if(h < c)
                h = c;
            if(e.ed && o >= 10000L)
                a(c("\036\007!<\027="));
                o = 0L;
            continue; /* Loop/switch isn't completed */
            Exception exception;
            exception;
            if(!e.eo)
                continue; /* Loop/switch isn't completed */
            com.pimpernel.a.a.a.a.b(a) & 1;
            1;
            if(i1 != 0) goto _L9; else goto _L8
    _L8:
            JVM INSTR icmpne 387;
               goto _L10 _L11
    _L10:
            break MISSING_BLOCK_LABEL_362;
    _L11:
            break MISSING_BLOCK_LABEL_387;
            System.out.println(c("\0136\f\036G:'\000\025\027' O\bR *>\016R;+U[") + exception);
            try
                com.pimpernel.a.a.a.a.c(e);
            catch(Exception _ex) { }
    _L2:
            if(e.eo) goto _L1; else goto _L12
    _L12:
        private static String c(String s)
            char ac[] = s.toCharArray();
            int i1 = ac.length;
            int k1;
            for(int j1 = 0; j1 < i1; j1++)
                switch(j1 % 5)
                case 0: // '\0'
                    k1 = 0x4e;
                    break;
                case 1: // '\001'
                    k1 = 78;
                    break;
                case 2: // '\002'
                    k1 = 111;
                    break;
                case 3: // '\003'
                    k1 = 123;
                    break;
                default:
                    k1 = 55;
                    break;
                ac[j1] ^= k1;
            return new String(ac);
        a a;
        private int b;
        private int c;
        private int d;
        private a e;
        private DataOutputStream f;
        private com.pimpernel.a.a.a.e g;
        private int h;
        private Thread i;
        private Vector j;
        private long k;
        private long l;
        private int m;
        private int n;
        private long o;
        private final int p = 10000;
    }can some body help me and tell me how i can read that strange codes:
    System.out.println(c("\037;\n\016Rn=\006\001RnsO")
    :S?
    i am sorry because i am on the wrong forum.
    i hope someone can help me.
    Sorry for my bad english!
    Greetings,
    Nino_M

    This forum is for Sun Java Studio Creator questions.

  • Is it possible to Integrate dos with Java to create a sample compiler?

    Is it possible to Integrate dos with Java to create a sample compiler, or do I have to write the compiler from scratch? In theory, I would like to have users enter sample code in a java text field, hit a java button that would compile/run the code, by calling a dos command prompt that would run it, and display any error messages back to the java text field. Does anyone know if this is possible? Any help would be greatly appreciated.
    Tflav23

    There is a Compiler class you might be able to use also:
    C:\jdk1.3.1_01\docs\api\java\lang\Compiler.html
    So perhaps there is no need to create a process to compile code. But I don't know if you can get information about compiler errors.

  • HT1338 II need to use Java 6 to run a web application because it isnt compatible with java 7 update 7.  is this possible? need to use Java 6 to run a web application because it isnt compatible with java 7 update 7.  is this possible?

    II need to use Java 6 to run a web application because it isnt compatible with java 7 update 7.  is this possible?

    MadMAC0 posted at https://discussions.apple.com/message/20107182?ac_cid=tw123456#20107182 that:
    Apple has posted (10/22/12) the approved solution for restoring the Java 6 plug-in:
    Java for OS X 2012-006: How to re-enable the Apple-provided Java SE 6 applet plug-in and Web Start functionality.

  • Possible to make a dll with java?

    I am completely new to Java. Is it possible to create a Windows style DLL with Java? I am working with one project written in VB.NET which needs to access functions in another project written in Java. Can anybody help me figure out how to do this?

    I'm not sure what you mean by what type of project. It contains numerous data analysis functions which I want to access from a VB.NET program. From what you've written, I must assume that Java cannot be used to create a DLL and my only option is to rewrite it in another language. Thank you for the info.

  • Windows Programming with Java??? Is it possible???

    I have a small request from a client (Windows User) who wants a really simple POP3 email checker. I basically need to achieve the same thing that many email clients do, where they show some sort of symbol in the System tray when there is new email. I, however want to do this without the actual email client. All I want is the checker. This program will not download the email, gather information or anything. It will simply check the POP3 account and let the user know if there is new email.
    1.Can I get an icon to appear in the system tray and have a program that runs in the background, simply checking the POP3 account for new mail???
    2.If it is possible to interact with windows, then how is it done??? If this is too large of a question and you know of some resources that can answer this question for me, that will do.
    3.Is it even possible to have Java programs run in the background without appearing in the task bar??
    4. Am I trying to do something with Java that it just plain cannot do???

    Another really god option is to use the coroutine package from http://www.nevaobject.com/java/index.htm. This allows you invoke COM and Windows API's without having to write the JNI yourself. Its about $695 for a site-wide development license and has no binary distribution costs. A nice, cheap solution to spending lots of hours doing it youself. From the few things I tinkered with, it really does a great job too, but I have not deployed in a real production environment.
    Chuck

  • Is it possible to create java standalone programs with java ME 8

    Hi,
    Comparing java ME to java SE, I have the impression that midlets are similar to applets.
    When working with java SE, I usually make standalone programs.
    Now, I wonder if it is also possible to create also standalone programs for java ME, if the classes are only  using java ME API's.
    I already noticed that netbeans does not allow to build a project that does not contain a midlet, but maybe, it is possible to create a jar file
    using the javac and jar commands. Or is there a specific reason why netbeans does not allow to build a project without midlets?
    The reason for asking is, that I often make small tools in java that ae then called from a linux script. I imagine that this might be useful on the raspberry pi as well.
    Thanks in advance
    Jef

    Hi Jef -
    Comparing java ME to java SE, I have the impression that midlets are similar to applets.
    Sort of - similar life cycle methods - so conceptually, yes.
    Now, I wonder if it is also possible to create also standalone programs for java ME, if the classes are only  using java ME API's.
    In a way, yes. If you build an project, you will notice a JAD file and JAR file in the dist directory of the project.  JAD is the descriptor for a MIDlet - in mobile devices, the JAD
    file is loaded first to determine if the MIDlet has enough privileges to load and run, before the corresponding JAR file is downloaded.
    However, the JAD file can also be included in the Manifest of the JAR and the JAR copied to the embedded device manually and run there.
    I already noticed that netbeans does not allow to build a project that does not contain a midlet, but maybe, it is possible to create a jar file
    using the javac and jar commands. Or is there a specific reason why netbeans does not allow to build a project without midlets?
    You can build JAR files and include them into Java ME Embedded projects, but just like Applets, to use the Application Management System (AMS) on the Raspberry Pi, you must have a MIDlet to run.
    Perhaps you mean that you would like to launch the AMS and load a MIDlet from the command line on the Pi?
    If so, take a look at this section of the Getting Started Guide for the Raspberry Pi.
    Tom

  • Possible to Get Database backup with java program

    Hello
    Is it possible to Get or Create Database Backup on runtime with java program using some sql statements
    How could i do that
    '

    Cross posted and multi-posted.
    Hey jackass why don't you look where I already answered this question.
    http://forum.java.sun.com/thread.jspa?threadID=654902&messageID=3849575

  • Is ist possible to define heap size when start with java -jar

    Hi,
    I start my application as executable jar. How can I set the heapsize when double clicking myapp.jar ? With java -Xmx512m -jar myapp.jar it should go. But can I specify this when double clicking the myapp.jar ?
    Thanks
    Oli

    For all jars it is not acceptable I think.... the value as entry in the manifest.mf could be nice... :(

  • Is it possible to play .rm and .wma file with java?

    Hello Friends,
    Please tell me,
    how to play .rm and .wma file with java?
    Thanks,
    Harsh Modha

    As far as I know, you can not play those files.
    Here you have the complete list of supported formats. Hope this helps.
    http://java.sun.com/products/java-media/jmf/2.1.1/formats.html
    Maybe you should try to convert from wma or rm to a supported format before attempting to play it.

  • Problem with Java and Windows (Mainly Vista and UAC)

    Hi all,
    I am having a problem with a program that I've devoloped. The program itself is packaged as a jar and I plan to deploy it across multiple platforms eventually however right now i am only concerned about windows based systems. I have made an installer for a windows baised systems using NSIS to install the software files. I made the installer as I need several java packages to be installed so the program would work (JAI, J3D, JAI ImageIO) and I also require the program to have fileassociations on windows.
    I know that this is not what java is about, however the majority of the users will be on windows baised systems so I've decided that OS specific installers is the best option.
    During the process I have noticed that there are several key problem with java for this type of application!
    The first issue that I have come across is getting file associations to work on java. As a .jar is not an excutable it is not possible to directly associate a filetype with it in java so to overcome this I currently run the program from a .bat files and also the program requires large memory so this also allows me to run the program with -xmx. The batch file that I use is :
    <code>
    cd PATH TO PROGRAM
    start javaw -Dsun.java2d.noddraw=true -Xmn100M -Xms500M -Xmx1000M -jar "PATH TO PROGRAM\program.jar" %1 -vram 134217728
    pause;
    </code>
    Ok so all this appears to work fine and allows windows to have file associations and start the program and thats all works perfectly but this is a non-ideal solution. Has anyone got any advice on improving this?
    The next problem that I have appears to be a problem with Vista and UAC (user access control). When a user installs the program and installs the program into the program files directory I found that the program did not work and kept saying that I did not have access to the files in the current directory. This is a problem as I read and write settings files during program execution.
    On a Vista system UAC prevents file write operations into the Program Files directory unless the program has requested elevated status even if the user is a full administrator. The probem is that there appears to be no real way to achieve this under java that I'm aware of...
    Has anyone else had this probem and has a suitable solution?
    Any advice on these issues would realy be appricated.
    Regards
    Joey

    Ok so i've kinda found a solution, its not ideal but its very good. I found this program called Elevate
    A link to the site I got it was
    http://www.wintellect.com/cs/blogs/jrobbins/archive/2007/03/27/elevate-a-process-at-the-command-line-in-vista.aspx
    This program allows you start java with a UAC dialog for high access using
    Elevate java -jar myjar.jar
    This then allows you to have full access using java... I guess it could be dangerous but it does the job.

  • NewBie Question: Can you make a website completely with Java?

    Greetings my new Fellow Java programmers. My name is Jason and I am a computer programmer and web developer. I am verse in the following:
    1. HTML/XHTML
    2. CSS
    3. Asp.net
    4. VB.Net
    5. SQL
    I want to expand my skills to include:
    1.JAVA
    2. Action Script
    3. Java Script
    4. Ajax
    I have always wanted to learn Java and now I think it is the right time. So my question is can you create a site complete with Java or have a majority of the site functions and look attributed to Java? Is it similar to creating a site with vb.net and asp.net which utilizes html as well? Please explain. I am eager to learn this language. Thank you.
    -RomDog
    ...ROOOOOF!

    RomDog wrote:
    Is it similar to creating a site with vb.net and asp.net which utilizes html as well? Please explain. I am eager to learn this language. Thank you.
    I find it strange that you have to ask this. Of course the end result will be HTML/XHTML, that's what the browsers want. I would think that if you know the .NET side of web development, these concepts (client/server technologies) should already be clear to you.
    The short answer is yes it is possible. However if you want to learn Ajax/Javascript/Actionscript, I would learn those technologies before you learn Java web development as they are completely unrelated. You know that Javascript is not Java, right? You can implement javascript/Ajax in your .NET web applications already.
    Before you want to learn Java web development, learn Java. Seriously, learn basic Java first. It will be a great deal harder (and ultimately a lot more frustrating) to jump directly into the web development side of Java without knowing any of the basics. One of the biggest differences between .NET and Java platforms is that Microsoft basically holds your hand when it comes to making decision about which APIs to use and how to attack a problem; Java leaves you to the wolves to select from a gigantic amount of APIs and tools available that can each solve a problem in their very own way. Freedom is great, but it can be very daunting when you are just beginning.
    So before you even think about web development, I suggest you explore the java tutorial and see if you can get to grips with the language and the tool set.
    [http://java.sun.com/docs/books/tutorial/|http://java.sun.com/docs/books/tutorial/]
    When you are comfortable with the Java language and you are sure that Java web/enterprise development is still something for you, then come back and ask the question again.

  • Need special encoded characters in an Email subject with java 1.3.1_02

    I need to find a way to construct an Email through java with Subject lines built using characters from various Asian encodings. Such as Shift-JIS, Chinese Big5, etc.
    These encodings cannot be in UTF-8 format and must remain in the native character set.
    For testing I have an HTML file constructed using a single line of text with Shift-JIS characters. This file shows properly in web browsers under the Shift-JIS encoding view, and when used to create the body of an email it works perfectly through the DataHandler. However, I cannot get any java Reader to pull the same stream of characters into the Subject of the email. The Subject is always garbage no matter what I do.
    Here is a small code sample with the relevant lines:
    Session session = Session.getDefaultInstance(System.getProperties(), null);
    MimeMessage reSend = new MimeMessage(session);
    Transport ship = session.getTransport();
    BufferedReader s = new BufferedReader(new InputStreamReader(new FileInputStream("C:\\JavaPrograms\\Converted\\JISConv.html"), "SJIS"));
    String resub = s.readLine();
    s.close();
    reSend.setSubject(resub);
    DataHandler collect = new DataHandler(new FileDataSource("C:\\JavaPrograms\\Converted\\JISConv.html"));
    reSend.setDataHandler(collect);
    ship.send(reSend);If I use the "SJIS" encoding in the InputStreamReader above, all characters are shown as "?". If I delete it entirely and use the system default, I get half of the characters and the rest are garbage. I can generate either of those results using various other Japanese and Western encoding definitions.
    I have tried using the above code, also DataHandlers for the Subject, FileReader directly to a String, ByteArrayInputStreams, and StringBuffers. So far everything I try ends up at the same result.
    Can anyone help me out? I really need this to work. If I can get this one encoding to work, then I should be able to program case switches for the other encodings.
    Thanks kindly!
    Kurt Jackson

    First this is an issue with javamail and not with java.
    What makes you think that the mime standard allows what you want to do?
    Both of your 'tests' have been done using alternatives which do support alternative encodings.
    These encodings cannot be in UTF-8 format and must remain in the native character set.That seems rather unlikely to me. Email is transported using one encoding. Certainly SMTP uses only ascii. So what ever you put in there is going to be ASCII no matter what you do to it. I suppose something at the end might try to read it using an alternative encoding but then what happens when someone really wants to send those ASCII characters?
    Mime, I believe, is built on SMTP. And the subject line is still SMTP and thus ASCII.
    Here is one link that covers mime (you might want to check the backing references though.)
    http://www.mindspring.com/~mgrand/mime.html
    I believe there is some sort of official or unofficial standard for doing what you want. I would suggest that you start by getting that first. I would suspect JavaMail doesn't support it.
    Once you have a standard to follow you have the following choices..
    - Modify JavaMail directly to support this (this then becomes a non-distributable solution.)
    - Extend JavaMail do support this. This might or might not be possible.
    - Write your own implementation (don't use JavaMail.)
    - Find another solution from another source that already implements this.

  • How to use parameter file with java

    Is it possible to use a parameter file with Java, and is there any class/method to make it easy to call and use these parameter from a text file, other than scanning the whole text file manually as we can do normally with visual basic/c++, so we can call the program with the parameter file, like java testing c:\\testing.ini

    If I understand you correctly, you may be looking for a properties file. This is basically a text file that contains pairs of strings in the form:
    parameter1=value1
    parameter2=value2
    parameter3=value3
    ...etc.
    and the values are retrieved using the java.util.Properties class - see:
    http://java.sun.com/j2se/1.3/docs/api/java/util/Properties.html
    Sample use://Call chis method once, to load the props file.
    //props file is called "demo.properties", and is
    //in a directory that is included in the classpath
        private void loadMyProperties() throws Exception
         InputStream stream = getResourceAsStream("/demo.properties");
         if(stream == null)
             throw new Exception("stream is null!");
         demoProperties = new Properties();
         demoProperties.load(stream);
         stream.close();
    // Then you can retrieve properties in your code using:
    String param3 = demoProperties.getProperty("parameter3");
    //...etc

Maybe you are looking for