Tagged: java Toggle Comment Threads | Keyboard Shortcuts

  • linasj 10:11 am on April 22, 2017 Permalink | Reply
    Tags: google calendar, ical, ical4j, java, outlook   

    Today I have built a tool that cleans up the calendar (ICS file) exported from Outlook 2010 to be suitable for import to Google Calendar
    https://github.com/bro1/outlook-ics-4-google

    It looks to me that:

    • when a recurring Outlook event instance is updated, Outlook generates 2 event entries with the same UID – one for the recurring original and another for the changed instance details. This second entry only contains the details which are different from the recurring event.
    • when importing this file into Google calendar – it imports only the modified instance details – thus often resulting in import of blank entries.

    The tool:

    • looks at the recurring event
    • copies the missing details from recurring event into a modified instance
    • removes the recurring event from the ics file

    Using library https://github.com/ical4j/ical4j

    Advertisements
     
  • linasj 7:09 am on February 25, 2016 Permalink | Reply
    Tags: data-visualisation, java   

    JUNG — the Java Universal Network/Graph Framework–is a software library that provides a common and extendible language for the modeling, analysis, and visualization of data that can be represented as a graph or network. Its basis in Java allows JUNG-based applications to make use of the extensive built-in capabilities of the Java API, as well as those of other existing third-party Java libraries.

    https://github.com/jrtom/jung

     
  • linasj 7:08 am on October 15, 2015 Permalink | Reply
    Tags: java   

    Great tool when you want to figure out the dependencies between Java classes: http://www.dependency-analyzer.org/

    I am attempting to use it to clean up a very big code base.

     
  • linasj 8:37 am on May 7, 2015 Permalink | Reply
    Tags: java, spring   

    I am learning sprim-mvc and spring-security. These things helped me to figure out how to setup spring security against an existing DB table that does not match Spring security default DB schema.

    http://www.baeldung.com/spring-security-authentication-provider
    http://docs.spring.io/autorepo/docs/spring-security/4.0.1.RELEASE/reference/htmlsingle/

     
  • linasj 3:12 am on April 12, 2015 Permalink | Reply
    Tags: java, jsp   

    Resolving Eclipse error

    http://agung-setiawan.com/eclipse-error-the-superclass-javax-servlet-http-httpservlet-was-not-found-on-the-java-build-path/

     
  • linasj 10:52 am on January 16, 2015 Permalink | Reply
    Tags: java   

    Tried out IntelliJIDEA for the first time. Nice – but don’t feel the need to abandon Eclipse.

     
  • linasj 10:53 am on September 23, 2014 Permalink | Reply
    Tags: java, podcast   

    I used to listen top Java Posse podcast on a regular basis. Now the podcast is sort of dead.

    Here are a few suggestions that have been mentioned by other Java Posse listeners:
    http://chariotsolutions.com/podcasts/show/techcast/ – News
    http://www.javapubhouse.com/ – going into a single detail. Great as educational material.

    http://dotnetrocks.com (.net however, they talk about a lot more than just .net, upbeat and lighthearted)
    http://hanselminutes.com (only started since http://thisdeveloperslife.com stopped putting out regular content, not this developers life is more interviews and stories than news)
    http://thechangelog.com/podcast/ – Open source news/interviews with the latest open source type stuff
    http://www.illegalargument.com/

     
    • linasj 10:55 am on September 23, 2014 Permalink | Reply

      I have not yet listened to all of these myself.

  • linasj 2:13 am on April 22, 2013 Permalink | Reply
    Tags: java   

    Writing meta data to the jpeg files with Apache commons-imaging:

    https://svn.apache.org/repos/asf/commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/examples/WriteExifMetadataExample.java

    Very useful example!

     
  • linasj 4:45 am on October 31, 2012 Permalink | Reply
    Tags: java   

    http://poi.apache.org/spreadsheet/quick-guide.html – an awesome resource for people who need to create/read Excel spreadsheets in Java. Every API should have a document outlining a list of common tasks and how to achieve those tasks using the API.

     
  • linasj 4:53 pm on September 3, 2012 Permalink | Reply
    Tags: java, ,   

    NetBeans 7.2 and Maven based JavaFX2.2 based project 

    Oracle has not yet made it easy for developers to build javafx apps using Maven.

    Here are my steps on Ubuntu Linux 12.04 64bit:

    1. install the latest JDK (64bit) – since java 7 update 6 this includes Java FX 2.2

    2. In order for your programs to compile add the following dependency to your pom.xml file (updaing the path as required):

    <dependency>
    <groupId>com.oracle</groupId>
    <artifactId>javafx</artifactId>
    <version>2.2</version>
    <scope>system</scope>
    <systemPath>/home/someuser/apps/jdk1.7.0_07/jre/lib/jfxrt.jar</systemPath>
    </dependency>

    3. In order for your programs to run make sure that you have jxfrt.jar in your /jre/lib/ext directory. I have done this by creating a symbolic link for the jar file in jre/lib directory to jre/lib/ext:
    > cd /home/somuser/apps/jdk1.7.0_07/jre/lib/ext
    > ln -s /home/someuser/apps/jdk1.7.0_07/jre/lib/jfxrt.jar .

    4. to make sure that the JDK where you have copied/symlinked the JafaFX jar is used as default Java Platform in NetBeans you might need to modify the file /home/someuser/apps/netbeans-7.2/etc/netbeans.conf
    Just update the variable netbeans_jdkhome to point to the JDK that you want to use:
    netbeans_jdkhome=”/home/somuser/apps/jdk1.7.0_07″

     
    • Lorenzo 3:11 am on September 22, 2012 Permalink | Reply

      In Windows what could be a solution?

c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel