I am trying out some java apis on .graffle files. To be specific File.isDirectory().
For a .graffle file with no images but only a canvas ,the api returns false,which means it is treated as a file. Also on the mac file system it is not displayed as a package.
For a .graffle file with images , the api returns true, which means it is treated as a folder. Also on the mac file system it is displayed as a package.
This is causing few issues for my application. Why are all .graffle files not treated as a package?
Can the behaviour be made consistent?