An API for reading and writing jnlp files