Stacks Image 1745
Latest Tools Plug-in release available 3.5.251 04/02/2012

Ajax Loader Gif

 The Tools Plug-in is the very first (ever) developed Plug-in for Servoy and is distributed as 'Freeware', packed with over 60 functions:

Files
  • zip - zip a (single) file and/or a folder.
  • unzip - unzip a file, a group of files and folders.
Calculation
  • getMaxDay - returns the last day of the given month
  • dateDifference - calculate the difference between two days in milliseconds, seconds, minutes, hours or days
Formatting and strings
  • dateFormat - convert a date to a string and the other way around with (or without) a formatting string
  • numberFormat - format the (localized) number to the formatString
  • secondsFormat - to make a number of seconds a string and the other way around. formatting like HH:mm:ss
  • mirror - reverse a string 'mirrorString' into 'gnirtSrorrim'
  • trim, lTrim, rTrim - remove all, leading or trailing spaces from the string
Validation
  • isEmail - takes a string with one or more email addresses and checks if the format is correct
  • isExpired - takes a year, month and (optional) day and returns a Boolean when expired
  • isInteger - returns a Boolean value, checks a string
  • isInRange - takes dates, numbers, integers and strings and returns a Boolean
  • isModulus10 - takes a string, filters all numbers and tells you the result of a modulus10 check
  • isNumber - returns a Boolean value after checking a string
  • isTextOnly - takes a string and returns false if it finds numbers
  • isServoyClient - returns true when you are running a client.
User interface
  • setSolution - change the title of the solution window
  • setSolutionIcon - change the icon of the solution window
  • getScreenX(element) and getScreenY(element) - get the x and y coordinates of an element relative to the upper left corner (0,0) of the screen.
User system
  • getPrinters - retrieve an Array with all available printers on the clients computer
  • defaultPrinter - get and set the default printer on the clients computer
Client and Server
  • Makes 17 system environment properties available from the server and the running client. Among which:
  • IP address
  • MAC address - Array of MAC addresses
  • Hostname and Username
  • Directories - User dir, User home and Temporary dir
  • Operating system properties - name, version etc.
  • Seperators - path and file
  • Java properties - vendor, vendor url, version
  • When you need a toolbox with additional methods.
  • When you want to validate email.
  • When you want to read- and write a file to and from the server.
  • When you want to zip and unzip from your solution.
  • When you want much, much more.
Every Developer will see that life is a little easier with the Tools Plug-in.
Smart client Web client Headless client
4+ 1.5 + 1 1
5+ 1.5 + 1 1
6+ 1.5 + 1 1
1 Some Client and System methods may not work because they need a local installation.

These video's will give you an introduction and simple instructions of how you can start using the Component.

Please do not forget to import the sample solution. You can find the sample solution in servoy_root/solutions/it2be-examples.

The Tools Plug-in and the source code are distributed under the terms of the FreeBSD license.

You can download the Plug-in with our Components Manager that is available here (please don't forget to download and read the manual).
You can download the source code on ServoyForge.

Please report issues, feature requests and possible fixes etc. on ServoyForge instead of using our Helpdesk.
Donate
When you want to support our efforts to make our Open Source Components for Servoy even better.
3.5-251 04/02/2012
[chg] signed using new certificate (expires May 13th 2015)

3.5-250 03/26/2012
[chg] using the server object is now restricted to users that are logged in
[chg] removed method ITServer.getApplicationServerDir()
[chg] removed method ITServer.getDeveloperDir()
[fix] zip method did not release entries making it impossible to delete file
[fix] ITClient.lineSeparator returned wrong value

3.5-249 02/09/2012
Plug-in and source are now available on ServoyForge under the FreeBSD license

[fix] ITClient.fileSeparator returned wrong value

3.5-248 02/03/2012
[chg] cleaned up the source
[chg] added updated sample solution

3.5-247 01/26/2012
[new] added getBuild() method
[new] added getBuildDate() method
[chg] improved deleting of original file after unzipping
[chg] removed dependency of common-core library
[chg] removed use of runtime license string
[chg] deprecated register() method
[chg] deprecated getLicense() method
[chg] deprecated getVersionLicensed() method
[chg] remote server service is now 'lazy loading'
[chg] a user has to be logged in now to use file system methods like deleteFilet(...), fileExists(...) etc.

3.4-246 11/02/2011
[fix] corrected JS Documentation issue with sortArray (when using 2nd or 3rd argument)

3.4-245 08/22/2011
[chg] prefixed all Plug-in objects with IT for JS Documentation in Servoy 6
[fix] corrected faulty returned property values for the server

3.4-244 08/09/2011
[chg] the return type for client and server is now the correct class instead of an Object class (support for Servoy 6)
[new] added createDirectory() in server object (please be aware that this can fail due to missing user rights)

3.4-242 03/15/2011
[fix] corrected issue with zip files from path including servoy application_server folder
[fix] corrected issue with unzip and delete where delete was not always honored

3.4-241 09/17/2010
[chg] changed libraries to support (backward) compatibility between (beta) releases

3.4-239 05/05/2010
[chg] made several changes to fix security issue with latest Java release

3.4-236 01/29/2010
[chg] improved Framework to work with external (gui and command-line) installer

3.4-234 08/17/2009
[fix] corrected issue with getMaxDay for february in a leap-year

3.4-233 07/28/2009
[chg] removed signature from core-common.jar to avoid security issues

3.4-232 03/16/2009
[chg] it is not longer necessary to register a developer license

3.4-231 01/19/2009
[chg] made some adjustments to core activation wizard

3.4-230 12/05/2008
[fix] unzip now creates the correct target file/folder
[fix] unzip when file/folder already exists now gives the target the correct number
[new] unzip of a Mac archive is now done without the "__MACOSX" folder

3.4-230 12/05/2008
[chg] added to improved framework

3.4-229 10/30/2008
[chg] getBytes now returns null when input value is null or empty
[chg] getByteLength now returns 0 when input value is null or empty
[chg] improved license feedback in log file
[fix] changed a couple of core functions

3.4-228 10/30/2008
[fix] preference panel 'Components' is now available again

3.4-227 10/21/2008
[new] added getBytes(value, [encoding]) to retrieve byte array of value String
[new] added getByteLength(value, [encoding]) to retrieve byte array length of value String

3.3-226 09/15/2008
[new] added developerDir property to Server Object
[new] added applicationServerDir property to Server Object

3.2-225 09/09/2008
[fix] corrected issue with Eclipse update manager

3.2-224 08/16/2008
[fix] corrected startup file for client loaded from application server

3.2-223 06/30/2008
[chg] method isServoyClient is now 100% reliable
[chg] redesigned for Servoy 4.0

3.1-222 05/16/2008
[chg] reverted outcome of dateDifference(...) to resemble behavior of build 116
[fix] corrected issue where getMaxDay always returned 31

3.1-221 05/08/2008
[fix] corrected issue introduced with 3.1-220 where a 'negative' difference in dateDifference(...) returned a 'positive' value

3.1-220 04/02/2008
[new] added directoryExists to server class
[fix] email validation now accepts 4 character extensions
[fix] corrected issue with returned number of days in dateDifference(...)

3.1-219 02/25/2008
[new] added IPAddress property to client class, returns array with all client IP addresses
[new] added IPAddress property to server class, returns array with all server IP addresses
[new] added method 'getVersionLicensed' to find out what version is licensed
[chg] reduced client download size for resources with overall savings up to 45%

3.0-218 11/08/2007
[fix] made fileExists(fileName) method visible

3.0-21 11/02/2007
[new] added fileExists(fileName) method to Server tree

3.0-216
[new] added createUUID() to create a random UUID string

2.9-215
[new] added getVersion() and getLicense() methods to retrieve component information
[chg] the Plug-in is now lazy loading (again)
[chg] separate license file is no longer needed

2.9-214
[fix] corrected an issue where getMaxDay() returned the month instead of the day

2.9-213
[chg] added the plug-in to the new Update manager
[new] added sample solution
[fix] cleaned and corrected some sample data

2.9-210
[new] added arrayIndexOf(Array, value) method

2.9-210
[fix] fixed a bug that prevented the unzip method to work correct on Windows
[new] added arrayContains(Array, value) method
[new] added sortArray(array) method

2.9-207
[fix] fixed a bug that prevented the zip method to work correct on Windows
[fix] fixed the isNumber(String) method

2.9-206
[fix] fixed a bug where the server method writeFile() wouldn't write the file when called from within a module
[fix] fixed a bug that prevented the server method writeFile() from writing a byte[]/binary file
[chg] updated samples for client and server methods

2.9.1
[fix] recovered getPrinters and defaultPrinter

2.9
[del] (re-)moved the barcode classes to the Barcode plug-in

2.8
[new] added getPrinters to retrieve an array with defined printers
[new] added defaultPrinter property to get and set the default printers

2.7.1
[fix] fixed issue with update checker on windows platform

2.7
[new] added getScreenX(element) and getScreenY(Element) to find the x and y coordinates of an element relative to the screen instead of the Servoy window

2.6
[new] lTrim, rTrim and Trim functions added
[new] readme window added to the Tools/Plug-ins/IT2Be readme's menu.
[enh] isEmail now removes spaces and optionally checks for double addresses. Push sample code to see the difference before using this function!

1.0
[new] initial release