Java: Ping application
Here is a code to call ping command on windows using java. The question would be, why not to ping directly from ms-dos window? :)The answer is because this application…
Here is a code to call ping command on windows using java. The question would be, why not to ping directly from ms-dos window? :)The answer is because this application…
The following piece of code is an example of extraction of specific attribute from an xml file.The xml looks like this:<?xml version="1.0" ?><xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:fn="http://www.w3.org/2005/02/xpath-functions" xmlns:xft-xliff="http://www.xfa.org/schema/xfa-xliff/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd"><file…
The following piece of code, reads a list of problematic strings and tries to match them using a list of valid codes.In order to get the best match there is…
Here is a piece of code, which shows the structure of user defined exception:declare exc_invalid_request_id EXCEPTION;... IF l_accepted_request > 0 THEN RAISE exc_invalid_request; END IF;... EXCEPTION WHEN exc_invalid_request THEN