Other listings by this author |
Mouse 1.4 (Downloads: 241)
In Java, allows you to find out where the mouse in on the screen In Java, allows you to find out where the mouse in on the
screen, even when it is not over one of your apps. This has
similar function to MouseInfo.getPointerInfo in Java 1.5+.
This class will work in any version of Java.
It uses JNI and a DLL, so it only works on Windows.
You must install the nativemouse.dll somewhere on the path.
Then your programs can find out the x and y position of the
mouse, [(0,0...
|
FileTransfer 2.5 (Downloads: 255)
Java classes to cop, upload and download files. Includes classes to let you copy, download and upload files from within a Java program. Also contains a command-line utility to download files.
Fully commented Java source is provided. It is now comes in four parts, MiniFileTransfer, FileTransfer and MaxiFileTransfer, Download depending on how much functionality you require. Now supports copying members in local jar files.
Command line use:
java -jar download.jar http : //x...
|
Pluck 1.0 (Downloads: 187)
Scans multiple files looking for a REGEX pattern, and summarised what it finds. Scans multiple files looking for a REGEX pattern, and
summarised what it finds as a CSV file.
java -jar C:\com\mindprod\pluck\pluck.jar "\.[a-z]+\." E:\temp\temp.csv E:\somedir
adjusting as necessary to account for where the jar file is.
The first parameter is the regex pattern. See regex in the java glossary
for how to compose them.
The next parameter is where the output in to go. use the
wo...
|
Comparators 1.4 (Downloads: 293)
Comparator classes to include in your Java programs. Java classes to include in your programs. Includes:
HTMLArrayComparator.java: Compares two arrays of Strings of HTML, ignoring embedded tags.
HTMLComparator.java: Compares two Strings of HTML, ignoring embedded tags.
StringComparator.java: Compares two Strings, case sensitive.
StringComparatorIgnoreCase.java: Compares two Strings, case insensitive.
Not useful on its own, though you can run the debugging harness with:
...
|
BlOut 2.6 (Downloads: 352)
Blout removes extra or all blank lines from a file. Blout removes extra blank lines from a file, collapsing multiple blank
lines down to one, (or removing them altogether with the -compact option).
It also ensures the file has a final CrLf. It also trims any blank lines
off the beginning and end of the file. It also converts all line endings
to Windows standard CrLf form. It trims trailing tabs and spaces from
each line.
Blout is not that bright. It does not understand w...
|
LEDataStream 1.8 (Downloads: 226)
Little-endian replacements for DataInputStream, DataOutputStream and RandomAcces Little-endian replacements for DataInputStream, DataOutputStream and RandomAccessFile. They work just like DataInputStream, DataOutputStream and RandomAccessFile except they work with little-endian binary data. Normally Java binary I/O is done with big-endian data, with the most significant byte of an integer or float first. Intel and Windows 95 tend to work with little endian data in native files. LEDataInputStream, LEDataOutputstream and LERandomAccessFile will le...
|
TimeZones 1.9 (Downloads: 201)
Displays all the TimeZone on your machine supported by Java Displays all the TimeZoneon your machine supported by
Java, with their standard time and daylight saving time
offsets from GMT, along with the their ID (programmer) names
and display names. It also displays UTC time, local time, and
your default TimeZone and whether daylight savings is
currently in effect....
|
Official Encoding 1.1 (Downloads: 161)
Discover the official name of any given Java encoding. Official Encoding will tell you the official name of any given Java encoding and whether it is supported by Java. It will also display some of the characters available with that encoding.
Prerequisites:
This program runs under any OS,
(e.g. Win2K/XP/Vista/OSX/Linux/Solaris/Vista64/AIX...) so long as you have
Java version 1.5 or later installed.
Installing:
Download source and compiled class files to run...
|
SiteMap 1.9 (Downloads: 302)
Prepare Spidering Sitemap for Google and other search engines. You use a sitemap to encourage Google or other search
engines to more frequently and efficiently index your
website.
For overview information about Google sitemaps see:
mindprod.com/jgloss/google.html#SITEMAPS
For overview information about this utility see:
mindprod.com/jgloss/google.html#SITEMAPUTILITY.
You use this sitemap utility because it is so quick you can
use it before every upload so that...
|
Batik 2.2 (Downloads: 461)
Java to let you create a custom utility to find and delete all junk files. Java classes to let you create a custom utility to find and
delete all junk files on your machine. Use one of the three
scripts supplied as an example, to create your own XXX.java
source code file then compile and use to rapidly clean your
drive of junk.
This program requires some elementary Java programming skill.
To compile
E:
cd \com\mindprod\batik
javac *.java
to run, make s...
|
Screws 1.3 (Downloads: 224)
CMP Screws and Screwdrivers draws eight types of screw heads. CMP Screws and Screwdrivers draws eight types of screw
heads. It is a teaching example for how to use Java Canvas,
fillRect, fillOval, fillPoly and AffineTransform to draw.
Java source is included for you to cannibalise.
It draws 8 types of screw heads.
To run as an application, type:
java -jar C:\com\mindprod\screws\screws.jar
adjusting as necessary to account for where the jar file is....
|
Encodings 1.6 (Downloads: 220)
Applet to list all supported encodings (character sets) supported by Java. Applet to list all supported encodings (character sets)
supported by your browser/java.
To install, Extract the zip download with WinZip,
(or similar unzip utility) into
any directory you please, often C:\ -- ticking off the (user
folder names) option. To run as an application, type:
java -jar C:\com\mindprod\encodings\encodings.jar
adjusting as necessary to account for where the jar file is....
|
Accumulate 1.3 (Downloads: 177)
Used to accumulate values by category. Used to accumulate values by category. It might be useful
for example in a billing program to accumulate hours by
various categories.
It could be used to count how many times various words
occurred in a document.
All you need is:
buckets.accumulate( "somecategory", someamount );
And Accumulate looks after creating the buckets to
accumulate new categories for you.
e....
|
JarCheck 1.4 (Downloads: 460)
Check that class target versions are as expected in a Java jar. Check a Java jar to make sure all the javac -target versions of
the class files are what you expect.
Java application.
Requires Java version 1.5 or later.
All Java source code is included.
to use:
java -jar jarcheck.jar jartotocheck.jar 1.1 1.7
where jartocheck.jar is the name of jar to check.
It will check all the class files in it.
In this example:
1.1 is the lo...
|
BOOTSave 2.8 (Downloads: 254)
BootSave saves/restores the master boot sector BootSave saves/restores the master boot sector on the
hard disk. Suite of three utilities BootSave, BootRest and
BootChk. Protects against damage to the partition table or
boot sector done by rogue programs, viruses or accidents
with tools like Norton NU.
The BootSave suite will work under DOS, Windows 3.x, Windows
95/98/ME, OS/2, but not NT, Windows 2000, XP, Vista or Windows 7.
These OSes block low level disk I/O as...
|
Holiday Calculatior 4.7 (Downloads: 683)
Calculate when 66 holidays occur in any given year. Calculates when various holidays occur in any given year BC or AD.
Designed to be cannibalised to include the calculation routines in your
own programs. You might use it to prepare paper calenders well in
advance or electronic calendars. You might also use the logic in computer
programs that compute payrolls, bus schedules, or club meetings. You
might use it in writing novels or researching historical events. It can
als...
|
CanadianTax 4.2 (Downloads: 583)
Calculates Canadian sales taxes: GST HST and PST today or in the past. Calculates Canadian sales taxes: GST HST and PST today or as they were in the past.
Java Applet that can also be run as an application.
Requires Java version 1.5 or later.
Java source code and sample HTML included.
This version computes by adding GST HST and PST to a base
price. It als works in reverse given the
final price working backwards to get the taxes and base
price. In other words it will tell ...
|