
R-Studio Manual47
© 2002...2013 R-Tools Technology Inc.
> The newly specified file type will appear on the Edit User's File Types dialog box and the File Types
dialog box
Edit User's File Types dialog box
2.2.3 Customizing File Types-I
The syntax of signature description is similar to that of the XML language. They are stored in the file specified on
the R-Studio Main settings dialog box.
More advanced features are described in Customizing File Types-II.
Signature file example
<?xml version="1.0" encoding="utf-8"?>
<FileTypeList>
<FileType id="2" group="archive" description="ARJ Archive" extension="arj">
<Signature offset="3" count="1">Abc\x5c\x00\x04</Signature>
<Signature offset="9" count="2">\x23\x01\xf4</Signature>
</FileType>
</FileTypeList>
File structure
File header
The file starts with a standard XML header
<?xml version="1.0" encoding="utf-8"?>
Section FileTypeList
<FileTypeList>
It requires a closing element </FileTypeList>.
Section FileType
This is a description of each file signature.
Attributes:
Digital file type identifier.
Kommentare zu diesen Handbüchern