문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top