On Mon, 18 Feb 2002, Angus Leeming wrote: > > this should be much more easier: > > > > instead of "user", I will return the file-extension, if present. > > Only when we can not detect a file type from the contents and > > have no extension than I return "user" > > Also, if you can't determine the format name from either > getFORMATfromContents or from the list of currently available formats and > their extensions, then you're screwed anyway. Best to just return string() > and enable the rest of the code to say "No format defined!"
no, than I have no way to handle this. A return type "user" includes the possibilty to handle it by the user. Herbert