Java Desktop System Release 3 Administration Guide

Attributes in Match Elements

Table 5–2 describes the attributes in a match element.

Table 5–2 Attributes in match Elements

Attribute 

Description 

offset

Specifies characters to ignore in the file before searching for a pattern. You can specify an integer value. This specifies the number of characters to ignore in the file before searching for a pattern.  

Alternatively, you can specify a range of characters to search. For example, if you specify offset=”1:10”, only the first ten characters are searched.

type

Specifies the type of pattern to search for. You can use the following types for this attribute: 

  • big16

  • big32

  • byte

  • host16

  • host32

  • little16

  • little32

  • string

value

Specifies the pattern to search for.  

mask

Specifies a pattern mask. A pattern mask identifies bits in the pattern to ignore when searching for a pattern in a file.

Masks for strings must be in hexadecimal format, and begin with 0x.

This attribute is optional. This attribute is not present in the example.