This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.BufferedInputStream; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.net.MalformedURLException; | |
import java.io.EOFException; | |
import java.net.URL; | |
/** | |
<P>Append the source-code from a web-page into a <CODE>java.lang.Appendable</CODE>.</P> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
XBN-Java is released under the LGPL 2.1 | |
XBN-Java is a collection of generically-useful non-GUI programming utilities, featuring shareable self-returning method chains, "Listify"-ers, regular expression convenience classes, ValidateValue and AlterValue, highly-configurable output for strings and lists, and unit-testing example code. | |
Copyright (C) 2013 Jeff Epstein | |
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. | |
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//package EDU.oswego.cs.dl.util.concurrent.misc; | |
package xbn.number; | |
import java.io.Serializable; | |
import java.util.regex.Pattern; | |
import java.util.regex.Matcher; | |
/** | |
<P>Represents a fraction in reduced and mixed-number form, with some mathematical functionality.</P> | |
<P>Originally {@code EDU.oswego.cs.dl.util.concurrent.misc.Fraction.java}, with some minor edits, and the addition of mixed numbers, testing function, and string-constructor, by Jeff Epstein.</P> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
XBN-Java is released under the LGPL 2.1 | |
XBN-Java is a collection of generically-useful non-GUI programming utilities, featuring shareable self-returning method chains, "Listify"-ers, regular expression convenience classes, ValidateValue and AlterValue, highly-configurable output for strings and lists, and unit-testing example code. | |
Copyright (C) 2013 Jeff Epstein | |
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. | |
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
XBN-Java is released under the LGPL 2.1 | |
XBN-Java is a collection of generically-useful non-GUI programming utilities, featuring shareable self-returning method chains, "Listify"-ers, regular expression convenience classes, ValidateValue and AlterValue, highly-configurable output for strings and lists, and unit-testing example code. | |
Copyright (C) 2013 Jeff Epstein | |
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. | |
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
XBN-Java is a large set of generically-useful utilities, with an emphasis on (single-threaded, non-GUI) text-processing, capturing common errors, and unit testing example code. | |
Copyright (C) 2013 Jeff Epstein | |
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. | |
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. | |
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA*) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
XBN-Java is released under the LGPL 2.1 | |
XBN-Java is a large set of generically-useful utilities, with an emphasis on (single-threaded, non-GUI) text-processing, capturing common errors, and unit testing example code. | |
Copyright (C) 2013 Jeff Epstein | |
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. | |
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. |