Re: Trash Can and Sun



Kenneth P. Turvey wrote:
On Fri, 30 May 2008 14:22:21 +0100, Tom Anderson wrote:
Maybe. If the semantics of Desktop.moveToTrash(File) are that it moves
something to the trash, then is a permanent delete a good fallback? If i
let a user put things in the trash, but actually delete them, then later
he finds out his files are gone forever, am i not guilty of misleading
him?

An exception might be best I suppose.

Actually maybe not. 99.9% of the time the exception will be handled by deleting the file.

But the 0.1% would be unhappy.

Arne
.



Relevant Pages

  • Re: Trash Can and Sun
    ... can |> when deleting a file? ... What do you mean by "system trash can"? ... If the semantics of Desktop.moveToTrashare that it moves something to the trash, then is a permanent delete a good fallback? ... I'm still annoyed that British versions of MacOS never localised the Trash to a Waste Paper Basket ... ...
    (comp.lang.java.programmer)
  • Re: Trash Can and Sun
    ... then is a permanent delete a good fallback? ... let a user put things in the trash, but actually delete them, then later ... An exception might be best I suppose. ...
    (comp.lang.java.programmer)
  • Re: Trash Can and Sun
    ... then is a permanent delete a good fallback? ... let a user put things in the trash, but actually delete them, then later ... An exception might be best I suppose. ...
    (comp.lang.java.programmer)
  • Re: What is going on here?
    ... drop kick me to your *permanent* trash can ... Sounds painful. ...
    (rec.arts.tv)