Need a diff algoritth or tool wrii\tten in java

Hi All,
I need to display two text documents with their differences highlighted. Is there a Java open source package that can do this? Or is there any Java API that can be used for this purpose. I want to display graphically( like a xml diff tool) the differences.
Please help.
Regards,
Dhanu
.

i need a open source implementaion or some api written in java so that i can integrate in my product. Given two files the utility should compare 2 files(any format) and return me the differences. I have googled a lot but was not able to find any in java. Is it that java is not that preferred for file operations when compared to c/c++?
-Dhanu

Similar Messages

  • I need to know the right tools and java technology

    Please help,I need to know the right tools and java technology to support what I need.
    I had background programming in Assembly,C++,Visual Basic,SAP/ABAP 4.
    All I can say, programming is about logic, now we are very helped building program using objects.
    I'm very interest to SAP tech, where all screens, programs, reports are resides on tables, this is the real dynamic!
    CUrrently I'm eager to do the same technic with java. I'm new to java....
    What I know the J2EE is the core for me to start is it right? I was very interest with the Client-Server Tech. How can I impelemet this with Java?
    I'm a bit confuse with so many java solutions. There is Java Applets, Swing, Java AWT, JavaBeans, etc...
    I don't know what is the best if I want my Presentation/Client Application will run within browser (not standard html, using like windows gui). What should I do to make business logic objects, how to invoke it within the gui. how to make installation package whenever clients connect to the http server.
    if you have a pointer to do it please let me know.... I'm very appreciate all your response...
    Best regards,
    Lucky Pangemanan

    I'd say - don't get carried away with the heavyweight frameworks. Don't use EJB if Hibernate and/or Tomcat will do the job. There's a danger of winding up using a bulldozer to crack a wallnut.
    What people mean by "J2EE" varies a fair bit.
    Start with Tomcat, which has the virtue of being free. Try some JSPs and servlets.
    Use Applets to do client side presentation only if you must; Applets create an installation overhead on end-users, and some of them can't cope, while others may not have the necessary installation permissions on their office machines. They are pretty rarely needed, IMNSHO, most client-side behaviour is better handled with html and JavaScript.

  • IWeb is not working for sending podcasts to iTunes, so I need a new web building tool. What is the closest thing to iWeb that I can use, which also supports podcasts?

    iWeb is not working for sending podcasts to iTunes, so I need a new web building tool. What is the closest thing to iWeb that I can use, which also supports podcasts?

    There's no reason you can't go on using iWeb for this - with iWeb '08 you have to publish to a local folder (i.e. on your Mac) and then upload the contents of the folder (not the folder itself) to your hosting service: and you have to make sure you enter the new URL in the Publish information or the feed won't work properly; this done, an iWeb podcast should work fine.
    Of course there is still the problem that iWeb is not supported and sooner or later a system upgrade may break it. You could look at RapidWeaver: you can make podcasts with that, though the last time I looked into that - which was admittedly some time back - I didn't feel it was ideal for this. There are lots of other podcast creation programs or services around. WordPress is OK but it may be a bit of a steep learning curve: Libsyn is an online service that seems to work reliably. Blogger writes messy feeds but does usually work. Podcast Maker used to work well - I used it myself a few years back - but it rather looks as if it's gone moribund and it may not be reliable with Lion/Mountain Lion, so you would want to check into that.

  • Avoiding the need to reselect the editing tools (underline, highlight, strikethrough) in acrobat x

    i have long wished to find a way to avoid the need to reselect the editing tools (underline, highlight, strikethrough) in acrobat x. this was the case in version 8, it meant that you could make multiple underlines etc in a document without returning to the toolbar each time to select the tool.
    any thoughts would be greatly appreciated
    thanks
    elias

    Bring up the Properties toolbar (Command+E) and select the tool you want. You should see a "Keep tool selected" check box.

  • What features do you need in a LabVIEW build tool?

    When developing LabVIEW applications, libraries, and components often ones needs many more features than the Application Builder provides. For example:
    * excluding certain directories from the build
    * defining custom destinations for specific source directories
    * optionally convert destination folders to LLBs (or EXEs)
    * adding a Namespace suffix so that all VIs in the built application have globally unique names.
    I have created a tool called the Development Environment Application Builder that addresses many of these problems. I am looking for feedback and suggestions from other LabVIEW developers. I want to
    know what features you need in a LabVIEW build tool.
    I have started a discussion for this topic here.
    You can get more info and download this project here.

    All you can do is turn off the phone.  SMS text messages are sent on the same network as voice calls - there is no way around that.  You cannot change how they are routed.
    iMessgae, will use a wifi connection, when available, but otherwise your text messages will be sent and received over the cellular network.

  • Diff and Merge tools

    Anyone care to recommend a free diff and merge tool?
    I dl-ed compareandmerge which works nice, but is a limited trial.
    I know there are a ton of diff tools out there but if anyone thinks theirs is particularly good, I'd appreciate hearing about it.
    TIA.

    I like ExamDiff for Windows. It was free last time I downloaded it, but I haven't looked in a while.
    I don't know of any good merge tools, streamy. I'll have to crib what comes back from others.
    %

  • Need Help with the Clone Tool

    I need help with the clone tool, in that when I clone (let's say grass as example),  the new cloned area does NOT come out as sharp as the area selected.  It comes out much softer and somewhat blurred.  I have the opacity and flow both set at 100%.  This is very frustrating since I can not get a true clone.

    what "tip" do you have selected? where are you sampling from ( found in top option bar) ALSO make sure MODE is normal
    http://helpx.adobe.com/photoshop/using/retouching-repairing-images.html
    -janelle

  • Need help using the selection tool

    Hi all,
    I have some strange (to me) occurrences while using the 'quick selection tool'...
    Explanation
    I'm using PS Elements 11 on a Win 7 (64) PC.
    What I want to do is to create a new pic from an existing pic.  The existing pic's background is unsuitable for what I want.  But the FG is what I need.  I thought that selecting the FG object and placing into a new pic would be what I needed using the <quick selection tool>.
    To do this, I am trying to use the <quick selection tool>.  I've had varying degrees of success using it.  One main thing I don't understand & pretty much renders my project useless & undoable, is the fact that whenever I use <refine edge> so that I can refine my edge selection, my pic is immediately lost or taken away.  Since I have no idea as to what's happening, I am forced to close the pic (W/O saving changes, of course) & then re-opening the pic.  All's well until I click the <refine edge> button again, then, my pic disappears AGAIN! 
    My guess is that maybe the pic is somehow transformed to a layer or something.  But, how can I turn this behavior off and not make my pic disappear?? 
    There are a few more details about this <selection tool> that I'm muddy on.  Is there something where I can read more about its use?  I would love to know more, but how?  Where?
    I've now read the online manual part about selection tools.  Although it shed some light, I'm still needing more.
    I am not a constant user of PSE, rather,  I only use it on occasions.  Normally, I use its scanning features.  I may play around with a few other features, but I also know that PSE offers many other powerful features, I rarely, if ever, use.

    This is the Photoshop forum.  You want the Photoshop Elements forum:
    Photoshop Elements

  • Need clarification using the selection tool

    Hi all,
    I have some strange (to me) occurrences while using the 'selection tool'...
    Explanation:
    I'm using PSE11 on a Win 7 (64) PC.
    What I want to do is to create a new pic from an existing pic.  The existing pic's background is unsuitable for what I want.  But the FG is what I need.  I thought that selecting the FG object and placing it into a new pic would be what I needed using the <quick selection tool>.
    To do this, I am trying to use the <quick selection tool>.  I've had varying degrees of success using it.  One main thing I don't understand & pretty much renders my task useless, is the fact that whenever I use <refine edge> so that I can refine my edge selection, my pic is immediately lost or taken away.  Since I have no idea as to what's happening, I am forced to close the pic (W/O saving changes, of course) & then re-opening the pic.  All's well until I use the <refine edge> button again, then, my pic disappears AGAIN!
    There are a few more details about this <selection tool> that I'm muddy on.  Is there something where I can read more about its use?  I would love to know more, but how?  Where?
    I am not a constant user of PSE, rather,  I only use it on occasions.  Normally, I use its scanning features.  I may play around with a few other features, but I also know that PSE offers many other powerful features, I rarely, if ever, use.

    There are many selection tool and way to extract a subject.  There are more way in Photoshop then in Photoshop Elements you should ask over in the Elements forum to get answers suitable for elements users.  You may get answers here that are not possible to use in Elements. Photoshop Elements

  • I need  Web based Dynamic Reporting tools

    Hi,
    I need a Web based Dynamic Reporting tool.
    I have to user oracle products and this reporting tools must support OLAP and Data Warehousing.
    thanks,

    Hi Shima,
    Let me quote from Oracle Reports website:
    "Oracle Reports is Oracle's award-winning, high-fidelity enterprise reporting tool. It enables businesses to give immediate access to information to all levels within and outside of the organization in an unrivaled scalable and secure environment. Oracle Reports consists of Oracle Reports Developer (a component of the Oracle Developer Suite) and OracleAS Reports Services (a component of the Oracle Application Server)."
    Since you need a web-based reporting tool, this is what is available with Oracle Reports:- you cannot design reports on the web, but you can use Oracle Reports Developer to design high quality reports that are suitable for viewing on the web.
    Oracle Reports support OLAP as a data source.
    From your requirements, it seems that it might be worthwhile for you to check out Oracle Discoverer which is again a powerful reporting and analysis tool. Oracle Discoverer is more suitable for ad-hoc reporting and web-based analysis of data by the end-users:
    http://www.oracle.com/technology/products/discoverer/index.html
    Navneet.

  • Need help with log4j logging tool (org.apache.log4j.*) to log into database

    Hi,
    I need help with log4j logging tool (org.apache.log4j.*) to log into database using JDBCAppender. Have look at my logger code and corresponding log4j.properties file stated below. I'm running this program using Eclipse IDE and it's giving me the following error (highlighted in red) at the end:
    log4j: Parsing for [root] with value=[debug, stdout, Roll, CRSDBAPPENDER].
    log4j: Level token is [debug].
    log4j: Category root set to DEBUG
    log4j: Parsing appender named "stdout".
    log4j: Parsing layout options for "stdout".
    log4j: Setting property [conversionPattern] to [%x %d{HH:mm:ss,SSS} %5p [%t] (%c:%-4L %M) - %m%n].
    log4j: End of parsing for "stdout".
    log4j: Parsed "stdout" options.
    log4j: Parsing appender named "Roll".
    log4j: Parsing layout options for "Roll".
    log4j: Setting property [conversionPattern] to [%x %d{yyyy.MM.dd HH:mm:ss,SSS} %5p [%t] (%c:%-4L %M) - %m%n].
    log4j: End of parsing for "Roll".
    log4j: Setting property [file] to [HelloWorld.log].
    log4j: Setting property [maxBackupIndex] to [10].
    log4j: Setting property [maxFileSize] to [20KB].
    log4j: setFile called: HelloWorld.log, true
    log4j: setFile ended
    log4j: Parsed "Roll" options.
    log4j: Parsing appender named "CRSDBAPPENDER".
    {color:#ff0000}
    Can't find class HelloWorld{color}
    import org.apache.log4j.*;
    public class HelloWorld {
    static Logger log = Logger.getLogger(HelloWorld.class.getName());
    public static void main(String[] args) {
    try{
    // Now, try a few logging methods
    MDC.put("myComputerName", "Ravinder");
    MDC.put("crsServerName", "ARNDEV01");
    log.debug("Start of main()");
    log.info("Just testing a log message with priority set to INFO");
    log.warn("Just testing a log message with priority set to WARN");
    log.error("Just testing a log message with priority set to ERROR");
    log.fatal("Just testing a log message with priority set to FATAL");
    catch(Exception e){
    e.printStackTrace();
    ------------------------- log4j.properties file ------------------------------
    #### Use three appenders - log to console, file and database
    log4j.rootCategory=debug, stdout, Roll, CRSDBAPPENDER
    log4j.debug=true
    # Print only messages of priority WARN or higher for your category
    # log4j.category.your.category.name=WARN
    # Specifically inherit the priority level
    # log4j.category.your.category.name=INHERITED
    #### stdout - First appender writes to console
    log4j.appender.stdout=org.apache.log4j.ConsoleAppender
    log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
    log4j.appender.stdout.layout.ConversionPattern=%x %d{HH:mm:ss,SSS} %5p [%t] (%c:%-4L %M) - %m%n
    #### Roll - Second appender writes to a file
    log4j.appender.Roll=org.apache.log4j.RollingFileAppender
    ##log4j.appender.Roll.File=${InstanceName}.log
    log4j.appender.Roll.File=HelloWorld.log
    log4j.appender.Roll.MaxFileSize=20KB
    log4j.appender.Roll.MaxBackupIndex=10
    log4j.appender.Roll.layout=org.apache.log4j.PatternLayout
    log4j.appender.Roll.layout.ConversionPattern=%x %d{yyyy.MM.dd HH:mm:ss,SSS} %5p [%t] (%c:%-4L %M) - %m%n
    #### CRSDBAPPENDER - third appender writes to the database
    log4j.appender.CRSDBAPPENDER=org.apache.log4j.jdbc.JDBCAppender
    log4j.appender.CRSDBAPPENDER.Driver=net.sourceforge.jtds.jdbc.Driver
    log4j.appender.CRSDBAPPENDER.URL=jdbc:jtds:sqlserver:/arncorp15:1433;DatabaseName=LOG
    log4j.appender.CRSDBAPPENDER.USER=sa
    log4j.appender.CRSDBAPPENDER.PASSWORD=p8ss3doff
    log4j.appender.CRSDBAPPENDER.layout=org.apache.log4j.PatternLayout
    log4j.appender.CRSDBAPPENDER.sql=INSERT INTO LOG (computername, crsservername, logtime, loglevel, threadname, filename, linenumber, logtext) VALUES ('%X{myComputerName}', '%X{crsServerName}', '%d{dd MMM yyyy HH:mm:ss,SSS}', '%p', '%t', '%F', '%L', '%m')
    #log4j.appender.CRSDBAPPENDER.sql=INSERT INTO LOG(COMPUTERNAME,CRSSERVERNAME,LOGTIME,LOGLEVEL,THREADNAME,FILENAME,LINENUMBER,LOGTEXT) select host_name(),'${CRSServerName}${InstanceName}','%d','%5p','%t','%F','%L','%m%n'
    #log4j.appender.CRSDBAPPENDER.sql=INSERT INTO LOG (computername, crsservername, logtime, loglevel, threadname, filename, linenumber, logtext) VALUES ("%X{myComputerName}", "%X{crsServerName}", "%d{dd MMM yyyy HH:mm:ss,SSS}", "%p", "%t", "%F", "%L", "%m")
    ------------------------------- end of log4j.properties file ------------------------------
    Here is the directory structure of my program. My log4j.properties file and HelloWorld.class file are residing in folder HelloWorld\bin.
    HelloWorld\bin
    HelloWorld\lib
    HelloWorld\src
    Please note - The same program works fine for console and file appender when I comment the database appender part in my properties file.
    Thanks
    Ravinder

    try this :
    log4j.appender.PROJECT.Append=false

  • Update: Found Waveburner, 10 minutes later, created 4 song CD as wanted (with timed pauses inserted, normalized, as needed, etc).  A cool tool. Who do I thank?  Thank all of you.  Sorry if I failed to award "points" properly.  You know who you are!

    Update: Found Waveburner (had to download Logic... again), 10 minutes later, created 4 song CD as wanted (with timed pauses inserted, normalized, as needed, etc). 
    A cool tool.
    Who do I thank? 
    Thanks to all of you. 
    Sorry if I failed to award "points" properly. 
    You know who you are!
    I'll be better next time.  I won't use space for messages like this (only questions).

    I have a few co-writes I get mailbox money for (enough $ to remind me that I am a "song" writer). 
    I am a visual artist for the most part. 
    What I am working on musically, primarily, are longer-playing instrumental pieces. Today I'm working on mix of one for my new website (it will accompany a video that was shot and edited by an award-winner...).  So music will play when my art video is playing.
    Some of my paintings (cropped)  can be seen on my user profile. The art will give you an idea as to the music, perhaps?
    I am looking forward to using Logic for adding my music to films of my visual art I shoot, but that is another day.  (Hopefully any software I need will be easily found, then!)
    Can I hear your music online?

  • Hi I just changed from cs3 to photoshop cc and cant locate the tools bar usually at the top? Need to use the ruler tool?

    Hi I just changed from cs3 to photoshop cc and cant locate the tools bar usually at the top? Need to use the ruler tool?

    What operating system are you using?
    You don't see the tool options bar  (Window>Options) or your looking for the Analysis Menu which is now under Image>Analysis?
    You can also get select the ruler tool from the toolbox

  • Do I need to pay anything to Adobe if I inject java script using some open source library?

    Hello,
    I want to restrict PDF reader to achieve Digital Rights Management (DRM).
    Do I need to pay anything to Adobe if I inject java script to achieve so using some open source library?
    Basically I want my PDF documents to be restricted such that I can: 
    Limit printing
    Prevent screenshots
    Restrict access by license expiry date
    Restrict distribution of downloaded PDF (i.e. the document should run on specific machine only)
    Restrict copy and paste within PDF document
    I came across below links from which I suspect Adobe expects one to pay if he/she attempts to restrict reader functionality in some way?
    http://www.adobe.com/devnet/reader/topic_drm.html
    http://www.adobe.com/devnet/acrobat/overview.html
    Am I correct in my assumption?

    I think it is a vain hope to imagine you could implement DRM via JavaScript. Remember it can be turned off.
    Printing is either enabled or disabled according to document security.
    Working with PDFs does not require permission from Adobe but
    * adding functionality to Adobe Reader definitely does; a DRM development license is a major investment.
    * if the file is Reader-enabled, all third party tools will disable that.

  • Third Party tool for sap neteraver Java/EP administration

    Hi Experts,
    Do we have any third Party tool for SAP Neteweave -java or Portal administration like Wily?
    I am looking any tool that can generate graphical reports for System health cheack and all like Wily Interscope.
    Thanks
    Narpal

    Hi,
    I hope links like this are allowed with the new SDN rules. We use something called [Click Stream|http://www.sweetlets.com/click_stream.html].
    Quite nifty little tool and not even expensive.
    Regards,
    Andi

Maybe you are looking for

  • Any ideas on problem with ipod and alpine cde-9881 car stereo

    I have an ipod 60gb v 1.2.1 and a new Alpine car stereo with Ipod connecting cable. When connected, the stereo message reads IPod searching. It never assumes control of ipod,or quits searching. I have reset and restored my ipod, had the apple geek at

  • How do I uninstall iBooks from my MacBook Pro?

    how do I uninstall iBooks from my MacBook Pro if a message pops up saying: "iBooks app cannot be modified or deleted because its requires by OS X"???

  • Can't Create Form From Existing PDF

    I received a PDF from a woman, it is a form that I can print out and snail mail. I decided to convert it to a PDF fillable form as it would be faster and cleaner to fill out...I can't. I am getting the following error and it's not just her PDF, I get

  • Playlist folders aren't showing.  Match issue.

    Hi all, I use iTunes Match which has usually worked pretty well.  I recently started sorting my playlists into folders, since I have about 30 playlists and would like to keep them somewhat organized. However I can't see any of my playlists on my iPad

  • Need to put old version CS4 on new laptop without CD drive

    I have the CS4 and I need to download onto new laptop without a CD drive.  Any advice? I tried to migrate the software but it will not open.  I got an error message and Adobe chat was not able to help.