I already blogged about the problems I encounter when programming for the Android plateform.
Well, my list gets is little bigger now!
Lire la suite
I already blogged about the problems I encounter when programming for the Android plateform.
Well, my list gets is little bigger now!
Lire la suite
I have never used the Process class before and I’m baffled by the getters of the Process class:
How confusing is that?
My idea of having a module to generate a Maven site with the markdown syntax raised some interest — I received a couple of emails since then.
Tonight, I have made a quick and dirty Doxia module based on the MarkdownJ library.
I’ll try to publish it tomorrow. At least, I should bring the doxia-module-markdown project page back.
Edit: I don’t maintain this project any more. The good news is that there is a fork on github.
Petite solution rapide à une problématique simple.
On reçoit une date sous la forme « 2008_1″ (c’est issu d’un nom de fichier), et on souhaite la formater dans un format plus agréable à lire, « janv. 2008″.
Pour cela, je propose d’utiliser un DateFormat, et le SimpleDateFormat fait parfaitement l’affaire, et ça ne fait que quelques lignes de code:
[code]
DateFormat parseDate=new SimpleDateFormat("y_M");
Date date=parseDate.parse(string);
DateFormat printDate=new SimpleDateFormat("MMM yyyy");
return printDate.format(date);
[/code]
Lire la suite
I love the Markdown syntax. I think it the most readable when in plain text, hence it is very easy to write as well, plus it has a large feature set. It can be used for writing blog posts, for instance.
I am looking forward to writing my documentation in Markdown in Java projects managed with Maven, instead of using APT.
Do you know any maven-markdown-plugin? If not, is the MarkdownJ implementation good (so that I can write the plugin myself)?