You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Java NIO API provides useful standard open options[1] for file operations. At the moment Ringo only supports READ, WRITE, APPEND. Ringo could also provide shortcuts / options for CREATE, CREATE_NEW, DELETE_ON_CLOSE, SPARSE, TRUNCATE_EXISTING.
Would be nice, but if it isn't supported in common js, we should provide it
in some other way. On the other side: if it doesn't brake the standard,
why not...
Am 21.10.2015 5:14 nachm. schrieb "Philipp Naderer" < [email protected]>:
The Java NIO API provides useful standard open options[1] for file
operations. At the moment Ringo only supports READ, WRITE, APPEND. Ringo
could also provide shortcuts / options for CREATE, CREATE_NEW,
DELETE_ON_CLOSE, SPARSE, TRUNCATE_EXISTING.
Then it will be a useful addition. We should give a hint in the
documentation that these aren't standard, tough.
Am 21.10.2015 8:15 nachm. schrieb "Robert Gaggl" [email protected]:
[image: 👍] these would be just additional options, so i don't see any
harm offering them.
—
Reply to this email directly or view it on GitHub #306 (comment).
The Java NIO API provides useful standard open options[1] for file operations. At the moment Ringo only supports
READ, WRITE, APPEND
. Ringo could also provide shortcuts / options forCREATE, CREATE_NEW, DELETE_ON_CLOSE, SPARSE, TRUNCATE_EXISTING
.[1] http://docs.oracle.com/javase/7/docs/api/java/nio/file/StandardOpenOption.html
The text was updated successfully, but these errors were encountered: