Archives du mot-clé : Java

fév
07

More design problems with the Android framework

mediaplayer state diagram

I already blogged about the problems I encounter when programming for the Android plateform. Well, my list gets is little bigger now!

Lien Permanent pour cet article : http://regis.decamps.info/blog/2012/02/more-design-problems-with-the-android-framework/

déc
06

The output stream is obtained with getInputStream()

I have never used the Process class before and I’m baffled by the getters of the Process class: getErrorStream() returns the process error output stream. That makes sense. getInputStream() returns the process standard output stream How confusing is that?

Lien Permanent pour cet article : http://regis.decamps.info/blog/2011/12/the-output-stream-is-obtained-with-getinputstream/

avr
08

Doxia module for Markdown syntax

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 …

Lire la Suite »

Lien Permanent pour cet article : http://regis.decamps.info/blog/2011/04/doxia-module-for-markdown-syntax/

déc
15

Comment parser et formater une date en Java

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 …

Lire la Suite »

Lien Permanent pour cet article : http://regis.decamps.info/blog/2008/12/comment-parser-et-formatter-une-date-en-java/

nov
30

Markdown syntax in Maven projects?

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 …

Lire la Suite »

Lien Permanent pour cet article : http://regis.decamps.info/blog/2008/11/markdown-syntax-in-maven-projects/

Articles plus anciens «

Switch to our mobile site