The Processing language is based on Java so all the Java class libraries are available simply import the ones that Processing doesn't do for you.
There are some restictions in Android and Processing.js
I have deleted the duplicate thread in the other forum.