1.6

Table Of Contents
fileOut.newLine();
}
fileIn.close();
fileOut.close();
deleteFile(data.filename);
tmp.move(data.filename);
Please note that the temporary file must be closed at the end of the program.
Methods
connect()
Method that returns a new database connection object
connect(url, user, password)
Returns a new database connection object after connecting to the url and authenticating the
connection with the provided user and password information.
url
String that represents the url to connect to.
user
String that represents the user name for the authentication.
password
String that represents the password for the authentication.
Examples
createRegion()
This method sets the physical coordinates of the region object. The region is available when
setting document boundaries using a script (see "region Object" on page231).
createRegion(x1, y1, x2, y2)
Creates a region from the data, using the specified left (x1), top (y1), right (x2) and bottom (y2)
parameters, expressed in characters for a text file or in millimeters for a PDF file.
Page 242