[Seaside] are there file extension treated specially by FileLibrary

Boris Popov, DeepCove Labs boris at deepcovelabs.com
Mon Apr 30 13:30:47 UTC 2012


WAFileLibrary class>>isBinaryAt:
WAFileLibrary class>>isBinary:
WAFileLibrary class>>isBinaryMimeType:

HTH,

-Boris


-----Original Message-----
From: seaside-bounces at lists.squeakfoundation.org [mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf Of Johannes Brauer
Sent: Monday, April 30, 2012 9:28 AM
To: seaside at lists.squeakfoundation.org
Subject: [Seaside] are there file extension treated specially by FileLibrary

Hi,

uploading a simple text file I get a FileLibrary method like

helloTxt
    ^'hello'

If I rename the file from hello.txt to hello.dtd the method helloDtd looks:

helloDtd
        ^ #(104 101 108 108 111 13) asByteArray

I cannot find an explanation for that behaviour.

Johannes

________________________________


Staatlich anerkannte private Fachhochschule NORDAKADEMIE Gemeinnützige Aktiengesellschaft Köllner Chaussee 11
25337 Elmshorn

Vorstand:
Prof. Dr. Georg Plate (Vorsitzender), Dipl.-Ing. Jörg Meier (stellv. Vorstand)

Vorsitzender des Aufsichtsrats:
Dr. h.c. Hans-Heinrich Bruns

Sitz:
Elmshorn, Amtsgericht Elmshorn, HRB 1682



More information about the seaside mailing list