Pergunta

What is the best way to transfer images between netbeans platform modules? I thought about BufferedImage, or InputStream or as byte[]??
Now is the page on the disk and I use the File object to get the image, but i feel that this is not the right way. In the future, there is a possibility that the image will be transfered to some server. The image will be used to create the ocr in another module or on the server.

Foi útil?

Solução

The standard for loosely couple communication in the NetBeans platform is the lookup. An option would be to pass around FileObjects referring to the images.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top