/* Date: January 5th, 1995 Version: 1.0b2 Description: Given an HTML entity name, this class provides methods to convert that to an ISO8859 index value. i.e. given ä as a string to the method HTMLtoISO the return value would be: 228 Given an integer between 0 and 255, ISOtoHTML returns a character entity name, i.e. given 250, ISOtoHTML returns ú or give (int) '\', ISOtoHTML returns \ This is the stubbed Java code for the ISO8859 class. Sorry, but it took too much time to put together to give it away for the moment. If you want to use the source code for non-commercial purposes then send me an e-mail and I'll send you the code. I do not warrant the accuracy of these conversion routines. I have only verified about 85% of the entities here. Coder: John Criswick, Ottawa, criswick@conveyor.com Copyright (c) 1996, John R. Criswick. All rights reserved. */ public class ISO8859 { /* An about method in case I distribute this code in object form only (with a stub / header file). Programmers can call About in order to determine the version of this code etc. */ public String About() { String aboutMe; aboutMe = new String("ISO8859.class Version 1.0b2 Jan.6.96 by John Criswick criswick@conveyor.com"); return aboutMe; } /* Does nothing to initialize itself */ public void ISO8859() { } public String ISOtoHTML(int theChar) { return ""; } public int HTMLtoISO(String theString) { return 32; } }