├── code316-core ├── test.vals ├── Manifest.mf ├── launch.properties ├── encodingdescriptions ├── test-vals.txt ├── test.enc ├── TODO.txt ├── project.properties ├── src │ ├── java │ │ └── code316 │ │ │ ├── core │ │ │ ├── ClassFinder.java │ │ │ ├── ExceptionUtil.java │ │ │ └── Logger.java │ │ │ ├── debug │ │ │ └── StreamListener.java │ │ │ └── gui │ │ │ ├── EasyTableModel.java │ │ │ └── BeanModelAdapter.java │ └── test │ │ └── code316 │ │ ├── core │ │ └── FileUtilTest.java │ │ ├── beans │ │ └── AllTests.java │ │ └── gui │ │ └── AllTests.java ├── license.txt ├── .classpath ├── .project └── maven.xml ├── jardiff └── src │ ├── examples │ ├── diff.css │ ├── README.txt │ └── jardiff.sh │ ├── scripts │ └── jardiff │ ├── resources │ └── jardiff.properties │ └── xsl │ ├── jardiff-html.xsl │ └── jardiff-xhtml.xsl ├── dormant ├── multidoc │ ├── docs │ │ ├── blank.html │ │ └── multidoc.js │ ├── xdocs │ │ ├── images │ │ │ ├── 1x1.gif │ │ │ └── osjava.gif │ │ ├── changes.xml │ │ └── index.xml │ ├── src │ │ └── java │ │ │ └── org │ │ │ └── osjava │ │ │ └── multidoc │ │ │ ├── DocumentCreator.java │ │ │ ├── DocumentProjectCreator.java │ │ │ └── MultidocGenerator.java │ ├── run.sh │ └── maven.xml ├── atom4j │ ├── .cvsignore │ ├── news.html │ ├── build_xml.properties │ ├── lib │ │ ├── junit-3.8.1.jar │ │ ├── log4j-1.2.7.jar │ │ ├── servlet-2.3.jar │ │ ├── commons-logging.jar │ │ ├── commons-beanutils.jar │ │ ├── commons-codec-1.1.jar │ │ ├── commons-digester.jar │ │ ├── commons-lang-1_0.jar │ │ └── commons-collections.jar │ ├── index.html │ ├── .project │ ├── docs │ │ └── feed │ │ │ ├── atom02minimal.xml │ │ │ └── Atom03_Min.xml │ └── LICENSE.txt ├── openjar │ └── JarUpdater.java ├── logview │ ├── src │ │ └── java │ │ │ └── com │ │ │ └── generationjava │ │ │ ├── logview │ │ │ ├── docs │ │ │ │ └── LogDesign.pdf │ │ │ ├── LogType.java │ │ │ ├── Renderer.java │ │ │ ├── LogFilter.java │ │ │ ├── Reportlet.java │ │ │ ├── package.html │ │ │ ├── LogField.java │ │ │ ├── loglet │ │ │ │ └── StreamLoglet.java │ │ │ ├── LogIterator.java │ │ │ ├── LogSource.java │ │ │ ├── builder │ │ │ │ └── parse │ │ │ │ │ ├── LiteralParseToken.java │ │ │ │ │ └── VariableParseToken.java │ │ │ ├── LogEventContainer.java │ │ │ ├── Log.java │ │ │ ├── Report.java │ │ │ ├── log │ │ │ │ └── SimpleLogType.java │ │ │ ├── LogEvent.java │ │ │ ├── Loglet.java │ │ │ ├── LogBuilder.java │ │ │ ├── LogViewException.java │ │ │ ├── report │ │ │ │ └── AbstractReport.java │ │ │ └── LogViewRuntimeException.java │ │ │ └── math │ │ │ └── Average.java │ ├── archive │ │ ├── Type.java │ │ └── type │ │ │ ├── AbstractType.java │ │ │ ├── DateType.java │ │ │ └── InetType.java │ └── maven.xml ├── hibernate-taglib │ └── runc.sh └── integration │ ├── configs │ └── test-integration.xml │ ├── NOTES │ └── cron-script.sh ├── genjava ├── gj-find │ ├── src │ │ └── test │ │ │ └── find-data │ │ │ ├── empty │ │ │ └── file │ │ │ ├── name │ │ │ └── file │ │ │ ├── type │ │ │ └── file │ │ │ ├── can_read │ │ │ └── file │ │ │ ├── can_write │ │ │ └── file │ │ │ ├── path │ │ │ └── dir │ │ │ │ └── file │ │ │ └── regex │ │ │ ├── file.1 │ │ │ ├── file.2 │ │ │ └── file.3 │ ├── xdocs │ │ └── images │ │ │ ├── 1x1.gif │ │ │ └── osjava.gif │ ├── project.xml │ ├── maven.xml │ └── project.properties ├── gj-xml │ ├── src │ │ └── test │ │ │ └── data │ │ │ ├── test.xml │ │ │ └── unescape.xml │ ├── xdocs │ │ └── images │ │ │ ├── 1x1.gif │ │ │ └── osjava.gif │ ├── maven.xml │ └── project.properties ├── xdocs │ ├── images │ │ ├── 1x1.gif │ │ ├── osjava.gif │ │ ├── initials.jpg │ │ └── core-logo.jpg │ ├── sandbox.xml │ └── legacy.xml ├── gj-core │ ├── xdocs │ │ └── images │ │ │ ├── 1x1.gif │ │ │ └── osjava.gif │ ├── src │ │ └── java │ │ │ └── com │ │ │ └── generationjava │ │ │ ├── util │ │ │ └── package.html │ │ │ ├── jdbc │ │ │ └── package.html │ │ │ ├── io │ │ │ └── package.html │ │ │ ├── net │ │ │ └── package.html │ │ │ ├── lang │ │ │ └── package.html │ │ │ ├── compare │ │ │ └── package.html │ │ │ ├── namespace │ │ │ └── package.html │ │ │ ├── random │ │ │ └── beans-random-todo │ │ │ └── collections │ │ │ └── package.html │ ├── maven.xml │ └── project.properties ├── gj-csv │ ├── xdocs │ │ ├── images │ │ │ ├── 1x1.gif │ │ │ └── osjava.gif │ │ └── changes.xml │ ├── project.xml │ ├── maven.xml │ ├── pom.xml │ └── project.properties ├── gj-gui │ ├── xdocs │ │ ├── images │ │ │ ├── 1x1.gif │ │ │ └── osjava.gif │ │ └── changes.xml │ ├── src │ │ └── java │ │ │ └── com │ │ │ └── generationjava │ │ │ ├── swing │ │ │ ├── package.html │ │ │ ├── GJTableListener.java │ │ │ ├── GJTableSortListener.java │ │ │ ├── GJTableHideException.java │ │ │ ├── ListDataAdapter.java │ │ │ ├── PopupTreeNode.java │ │ │ ├── BackgroundTheme.java │ │ │ ├── FileFilter.java │ │ │ └── GJTableSortIndex.java │ │ │ └── awt │ │ │ ├── PanelFactory.java │ │ │ ├── package.html │ │ │ ├── MulticastRequestEvent.java │ │ │ ├── ImageSource.java │ │ │ ├── ImageW.java │ │ │ └── ReportEvent.java │ ├── maven.xml │ └── project.properties ├── gj-mail │ ├── xdocs │ │ ├── images │ │ │ ├── 1x1.gif │ │ │ └── osjava.gif │ │ └── changes.xml │ ├── maven.xml │ └── project.properties ├── gj-beans │ ├── xdocs │ │ ├── images │ │ │ ├── 1x1.gif │ │ │ └── osjava.gif │ │ └── changes.xml │ ├── src │ │ └── java │ │ │ └── com │ │ │ └── generationjava │ │ │ └── beans │ │ │ └── package.html │ ├── maven.xml │ └── project.properties ├── gj-config │ ├── xdocs │ │ └── images │ │ │ ├── 1x1.gif │ │ │ └── osjava.gif │ ├── project.xml │ ├── maven.xml │ ├── pom.xml │ └── project.properties ├── gj-scrape │ ├── xdocs │ │ └── images │ │ │ ├── 1x1.gif │ │ │ └── osjava.gif │ ├── benchmark │ │ ├── run1.0.sh │ │ ├── run2.0.sh │ │ └── compile.sh │ ├── src │ │ └── java │ │ │ └── com │ │ │ └── generationjava │ │ │ └── scrape │ │ │ └── package.html │ ├── maven.xml │ ├── project.xml │ └── project.properties ├── gj-tools │ ├── xdocs │ │ ├── images │ │ │ ├── 1x1.gif │ │ │ └── osjava.gif │ │ └── changes.xml │ ├── maven.xml │ └── project.properties ├── gj-servlet │ ├── xdocs │ │ ├── images │ │ │ ├── 1x1.gif │ │ │ └── osjava.gif │ │ └── changes.xml │ ├── src │ │ └── java │ │ │ └── com │ │ │ └── generationjava │ │ │ └── servlet │ │ │ └── package.html │ ├── maven.xml │ └── project.properties └── project.properties ├── norbert ├── data │ ├── bad │ │ └── robots.txt │ ├── ua-case-insensitive │ │ └── robots.txt │ ├── disallow-empty │ │ └── robots.txt │ ├── order │ │ └── robots.txt │ ├── order-reverse │ │ └── robots.txt │ ├── basic │ │ └── robots.txt │ ├── genscape │ │ └── robots.txt │ └── rfc │ │ └── robots.txt ├── xdocs │ └── images │ │ ├── 1x1.gif │ │ ├── osjava.gif │ │ ├── initials.jpg │ │ └── core-logo.jpg ├── src │ └── java │ │ └── org │ │ └── osjava │ │ └── norbert │ │ └── package.html └── maven.xml ├── reportrunner ├── webapp │ ├── footer.inc │ ├── images │ │ └── 1x1.gif │ ├── renderers │ │ └── htmltable │ │ │ └── sorttable.js │ ├── WEB-INF │ │ └── lib │ │ │ ├── velocity.properties │ │ │ └── toolbox.xml │ ├── header.inc │ ├── empty_report_exception.jsp │ └── list_groups.jsp ├── src │ └── java │ │ └── org │ │ └── osjava │ │ ├── webwizard │ │ ├── templates │ │ │ ├── footer.inc │ │ │ ├── header.inc │ │ │ ├── empty_report_exception.vm │ │ │ └── list_groups.vm │ │ └── Constants.java │ │ ├── reportrunner │ │ ├── Nameable.java │ │ ├── Formatter.java │ │ ├── Parser.java │ │ ├── Result.java │ │ ├── EmptyReportException.java │ │ ├── formatters │ │ │ ├── DefaultFormatter.java │ │ │ └── DateTimeFormatter.java │ │ ├── NullResult.java │ │ ├── ReportException.java │ │ ├── parsers │ │ │ └── AbstractParser.java │ │ ├── Choice.java │ │ └── reports │ │ │ └── DummyReport.java │ │ └── reportrunner_plugins │ │ └── renderers │ │ └── jfreechart │ │ └── JFreeChartCreator.java ├── xdocs │ ├── images │ │ ├── 1x1.gif │ │ └── osjava.gif │ └── changes.xml ├── conf │ ├── rrr-resources.xml │ ├── rrr.xml │ ├── reportrunner.xml │ └── resources.xml ├── maven.xml └── project.properties ├── runsql ├── example │ ├── sql │ │ ├── QUERY.sql │ │ ├── CHECK.sql │ │ ├── BOOTSTRAP.sql │ │ └── SCHEMA.sql │ ├── jndi.properties │ └── config │ │ └── CmdLine.properties ├── xdocs │ └── tasks.xml ├── run.sh ├── project.properties └── maven.xml ├── simple-jndi ├── src │ ├── test │ │ ├── config │ │ │ ├── test.properties │ │ │ ├── system-test │ │ │ │ └── one │ │ │ │ │ └── two │ │ │ │ │ └── three.properties │ │ │ ├── thing │ │ │ │ ├── type │ │ │ │ │ ├── default.properties │ │ │ │ │ └── bob.properties │ │ │ │ ├── jdbc │ │ │ │ │ └── BTestDS.properties │ │ │ │ ├── db.properties │ │ │ │ └── db2.xml │ │ │ ├── testini.ini │ │ │ ├── default.properties │ │ │ ├── java.properties │ │ │ ├── TopLevelDS.properties │ │ │ ├── java--.properties │ │ │ ├── enc-test │ │ │ │ └── jdbc.properties │ │ │ ├── pooltest │ │ │ │ ├── OneDS.properties │ │ │ │ ├── TestDS.properties │ │ │ │ ├── TwoDS.properties │ │ │ │ └── ThreeDS.properties │ │ │ ├── xmltest.xml │ │ │ └── nested-datasource.properties │ │ └── jndi.properties │ ├── examples │ │ ├── Datasource │ │ │ ├── compile.sh │ │ │ ├── run-ini.sh │ │ │ ├── ini │ │ │ │ ├── config │ │ │ │ │ ├── FlamefewDS.ini │ │ │ │ │ └── java.ini │ │ │ │ └── jndi.properties │ │ │ ├── properties │ │ │ │ ├── config │ │ │ │ │ ├── FlamefewDS.properties │ │ │ │ │ └── java.properties │ │ │ │ └── jndi.properties │ │ │ ├── run-xml.sh │ │ │ ├── xml │ │ │ │ ├── jndi.properties │ │ │ │ └── config │ │ │ │ │ ├── java.xml │ │ │ │ │ └── default.xml │ │ │ ├── readme.txt │ │ │ └── run-properties.sh │ │ └── Collections │ │ │ ├── compile.sh │ │ │ ├── run-ini.sh │ │ │ ├── ini │ │ │ ├── config │ │ │ │ └── shopping.ini │ │ │ └── jndi.properties │ │ │ ├── run-properties.sh │ │ │ ├── properties │ │ │ ├── config │ │ │ │ └── shopping.properties │ │ │ └── jndi.properties │ │ │ ├── run-xml.sh │ │ │ └── xml │ │ │ ├── jndi.properties │ │ │ └── config │ │ │ └── default.xml │ └── java │ │ └── org │ │ └── osjava │ │ └── sj │ │ ├── memory │ │ └── package.html │ │ ├── naming │ │ └── package.html │ │ ├── jndi │ │ └── package.html │ │ ├── package.html │ │ └── loader │ │ └── package.html ├── xdocs │ └── images │ │ ├── 1x1.gif │ │ ├── osjava.gif │ │ ├── core-logo.jpg │ │ ├── initials.jpg │ │ └── simple-jndi-logo.png └── maven.xml ├── viewrepo ├── multijavadoc │ ├── src │ │ ├── resources │ │ │ ├── blank-template.html │ │ │ ├── footer-index-template.html │ │ │ └── header-template.html │ │ └── scripts │ │ │ └── Multidoc.sh │ └── multidoc.sh └── multijardiff │ ├── empty.jar │ ├── lib │ ├── jcommon-1.0.4.jar │ ├── jfreechart-1.0.1.jar │ └── jcommon-xml-1.0.4.jar │ └── compile.sh ├── pound ├── images │ └── readme.txt └── readme.txt ├── lleutragen └── TODO ├── payload ├── xdocs │ └── images │ │ ├── 1x1.gif │ │ └── osjava.gif ├── src │ └── java │ │ └── org │ │ └── osjava │ │ └── payload │ │ └── package.html └── maven.xml ├── mudclient ├── xdocs │ ├── images │ │ ├── 1x1.gif │ │ └── osjava.gif │ └── navigation.xml ├── src │ ├── html │ │ ├── site │ │ │ ├── blue.jpg │ │ │ ├── image1.jpg │ │ │ ├── menu_bg.png │ │ │ ├── side_bg.png │ │ │ └── ele480x60.gif │ │ └── applet.html │ ├── resources │ │ └── org │ │ │ └── cyberiantiger │ │ │ └── mudclient │ │ │ └── about.gif │ └── java │ │ └── org │ │ └── cyberiantiger │ │ ├── telnet │ │ ├── BinaryData.java │ │ ├── SimpleTelnetOption.java │ │ ├── UnknownTelnetOption.java │ │ ├── TelnetNegotiation.java │ │ ├── TelnetSession.java │ │ └── AbstractTelnetSubOption.java │ │ ├── console │ │ ├── ConsoleWriter.java │ │ ├── NullConsoleAction.java │ │ ├── ConsoleAction.java │ │ ├── BeepConsoleAction.java │ │ ├── AbstractConsoleAction.java │ │ ├── ClearScreenConsoleAction.java │ │ ├── BoldConsoleAction.java │ │ ├── FlashConsoleAction.java │ │ ├── BackgroundConsoleAction.java │ │ ├── ForegroundConsoleAction.java │ │ ├── ReverseConsoleAction.java │ │ ├── ResizeConsoleAction.java │ │ ├── ResetConsoleAction.java │ │ ├── SetCursorXConsoleAction.java │ │ ├── SetCursorYConsoleAction.java │ │ ├── MoveCursorXConsoleAction.java │ │ ├── MoveCursorYConsoleAction.java │ │ └── StringConsoleAction.java │ │ └── mudclient │ │ ├── ui │ │ ├── ConsoleModelListener.java │ │ └── Connection.java │ │ ├── input │ │ ├── RecursionException.java │ │ ├── ReplacementSyntaxException.java │ │ └── InputItem.java │ │ └── net │ │ └── Display.java ├── deploy.sh ├── maven.xml └── project.properties ├── simple-jms ├── xdocs │ ├── images │ │ ├── 1x1.gif │ │ └── osjava.gif │ └── changes.xml ├── src │ └── test │ │ ├── jndi.properties │ │ └── config │ │ └── default.properties ├── maven.xml └── project.properties ├── trail-taglib ├── xdocs │ └── images │ │ ├── 1x1.gif │ │ └── osjava.gif └── maven.xml ├── xmlwriter ├── xdocs │ ├── images │ │ ├── xmlwriter.jpg │ │ └── xmlwriter-logo2.png │ └── Design.xml ├── maven.xml └── src │ └── example │ └── Example1.java ├── orcs ├── OrcsTerminal │ ├── nachocalendar-0.22.jar │ ├── maven.xml │ └── project.properties ├── DataSourceWizard │ ├── src │ │ └── java │ │ │ └── org │ │ │ └── osjava │ │ │ └── dswiz │ │ │ ├── JBlank.java │ │ │ └── DatabaseChosenListener.java │ ├── maven.xml │ └── project.properties └── TODO.txt ├── scraping-engine ├── xdocs │ └── manual │ │ └── images │ │ └── Scrapers.png ├── src │ ├── examples │ │ ├── Ftp │ │ │ ├── download.sh │ │ │ ├── jndi.properties │ │ │ ├── run.sh │ │ │ ├── log4j.properties │ │ │ └── conf │ │ │ │ └── default.properties │ │ ├── Comics │ │ │ ├── download.sh │ │ │ ├── jndi.properties │ │ │ ├── build.sh │ │ │ ├── run.sh │ │ │ ├── test.sh │ │ │ ├── log4j.properties │ │ │ ├── com │ │ │ │ └── generationjava │ │ │ │ │ └── comics │ │ │ │ │ ├── ApodParser.java │ │ │ │ │ ├── ElgoonParser.java │ │ │ │ │ ├── FoxtrotParser.java │ │ │ │ │ ├── UbersoftParser.java │ │ │ │ │ ├── ComicsComParser.java │ │ │ │ │ ├── DilbertParser.java │ │ │ │ │ ├── UserFriendlyParser.java │ │ │ │ │ └── SnoopyParser.java │ │ │ ├── README.txt │ │ │ ├── build.bat │ │ │ ├── run.bat │ │ │ └── test.bat │ │ ├── template │ │ │ ├── download.sh │ │ │ ├── jndi.properties │ │ │ ├── run.sh │ │ │ ├── README.txt │ │ │ ├── log4j.properties │ │ │ └── conf │ │ │ │ └── default.properties │ │ └── package-example.sh │ └── java │ │ └── org │ │ └── osjava │ │ └── scraping │ │ └── checking │ │ └── ExistsHandler.java └── maven.xml ├── pergamum ├── docs │ ├── unknown-site.html │ └── publisher-books-qos.html ├── content │ ├── book.xml │ ├── listcategories.xml │ ├── listpublishers.xml │ ├── category-books.xml │ ├── publisher-books.xml │ ├── listbooks.xml │ ├── newreviews.xml │ ├── newbooks.xml │ ├── index.xml │ └── comingsoon.xml └── run.sh ├── charlotte ├── xdocs │ ├── style │ │ └── custom.css │ ├── tcp-header.enc │ ├── changes.xml │ └── data-dictionary.txt ├── TODO.txt ├── .project ├── src │ ├── java │ │ └── code316 │ │ │ └── charlotte │ │ │ ├── FieldDefinition.java │ │ │ ├── EncodingViewer.java │ │ │ └── Encoding.java │ └── test │ │ └── code316 │ │ └── charlotte │ │ └── AllTests.java ├── maven.xml ├── .classpath └── project.properties ├── cachew └── src │ └── java │ └── org │ └── osjava │ └── cachew │ └── CachewItemCreator.java ├── sqlite-jdbc ├── src │ └── jni │ │ └── Makefile ├── README └── docs │ └── Dependancies ├── nextjen ├── WISHLIST ├── examples │ └── codegen │ │ └── README └── LICENSE.txt ├── scripts4java └── reportcount.pl ├── simuchron ├── src │ └── java │ │ └── com │ │ └── generationjava │ │ └── simuchron │ │ ├── Pre.java │ │ ├── Post.java │ │ ├── Algorithm.java │ │ ├── MaxAlgorithm.java │ │ ├── MinAlgorithm.java │ │ ├── WobblePost.java │ │ ├── CosAlgorithm.java │ │ ├── SinAlgorithm.java │ │ ├── BlockPre.java │ │ ├── ConstantAlgorithm.java │ │ └── SlopeAlgorithm.java └── maven.xml ├── jpe ├── src │ └── java │ │ └── com │ │ └── generationjava │ │ └── apps │ │ └── jpe │ │ ├── AskInterface.java │ │ ├── CompilerException.java │ │ ├── Handler.java │ │ ├── Compiler.java │ │ └── JPEMenuItem.java └── maven.xml ├── oscube └── maven.xml ├── logview2 ├── maven.xml ├── src │ └── java │ │ └── org │ │ └── osjava │ │ └── logview │ │ ├── text │ │ ├── DelimitedLineParser.java │ │ └── RegexpParser.java │ │ └── reports │ │ └── ShowLogReport.java └── project.properties ├── osjava-nio ├── maven.xml ├── src │ └── java │ │ └── org │ │ └── osjava │ │ └── nio │ │ └── TaskException.java └── project.properties └── osjava-threads ├── maven.xml └── xdocs └── Tasks.xml /code316-core/test.vals: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /code316-core/Manifest.mf: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /jardiff/src/examples/diff.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dormant/multidoc/docs/blank.html: -------------------------------------------------------------------------------- 1 |   2 | -------------------------------------------------------------------------------- /genjava/gj-find/src/test/find-data/empty/file: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dormant/atom4j/.cvsignore: -------------------------------------------------------------------------------- 1 | build 2 | bin 3 | *.log 4 | -------------------------------------------------------------------------------- /genjava/gj-find/src/test/find-data/name/file: -------------------------------------------------------------------------------- 1 | file 2 | -------------------------------------------------------------------------------- /genjava/gj-find/src/test/find-data/type/file: -------------------------------------------------------------------------------- 1 | file 2 | -------------------------------------------------------------------------------- /genjava/gj-find/src/test/find-data/can_read/file: -------------------------------------------------------------------------------- 1 | file 2 | -------------------------------------------------------------------------------- /genjava/gj-find/src/test/find-data/can_write/file: -------------------------------------------------------------------------------- 1 | file 2 | -------------------------------------------------------------------------------- /genjava/gj-find/src/test/find-data/path/dir/file: -------------------------------------------------------------------------------- 1 | file 2 | -------------------------------------------------------------------------------- /genjava/gj-find/src/test/find-data/regex/file.1: -------------------------------------------------------------------------------- 1 | file.1 2 | -------------------------------------------------------------------------------- /genjava/gj-find/src/test/find-data/regex/file.2: -------------------------------------------------------------------------------- 1 | file.2 2 | -------------------------------------------------------------------------------- /genjava/gj-find/src/test/find-data/regex/file.3: -------------------------------------------------------------------------------- 1 | file.3 2 | -------------------------------------------------------------------------------- /norbert/data/bad/robots.txt: -------------------------------------------------------------------------------- 1 | What are you looking for? 2 | -------------------------------------------------------------------------------- /reportrunner/webapp/footer.inc: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /runsql/example/sql/QUERY.sql: -------------------------------------------------------------------------------- 1 | SELECT * FROM Bandwidth 2 | -------------------------------------------------------------------------------- /simple-jndi/src/test/config/test.properties: -------------------------------------------------------------------------------- 1 | value=13 2 | -------------------------------------------------------------------------------- /dormant/openjar/JarUpdater.java: -------------------------------------------------------------------------------- 1 | public class JarUpdater { 2 | } 3 | -------------------------------------------------------------------------------- /viewrepo/multijavadoc/src/resources/blank-template.html: -------------------------------------------------------------------------------- 1 |   2 | -------------------------------------------------------------------------------- /genjava/gj-xml/src/test/data/test.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /runsql/example/sql/CHECK.sql: -------------------------------------------------------------------------------- 1 | SELECT count(*) AS total FROM Report 2 | -------------------------------------------------------------------------------- /simple-jndi/src/test/config/system-test/one/two/three.properties: -------------------------------------------------------------------------------- 1 | four=1234 2 | -------------------------------------------------------------------------------- /pound/images/readme.txt: -------------------------------------------------------------------------------- 1 | put images in this directory 2 | jpg, jpeg, gif, png 3 | -------------------------------------------------------------------------------- /simple-jndi/src/examples/Datasource/compile.sh: -------------------------------------------------------------------------------- 1 | javac example_code/Example.java 2 | -------------------------------------------------------------------------------- /code316-core/launch.properties: -------------------------------------------------------------------------------- 1 | main=com.code316.bunny.Bunny 2 | lib=deploy/lib/ 3 | -------------------------------------------------------------------------------- /lleutragen/TODO: -------------------------------------------------------------------------------- 1 | Starting basing it on delicious RSS and not on a local db.xml file. 2 | -------------------------------------------------------------------------------- /reportrunner/src/java/org/osjava/webwizard/templates/footer.inc: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /simple-jndi/src/examples/Collections/compile.sh: -------------------------------------------------------------------------------- 1 | javac example_code/Example.java 2 | -------------------------------------------------------------------------------- /code316-core/encodingdescriptions: -------------------------------------------------------------------------------- 1 | sampleEncoding = 32 2 | encoding-two = 34 : 3 | 4 | -------------------------------------------------------------------------------- /jardiff/src/scripts/jardiff: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | java -jar ~/bin/lib/jardiff-0.2-uber.jar $@ 3 | -------------------------------------------------------------------------------- /norbert/data/ua-case-insensitive/robots.txt: -------------------------------------------------------------------------------- 1 | User-Agent: test 2 | Disallow: /index.html 3 | -------------------------------------------------------------------------------- /dormant/atom4j/news.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/dormant/atom4j/news.html -------------------------------------------------------------------------------- /simple-jndi/src/test/config/thing/type/default.properties: -------------------------------------------------------------------------------- 1 | one=two 2 | three=four 3 | five=5 4 | -------------------------------------------------------------------------------- /code316-core/test-vals.txt: -------------------------------------------------------------------------------- 1 | angle=3 2 | fails=2 3 | level=1 4 | temp=3336 5 | door_open=1 6 | -------------------------------------------------------------------------------- /dormant/atom4j/build_xml.properties: -------------------------------------------------------------------------------- 1 | #choose classic, modern, jikes, or jvc 2 | JAVAC=modern 3 | 4 | -------------------------------------------------------------------------------- /genjava/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/genjava/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /norbert/data/disallow-empty/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: test 2 | Disallow: 3 | Disallow: /index.html 4 | -------------------------------------------------------------------------------- /norbert/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/norbert/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /payload/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/payload/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /genjava/gj-xml/src/test/data/unescape.xml: -------------------------------------------------------------------------------- 1 | 2 | Foo < Bar 3 | 4 | -------------------------------------------------------------------------------- /genjava/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/genjava/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /mudclient/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/mudclient/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /norbert/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/norbert/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /payload/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/payload/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /simple-jms/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/simple-jms/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /viewrepo/multijardiff/empty.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/viewrepo/multijardiff/empty.jar -------------------------------------------------------------------------------- /genjava/xdocs/images/initials.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/genjava/xdocs/images/initials.jpg -------------------------------------------------------------------------------- /mudclient/src/html/site/blue.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/mudclient/src/html/site/blue.jpg -------------------------------------------------------------------------------- /mudclient/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/mudclient/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /norbert/xdocs/images/initials.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/norbert/xdocs/images/initials.jpg -------------------------------------------------------------------------------- /reportrunner/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/reportrunner/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /simple-jndi/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/simple-jndi/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /trail-taglib/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/trail-taglib/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /dormant/atom4j/lib/junit-3.8.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/dormant/atom4j/lib/junit-3.8.1.jar -------------------------------------------------------------------------------- /dormant/atom4j/lib/log4j-1.2.7.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/dormant/atom4j/lib/log4j-1.2.7.jar -------------------------------------------------------------------------------- /dormant/atom4j/lib/servlet-2.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/dormant/atom4j/lib/servlet-2.3.jar -------------------------------------------------------------------------------- /genjava/gj-core/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/genjava/gj-core/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /genjava/gj-csv/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/genjava/gj-csv/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /genjava/gj-find/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/genjava/gj-find/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /genjava/gj-gui/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/genjava/gj-gui/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /genjava/gj-mail/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/genjava/gj-mail/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /genjava/gj-xml/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/genjava/gj-xml/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /genjava/xdocs/images/core-logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/genjava/xdocs/images/core-logo.jpg -------------------------------------------------------------------------------- /mudclient/src/html/site/image1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/mudclient/src/html/site/image1.jpg -------------------------------------------------------------------------------- /mudclient/src/html/site/menu_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/mudclient/src/html/site/menu_bg.png -------------------------------------------------------------------------------- /mudclient/src/html/site/side_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/mudclient/src/html/site/side_bg.png -------------------------------------------------------------------------------- /norbert/data/order/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: Scabies-1.0 2 | Allow: /order/ 3 | User-agent: * 4 | Disallow: /order/ 5 | -------------------------------------------------------------------------------- /norbert/xdocs/images/core-logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/norbert/xdocs/images/core-logo.jpg -------------------------------------------------------------------------------- /reportrunner/webapp/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/reportrunner/webapp/images/1x1.gif -------------------------------------------------------------------------------- /reportrunner/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/reportrunner/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /simple-jms/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/simple-jms/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /simple-jndi/src/test/config/thing/type/bob.properties: -------------------------------------------------------------------------------- 1 | age/type=java.lang.Integer 2 | age=24 3 | age=25 4 | age=99 5 | -------------------------------------------------------------------------------- /simple-jndi/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/simple-jndi/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /trail-taglib/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/trail-taglib/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /xmlwriter/xdocs/images/xmlwriter.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/xmlwriter/xdocs/images/xmlwriter.jpg -------------------------------------------------------------------------------- /dormant/atom4j/lib/commons-logging.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/dormant/atom4j/lib/commons-logging.jar -------------------------------------------------------------------------------- /dormant/multidoc/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/dormant/multidoc/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /genjava/gj-beans/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/genjava/gj-beans/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /genjava/gj-config/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/genjava/gj-config/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /genjava/gj-csv/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/genjava/gj-csv/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /genjava/gj-gui/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/genjava/gj-gui/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /genjava/gj-scrape/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/genjava/gj-scrape/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /genjava/gj-tools/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/genjava/gj-tools/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /genjava/gj-xml/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/genjava/gj-xml/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /mudclient/src/html/site/ele480x60.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/mudclient/src/html/site/ele480x60.gif -------------------------------------------------------------------------------- /simple-jndi/xdocs/images/core-logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/simple-jndi/xdocs/images/core-logo.jpg -------------------------------------------------------------------------------- /simple-jndi/xdocs/images/initials.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/simple-jndi/xdocs/images/initials.jpg -------------------------------------------------------------------------------- /dormant/atom4j/lib/commons-beanutils.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/dormant/atom4j/lib/commons-beanutils.jar -------------------------------------------------------------------------------- /dormant/atom4j/lib/commons-codec-1.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/dormant/atom4j/lib/commons-codec-1.1.jar -------------------------------------------------------------------------------- /dormant/atom4j/lib/commons-digester.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/dormant/atom4j/lib/commons-digester.jar -------------------------------------------------------------------------------- /dormant/atom4j/lib/commons-lang-1_0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/dormant/atom4j/lib/commons-lang-1_0.jar -------------------------------------------------------------------------------- /dormant/multidoc/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/dormant/multidoc/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /genjava/gj-beans/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/genjava/gj-beans/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /genjava/gj-config/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/genjava/gj-config/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /genjava/gj-core/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/genjava/gj-core/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /genjava/gj-find/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/genjava/gj-find/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /genjava/gj-mail/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/genjava/gj-mail/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /genjava/gj-scrape/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/genjava/gj-scrape/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /genjava/gj-servlet/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/genjava/gj-servlet/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /genjava/gj-tools/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/genjava/gj-tools/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /norbert/data/order-reverse/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: /order/ 3 | User-agent: Scabies-1.0 4 | Allow: /order/ 5 | -------------------------------------------------------------------------------- /orcs/OrcsTerminal/nachocalendar-0.22.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/orcs/OrcsTerminal/nachocalendar-0.22.jar -------------------------------------------------------------------------------- /code316-core/test.enc: -------------------------------------------------------------------------------- 1 | # test encoding 2 | angle=3 3 | fails=2 4 | level=1 5 | # another comment 6 | temp=10.3 7 | door_open=1 -------------------------------------------------------------------------------- /dormant/atom4j/lib/commons-collections.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/dormant/atom4j/lib/commons-collections.jar -------------------------------------------------------------------------------- /genjava/gj-servlet/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/genjava/gj-servlet/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /simple-jndi/src/examples/Collections/run-ini.sh: -------------------------------------------------------------------------------- 1 | java -classpath ../../../target/simple-jndi-0.8.jar:.:ini example_code.Example 2 | -------------------------------------------------------------------------------- /simple-jndi/src/examples/Datasource/run-ini.sh: -------------------------------------------------------------------------------- 1 | java -classpath ../../../target/simple-jndi-0.8.jar:.:ini example_code.Example 2 | -------------------------------------------------------------------------------- /simple-jndi/src/test/config/testini.ini: -------------------------------------------------------------------------------- 1 | first=blockless 2 | [block1] 3 | value=13 4 | [block2] 5 | apple=pears 6 | orange=stairs 7 | -------------------------------------------------------------------------------- /viewrepo/multijardiff/lib/jcommon-1.0.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/viewrepo/multijardiff/lib/jcommon-1.0.4.jar -------------------------------------------------------------------------------- /xmlwriter/xdocs/images/xmlwriter-logo2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/xmlwriter/xdocs/images/xmlwriter-logo2.png -------------------------------------------------------------------------------- /runsql/example/jndi.properties: -------------------------------------------------------------------------------- 1 | java.naming.factory.initial=org.osjava.jndi.PropertiesFactory 2 | org.osjava.jndi.root=example/config/ 3 | -------------------------------------------------------------------------------- /simple-jndi/src/test/config/default.properties: -------------------------------------------------------------------------------- 1 | com.genjava=Foo 2 | name=Henri 3 | url=yandell.org 4 | name=Fred 5 | withspace = Check 6 | -------------------------------------------------------------------------------- /simple-jndi/xdocs/images/simple-jndi-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/simple-jndi/xdocs/images/simple-jndi-logo.png -------------------------------------------------------------------------------- /viewrepo/multijardiff/lib/jfreechart-1.0.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/viewrepo/multijardiff/lib/jfreechart-1.0.1.jar -------------------------------------------------------------------------------- /scraping-engine/xdocs/manual/images/Scrapers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/scraping-engine/xdocs/manual/images/Scrapers.png -------------------------------------------------------------------------------- /viewrepo/multijardiff/lib/jcommon-xml-1.0.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/viewrepo/multijardiff/lib/jcommon-xml-1.0.4.jar -------------------------------------------------------------------------------- /norbert/data/basic/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: Scooter-W3.1.2 2 | Disallow: / 3 | User-agent: * 4 | Disallow: /download/ 5 | Disallow: /view-cvs/ 6 | -------------------------------------------------------------------------------- /pergamum/docs/unknown-site.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Sorry, but this book's site is not yet in the Pergamum database. 4 | 5 | 6 | -------------------------------------------------------------------------------- /simple-jndi/src/examples/Collections/ini/config/shopping.ini: -------------------------------------------------------------------------------- 1 | item=orange 2 | item=apple 3 | item=ice cream 4 | item=potatoes 5 | payment=cash 6 | -------------------------------------------------------------------------------- /simple-jndi/src/examples/Collections/run-properties.sh: -------------------------------------------------------------------------------- 1 | java -classpath ../../../target/simple-jndi-0.8.jar:.:properties example_code.Example 2 | -------------------------------------------------------------------------------- /viewrepo/multijardiff/compile.sh: -------------------------------------------------------------------------------- 1 | javac -classpath lib/jfreechart-1.0.1.jar:lib/jcommon-1.0.4.jar:. CreateChart.java 2 | javac CreateBar.java 3 | -------------------------------------------------------------------------------- /genjava/gj-core/src/java/com/generationjava/util/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | Util classes. 5 |

6 | 7 | 8 | -------------------------------------------------------------------------------- /reportrunner/webapp/renderers/htmltable/sorttable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/reportrunner/webapp/renderers/htmltable/sorttable.js -------------------------------------------------------------------------------- /scraping-engine/src/examples/Ftp/download.sh: -------------------------------------------------------------------------------- 1 | mkdir lib 2 | cd lib 3 | for i in `cat ../dependencies.list` 4 | do 5 | wget $i 6 | done 7 | cd .. 8 | -------------------------------------------------------------------------------- /simple-jms/src/test/jndi.properties: -------------------------------------------------------------------------------- 1 | java.naming.factory.initial=org.osjava.sj.SimpleContextFactory 2 | 3 | org.osjava.sj.root=file://src/test/config 4 | -------------------------------------------------------------------------------- /simple-jndi/src/examples/Datasource/ini/config/FlamefewDS.ini: -------------------------------------------------------------------------------- 1 | type=javax.sql.DataSource 2 | url=foofoo 3 | driver=bing 4 | user=Boo 5 | password=bong 6 | -------------------------------------------------------------------------------- /norbert/src/java/org/osjava/norbert/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | A parser for robots.txt files. 5 |

6 | 7 | 8 | -------------------------------------------------------------------------------- /payload/src/java/org/osjava/payload/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | A self-extracting jar creator. 5 |

6 | 7 | 8 | -------------------------------------------------------------------------------- /scraping-engine/src/examples/Comics/download.sh: -------------------------------------------------------------------------------- 1 | mkdir lib 2 | cd lib 3 | for i in `cat ../dependencies.list` 4 | do 5 | wget $i 6 | done 7 | cd .. 8 | -------------------------------------------------------------------------------- /scraping-engine/src/examples/Comics/jndi.properties: -------------------------------------------------------------------------------- 1 | java.naming.factory.initial=org.osjava.sj.SimpleContextFactory 2 | 3 | org.osjava.sj.root=file://conf 4 | -------------------------------------------------------------------------------- /scraping-engine/src/examples/Ftp/jndi.properties: -------------------------------------------------------------------------------- 1 | java.naming.factory.initial=org.osjava.sj.SimpleContextFactory 2 | 3 | org.osjava.sj.root=file://conf 4 | -------------------------------------------------------------------------------- /scraping-engine/src/examples/template/download.sh: -------------------------------------------------------------------------------- 1 | mkdir lib 2 | cd lib 3 | for i in `cat ../dependencies.list` 4 | do 5 | wget $i 6 | done 7 | cd .. 8 | -------------------------------------------------------------------------------- /genjava/gj-scrape/benchmark/run1.0.sh: -------------------------------------------------------------------------------- 1 | java -classpath .:../target/gj-scrape-1.0.jar:/Users/hen/.maven/repository/commons-lang/jars/commons-lang-2.0.jar Large 2 | -------------------------------------------------------------------------------- /genjava/gj-scrape/benchmark/run2.0.sh: -------------------------------------------------------------------------------- 1 | java -classpath .:../target/gj-scrape-2.0.jar:/Users/hen/.maven/repository/commons-lang/jars/commons-lang-2.0.jar Large 2 | -------------------------------------------------------------------------------- /scraping-engine/src/examples/template/jndi.properties: -------------------------------------------------------------------------------- 1 | java.naming.factory.initial=org.osjava.sj.SimpleContextFactory 2 | 3 | org.osjava.sj.root=file://conf 4 | -------------------------------------------------------------------------------- /simple-jndi/src/examples/Collections/properties/config/shopping.properties: -------------------------------------------------------------------------------- 1 | item=orange 2 | item=apple 3 | item=ice cream 4 | item=potatoes 5 | payment=cash 6 | -------------------------------------------------------------------------------- /genjava/gj-core/src/java/com/generationjava/jdbc/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | Wrappers and Helpers for JDBC. 5 |

6 | 7 | 8 | -------------------------------------------------------------------------------- /genjava/gj-gui/src/java/com/generationjava/swing/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | Lots of lovely Swing widgets. 5 |

6 | 7 | 8 | -------------------------------------------------------------------------------- /genjava/gj-scrape/benchmark/compile.sh: -------------------------------------------------------------------------------- 1 | javac -classpath ../target/gj-scrape-2.0.jar:/Users/hen/.maven/repository/commons-lang/jars/commons-lang-2.0.jar Large.java 2 | -------------------------------------------------------------------------------- /genjava/gj-servlet/src/java/com/generationjava/servlet/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | Helpers for javax.servlet. 5 |

6 | 7 | 8 | -------------------------------------------------------------------------------- /mudclient/src/resources/org/cyberiantiger/mudclient/about.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/mudclient/src/resources/org/cyberiantiger/mudclient/about.gif -------------------------------------------------------------------------------- /runsql/example/config/CmdLine.properties: -------------------------------------------------------------------------------- 1 | type=javax.sql.DataSource 2 | driver=org.hsqldb.jdbcDriver 3 | url=jdbc:hsqldb:hsql://localhost 4 | user=sa 5 | password= 6 | -------------------------------------------------------------------------------- /scraping-engine/src/examples/Ftp/run.sh: -------------------------------------------------------------------------------- 1 | CP=. 2 | for i in lib/*.jar 3 | do 4 | CP=$CP:$i 5 | done 6 | java -classpath $CP org.osjava.oscube.container.Engine 7 | -------------------------------------------------------------------------------- /simple-jndi/src/examples/Datasource/ini/config/java.ini: -------------------------------------------------------------------------------- 1 | [FlamefewDS] 2 | type=javax.sql.DataSource 3 | url=foofoo 4 | driver=bing 5 | user=Boo 6 | password=bong 7 | -------------------------------------------------------------------------------- /simple-jndi/src/examples/Datasource/properties/config/FlamefewDS.properties: -------------------------------------------------------------------------------- 1 | type=javax.sql.DataSource 2 | url=foofoo 3 | driver=bing 4 | user=Boo 5 | password=bong 6 | -------------------------------------------------------------------------------- /code316-core/TODO.txt: -------------------------------------------------------------------------------- 1 | From the now defunct JIRA: 2 | 3 | * FileUtil class should accept a java.io.File object in addition to String 4 | its the decent thing to do 5 | -------------------------------------------------------------------------------- /dormant/atom4j/index.html: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | Please see this page. 7 | -------------------------------------------------------------------------------- /jardiff/src/resources/jardiff.properties: -------------------------------------------------------------------------------- 1 | # Ant properties defining tasks. 2 | jdxslt=org.osjava.jardiff.ant.JDXSLTProcess 3 | jardiff=org.osjava.jardiff.ant.JarDiffTask 4 | -------------------------------------------------------------------------------- /scraping-engine/src/examples/Comics/build.sh: -------------------------------------------------------------------------------- 1 | CP=. 2 | for i in lib/*.jar 3 | do 4 | CP=$CP:$i 5 | done 6 | javac -classpath cron/:$CP com/generationjava/*/*.java 7 | -------------------------------------------------------------------------------- /scraping-engine/src/examples/Comics/run.sh: -------------------------------------------------------------------------------- 1 | CP=. 2 | for i in lib/*.jar 3 | do 4 | CP=$CP:$i 5 | done 6 | java -classpath cron/:$CP org.osjava.oscube.container.Engine 7 | -------------------------------------------------------------------------------- /scraping-engine/src/examples/template/run.sh: -------------------------------------------------------------------------------- 1 | CP=. 2 | for i in lib/*.jar 3 | do 4 | CP=$CP:$i 5 | done 6 | java -classpath $CP org.osjava.oscube.container.Engine 7 | -------------------------------------------------------------------------------- /simple-jndi/src/test/config/java.properties: -------------------------------------------------------------------------------- 1 | TestDS/type=javax.sql.DataSource 2 | TestDS/url=foofoo 3 | TestDS/driver=bing 4 | TestDS/user=Boo 5 | TestDS/password=bong 6 | -------------------------------------------------------------------------------- /norbert/data/genscape/robots.txt: -------------------------------------------------------------------------------- 1 | # robots.txt for http://www.genscape.com/ 2 | # 6/8/2003 - jpc 3 | 4 | User-agent: * 5 | Disallow: /download/ # temporary download files 6 | -------------------------------------------------------------------------------- /reportrunner/src/java/org/osjava/reportrunner/Nameable.java: -------------------------------------------------------------------------------- 1 | package org.osjava.reportrunner; 2 | 3 | public interface Nameable { 4 | 5 | String getName(); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /reportrunner/webapp/WEB-INF/lib/velocity.properties: -------------------------------------------------------------------------------- 1 | resource.loader=class 2 | class.resource.loader.class=org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader 3 | -------------------------------------------------------------------------------- /scraping-engine/src/examples/Comics/test.sh: -------------------------------------------------------------------------------- 1 | CP=. 2 | for i in lib/*.jar 3 | do 4 | CP=$CP:$i 5 | done 6 | java -classpath test/:$CP org.osjava.oscube.container.Engine 7 | -------------------------------------------------------------------------------- /simple-jndi/src/java/org/osjava/sj/memory/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | A memory-based JNDI implementation. 5 |

6 | 7 | 8 | -------------------------------------------------------------------------------- /simple-jndi/src/java/org/osjava/sj/naming/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | Helper classes for clients of JNDI servers. 5 |

6 | 7 | 8 | -------------------------------------------------------------------------------- /simple-jndi/src/test/config/TopLevelDS.properties: -------------------------------------------------------------------------------- 1 | type=javax.sql.DataSource 2 | driver=org.gjt.mm.mysql.Driver 3 | url=jdbc:mysql://127.0.0.1/tmp 4 | user=sa 5 | password=ping 6 | -------------------------------------------------------------------------------- /viewrepo/multijavadoc/src/resources/footer-index-template.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |
Generated by multidoc-jnr
5 | 6 | 7 | -------------------------------------------------------------------------------- /dormant/logview/src/java/com/generationjava/logview/docs/LogDesign.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/HEAD/dormant/logview/src/java/com/generationjava/logview/docs/LogDesign.pdf -------------------------------------------------------------------------------- /genjava/gj-scrape/src/java/com/generationjava/scrape/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | A HtmlScraping library. Well really an Xml one. 5 |

6 | 7 | 8 | -------------------------------------------------------------------------------- /mudclient/src/java/org/cyberiantiger/telnet/BinaryData.java: -------------------------------------------------------------------------------- 1 | package org.cyberiantiger.telnet; 2 | 3 | public interface BinaryData { 4 | 5 | public byte[] getBytes(); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /simple-jndi/src/examples/Collections/run-xml.sh: -------------------------------------------------------------------------------- 1 | java -classpath ../../../target/simple-jndi-0.8.jar:.:xml:/Users/hen/.maven/repository/genjava/jars/gj-xml-1.0.jar example_code.Example 2 | -------------------------------------------------------------------------------- /simple-jndi/src/examples/Datasource/run-xml.sh: -------------------------------------------------------------------------------- 1 | java -classpath ../../../target/simple-jndi-0.8.jar:.:xml:/Users/hen/.maven/repository/genjava/jars/gj-xml-1.0.jar example_code.Example 2 | -------------------------------------------------------------------------------- /simple-jndi/src/java/org/osjava/sj/jndi/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | Support classes for writing JNDI implementations. 5 |

6 | 7 | 8 | -------------------------------------------------------------------------------- /simple-jndi/src/test/config/java--.properties: -------------------------------------------------------------------------------- 1 | TestDS/type=javax.sql.DataSource 2 | TestDS/url=foofoo 3 | TestDS/driver=bing 4 | TestDS/user=Boo 5 | TestDS/password=bong 6 | magic=42 7 | -------------------------------------------------------------------------------- /dormant/logview/src/java/com/generationjava/logview/LogType.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.logview; 2 | 3 | public interface LogType { 4 | 5 | public String getName(); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /genjava/gj-core/src/java/com/generationjava/io/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | Standard io code. Also see Apache Commons IO. [sandbox]. 5 |

6 | 7 | 8 | -------------------------------------------------------------------------------- /simple-jndi/src/test/config/enc-test/jdbc.properties: -------------------------------------------------------------------------------- 1 | myoracle/type=javax.sql.DataSource 2 | myoracle/url=foofoo 3 | myoracle/driver=bing 4 | myoracle/user=Boo 5 | myoracle/password=bong 6 | -------------------------------------------------------------------------------- /charlotte/xdocs/style/custom.css: -------------------------------------------------------------------------------- 1 | 2 | .code { 3 | margin-left: 4em; 4 | margin-right: 4em; 5 | padding: 1em; 6 | background-color: #eeffee; 7 | border: 1px solid #aaa; 8 | } 9 | 10 | -------------------------------------------------------------------------------- /dormant/multidoc/docs/multidoc.js: -------------------------------------------------------------------------------- 1 | function load() { 2 | for(var i=0; i < arguments.length; i+=2) { 3 | parent.frames[arguments[i]].location.href=arguments[i+1]; 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /genjava/gj-core/src/java/com/generationjava/net/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | Wrappers and helpers for java.net. Also see Apache Commons Net. 5 |

6 | 7 | 8 | -------------------------------------------------------------------------------- /reportrunner/webapp/header.inc: -------------------------------------------------------------------------------- 1 | 2 | 3 | ReportRunner 4 | 5 | 6 | 7 |

ReportRunner

8 | -------------------------------------------------------------------------------- /simple-jndi/src/java/org/osjava/sj/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | A toolset of simple components that make JNDI life much easier. 5 |

6 | 7 | 8 | -------------------------------------------------------------------------------- /simple-jndi/src/test/config/thing/jdbc/BTestDS.properties: -------------------------------------------------------------------------------- 1 | type=javax.sql.DataSource 2 | driver=org.gjt.mm.mysql.Driver 3 | url=jdbc:mysql://192.168.133.2/bikehell 4 | user=nico 5 | password=bear 6 | -------------------------------------------------------------------------------- /dormant/logview/src/java/com/generationjava/logview/Renderer.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.logview; 2 | 3 | public interface Renderer { 4 | 5 | public void render(Report report); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /simple-jndi/src/examples/Collections/ini/jndi.properties: -------------------------------------------------------------------------------- 1 | java.naming.factory.initial=org.osjava.jndi.PropertiesFactory 2 | org.osjava.jndi.root=classpath://config 3 | 4 | org.osjava.jndi.delimiter=/ 5 | -------------------------------------------------------------------------------- /simple-jndi/src/examples/Collections/xml/jndi.properties: -------------------------------------------------------------------------------- 1 | java.naming.factory.initial=org.osjava.jndi.PropertiesFactory 2 | org.osjava.jndi.root=classpath://config 3 | 4 | org.osjava.jndi.delimiter=/ 5 | -------------------------------------------------------------------------------- /simple-jndi/src/examples/Datasource/ini/jndi.properties: -------------------------------------------------------------------------------- 1 | java.naming.factory.initial=org.osjava.jndi.PropertiesFactory 2 | org.osjava.jndi.root=classpath://config 3 | 4 | org.osjava.jndi.delimiter=/ 5 | -------------------------------------------------------------------------------- /simple-jndi/src/examples/Datasource/xml/jndi.properties: -------------------------------------------------------------------------------- 1 | java.naming.factory.initial=org.osjava.jndi.PropertiesFactory 2 | org.osjava.jndi.root=classpath://config 3 | 4 | org.osjava.jndi.delimiter=/ 5 | -------------------------------------------------------------------------------- /dormant/logview/src/java/com/generationjava/logview/LogFilter.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.logview; 2 | 3 | public interface LogFilter { 4 | 5 | public LogEvent filter(LogEvent event); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /simple-jndi/src/java/org/osjava/sj/loader/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | Easy way to load values from .properties files into a JNDI system. 5 |

6 | 7 | 8 | -------------------------------------------------------------------------------- /simple-jndi/src/test/config/pooltest/OneDS.properties: -------------------------------------------------------------------------------- 1 | type=javax.sql.DataSource 2 | driver=org.gjt.mm.mysql.Driver 3 | url=jdbc:mysql://192.168.133.2/bikes 4 | user=nico 5 | password=bear 6 | pool=one 7 | -------------------------------------------------------------------------------- /simple-jndi/src/test/config/pooltest/TestDS.properties: -------------------------------------------------------------------------------- 1 | type=javax.sql.DataSource 2 | driver=org.gjt.mm.mysql.Driver 3 | url=jdbc:mysql://192.168.133.2/bikes 4 | user=nico 5 | password=bear 6 | pool=true 7 | -------------------------------------------------------------------------------- /code316-core/project.properties: -------------------------------------------------------------------------------- 1 | maven.repo.remote=http://repo1.maven.org/maven 2 | 3 | maven.javadoc.stylesheet = ../osjavadoc-style.css 4 | maven.javadoc.links=http://java.sun.com/j2se/1.4.2/docs/api/ 5 | -------------------------------------------------------------------------------- /genjava/gj-core/src/java/com/generationjava/lang/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | Wrappers and helpers for classes in java.lang. Also see Apache Commons Lang. 5 |

6 | 7 | 8 | -------------------------------------------------------------------------------- /simple-jndi/src/examples/Collections/properties/jndi.properties: -------------------------------------------------------------------------------- 1 | java.naming.factory.initial=org.osjava.jndi.PropertiesFactory 2 | org.osjava.jndi.root=classpath://config 3 | 4 | org.osjava.jndi.delimiter=/ 5 | -------------------------------------------------------------------------------- /simple-jndi/src/examples/Collections/xml/config/default.xml: -------------------------------------------------------------------------------- 1 | 2 | orange 3 | apple 4 | ice cream 5 | potatoes 6 | 7 | -------------------------------------------------------------------------------- /simple-jndi/src/examples/Datasource/properties/jndi.properties: -------------------------------------------------------------------------------- 1 | java.naming.factory.initial=org.osjava.jndi.PropertiesFactory 2 | org.osjava.jndi.root=classpath://config 3 | 4 | org.osjava.jndi.delimiter=/ 5 | -------------------------------------------------------------------------------- /mudclient/src/java/org/cyberiantiger/console/ConsoleWriter.java: -------------------------------------------------------------------------------- 1 | package org.cyberiantiger.console; 2 | 3 | public interface ConsoleWriter { 4 | 5 | public void consoleAction(ConsoleAction con); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /viewrepo/multijavadoc/multidoc.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | CP="." 4 | 5 | for i in lib/*.jar; do 6 | CP=$CP:$i 7 | done 8 | 9 | java -classpath $CP:target/multidoc-0.2.jar org.osjava.multidoc.Multidoc $@ 10 | -------------------------------------------------------------------------------- /dormant/logview/src/java/com/generationjava/logview/Reportlet.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.logview; 2 | 3 | public interface Reportlet { 4 | 5 | public Report report(Log log) throws LogViewException; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /genjava/gj-gui/src/java/com/generationjava/swing/GJTableListener.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.swing; 2 | 3 | public interface GJTableListener { 4 | 5 | public void rowRemoved(GJTableEvent event); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /mudclient/src/java/org/cyberiantiger/mudclient/ui/ConsoleModelListener.java: -------------------------------------------------------------------------------- 1 | package org.cyberiantiger.mudclient.ui; 2 | 3 | public interface ConsoleModelListener { 4 | 5 | public void consoleChanged(); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /simple-jndi/src/examples/Datasource/properties/config/java.properties: -------------------------------------------------------------------------------- 1 | FlamefewDS/type=javax.sql.DataSource 2 | FlamefewDS/url=foofoo 3 | FlamefewDS/driver=bing 4 | FlamefewDS/user=BooBoo 5 | FlamefewDS/password=bong 6 | -------------------------------------------------------------------------------- /genjava/gj-core/src/java/com/generationjava/compare/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | Comparators. Some are at Apache Commons Collections. BeanComparator is very 5 | nice. 6 |

7 | 8 | 9 | -------------------------------------------------------------------------------- /genjava/gj-gui/src/java/com/generationjava/swing/GJTableSortListener.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.swing; 2 | 3 | public interface GJTableSortListener { 4 | 5 | public void rowsMoved(GJTableEvent event); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /pergamum/content/book.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | $isbn 4 | 5 | -------------------------------------------------------------------------------- /simple-jndi/src/examples/Datasource/readme.txt: -------------------------------------------------------------------------------- 1 | Note that the properties option does not use a jndi.properties, while the 2 | ini and xml options do. This is merely to show the usage of -D parameters 3 | to set up the JNDI. 4 | -------------------------------------------------------------------------------- /simple-jndi/src/test/config/thing/db.properties: -------------------------------------------------------------------------------- 1 | ATestDS/type=javax.sql.DataSource 2 | ATestDS/driver=org.gjt.mm.mysql.Driver 3 | ATestDS/url=jdbc:mysql://192.168.133.2/bikehell 4 | ATestDS/user=nico 5 | ATestDS/password=bear 6 | -------------------------------------------------------------------------------- /genjava/gj-gui/src/java/com/generationjava/awt/PanelFactory.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.awt; 2 | 3 | import java.awt.Panel; 4 | 5 | public interface PanelFactory { 6 | 7 | public Panel createPanel(String name); 8 | 9 | } -------------------------------------------------------------------------------- /reportrunner/src/java/org/osjava/reportrunner/Formatter.java: -------------------------------------------------------------------------------- 1 | package org.osjava.reportrunner; 2 | 3 | public interface Formatter { 4 | 5 | Object format(Object input); 6 | void setPattern(String pattern); 7 | 8 | } 9 | -------------------------------------------------------------------------------- /reportrunner/src/java/org/osjava/webwizard/templates/header.inc: -------------------------------------------------------------------------------- 1 | 2 | 3 | ReportRunner 4 | 5 | 6 | 7 |

ReportRunner

8 | -------------------------------------------------------------------------------- /dormant/logview/src/java/com/generationjava/logview/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | A format-generic log reporting system. Quite nice, finished, just needs 5 | loglets to be added. 6 |

7 | 8 | 9 | -------------------------------------------------------------------------------- /reportrunner/src/java/org/osjava/reportrunner/Parser.java: -------------------------------------------------------------------------------- 1 | package org.osjava.reportrunner; 2 | 3 | public interface Parser { 4 | 5 | Object parse(String input, Class type); 6 | void setPattern(String pattern); 7 | 8 | } 9 | -------------------------------------------------------------------------------- /pergamum/content/listcategories.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Categories 4 | 5 | -------------------------------------------------------------------------------- /pergamum/content/listpublishers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Publishers 4 | 5 | -------------------------------------------------------------------------------- /simple-jndi/src/test/config/xmltest.xml: -------------------------------------------------------------------------------- 1 | 2 | 13 3 | 4 | 5 | Bang 6 | 7 | 8 | one 9 | two 10 | 11 | 12 | -------------------------------------------------------------------------------- /dormant/hibernate-taglib/runc.sh: -------------------------------------------------------------------------------- 1 | javac -classpath .:commons-beanutils.jar:servlet-api.jar:hibernate2.jar:jsp-api.jar org/osjava/hibernate/taglib/*.java 2 | jar cf hibernate-taglib.jar org/osjava/hibernate/taglib/*.class META-INF/taglib.tld 3 | -------------------------------------------------------------------------------- /reportrunner/src/java/org/osjava/webwizard/templates/empty_report_exception.vm: -------------------------------------------------------------------------------- 1 | #include( "org/osjava/webwizard/templates/header.inc" ) 2 | 3 | The report has returned no data. 4 | 5 | #include( "org/osjava/webwizard/templates/footer.inc" ) 6 | -------------------------------------------------------------------------------- /scraping-engine/src/examples/template/README.txt: -------------------------------------------------------------------------------- 1 | The accompanying system is a basic template for using scraping engine. 2 | 3 | Execute download.sh to grab the necessary dependencies, then execute run.sh to scrape the osjava.org front page. 4 | -------------------------------------------------------------------------------- /simple-jndi/src/examples/Datasource/xml/config/java.xml: -------------------------------------------------------------------------------- 1 | 2 | foofoo 3 | bing 4 | Boo 5 | bong 6 | javax.sql.DataSource 7 | 8 | -------------------------------------------------------------------------------- /pergamum/content/category-books.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | $id 4 | 5 | -------------------------------------------------------------------------------- /simple-jndi/src/examples/Datasource/xml/config/default.xml: -------------------------------------------------------------------------------- 1 | 2 | foofoo 3 | bing 4 | Boo 5 | bong 6 | javax.sql.DataSource 7 | 8 | -------------------------------------------------------------------------------- /pergamum/content/publisher-books.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | $id 4 | 5 | -------------------------------------------------------------------------------- /reportrunner/webapp/WEB-INF/lib/toolbox.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | rrr 5 | application 6 | org.osjava.reportrunner.webwizard.ReportRunnerTool 7 | 8 | 9 | -------------------------------------------------------------------------------- /dormant/multidoc/src/java/org/osjava/multidoc/DocumentCreator.java: -------------------------------------------------------------------------------- 1 | package org.osjava.multidoc; 2 | 3 | import java.io.IOException; 4 | 5 | public interface DocumentCreator { 6 | 7 | Document create(String url) throws IOException; 8 | 9 | } 10 | -------------------------------------------------------------------------------- /pergamum/content/listbooks.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Pergamum: Books on Open Source Java 4 | 5 | -------------------------------------------------------------------------------- /reportrunner/conf/rrr-resources.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /mudclient/src/java/org/cyberiantiger/mudclient/input/RecursionException.java: -------------------------------------------------------------------------------- 1 | package org.cyberiantiger.mudclient.input; 2 | 3 | /** 4 | * Exception for when aliases recurse too deeply. 5 | */ 6 | public class RecursionException extends RuntimeException { 7 | } 8 | -------------------------------------------------------------------------------- /mudclient/src/java/org/cyberiantiger/telnet/SimpleTelnetOption.java: -------------------------------------------------------------------------------- 1 | package org.cyberiantiger.telnet; 2 | 3 | public class SimpleTelnetOption extends AbstractTelnetOption { 4 | 5 | public SimpleTelnetOption(int option) { 6 | super(option); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /code316-core/src/java/code316/core/ClassFinder.java: -------------------------------------------------------------------------------- 1 | 2 | package code316.core; 3 | 4 | public class ClassFinder { 5 | public static void main(String[] args) { 6 | // args 7 | // TODO fillin 8 | 9 | } 10 | 11 | } 12 | -------------------------------------------------------------------------------- /reportrunner/src/java/org/osjava/reportrunner/Result.java: -------------------------------------------------------------------------------- 1 | package org.osjava.reportrunner; 2 | 3 | public interface Result { 4 | 5 | Object[] nextRow(); 6 | boolean hasNextRow(); 7 | void reset(); 8 | 9 | Column[] getHeader(); 10 | 11 | } 12 | -------------------------------------------------------------------------------- /charlotte/xdocs/tcp-header.enc: -------------------------------------------------------------------------------- 1 | name: TCP Header 2 | version=4 3 | headerLength=4 4 | typeOfService=8 5 | totalLength=16 6 | id=16 7 | flags=3 8 | fragmentOffset=13 9 | timeToLive=8 10 | protocol=8 11 | headerChecksum=16 12 | sourceIp=32 13 | destinationIp=32 -------------------------------------------------------------------------------- /genjava/gj-gui/src/java/com/generationjava/awt/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | Generic components that aide when coding with AWT. Some parts will also 5 | be of use when using Swing due to Swing's descendency from AWT. 6 |

7 | 8 | 9 | -------------------------------------------------------------------------------- /reportrunner/src/java/org/osjava/reportrunner/EmptyReportException.java: -------------------------------------------------------------------------------- 1 | package org.osjava.reportrunner; 2 | 3 | public class EmptyReportException extends ReportException { 4 | 5 | public EmptyReportException() { 6 | super(); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /scraping-engine/src/examples/Ftp/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootCategory=ERROR, stdout 2 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 3 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 4 | log4j.appender.stdout.layout.ConversionPattern=%5p (%c) - %m%n 5 | -------------------------------------------------------------------------------- /cachew/src/java/org/osjava/cachew/CachewItemCreator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Created on Jun 10, 2005 3 | */ 4 | package org.osjava.cachew; 5 | 6 | /** 7 | * @author hen 8 | */ 9 | public interface CachewItemCreator { 10 | 11 | CachewItem create(String url); 12 | 13 | } 14 | -------------------------------------------------------------------------------- /dormant/logview/src/java/com/generationjava/logview/LogField.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.logview; 2 | 3 | public interface LogField { 4 | 5 | public LogType getType(); 6 | 7 | public String getName(); 8 | 9 | public Object getValue(); 10 | 11 | } 12 | -------------------------------------------------------------------------------- /dormant/multidoc/src/java/org/osjava/multidoc/DocumentProjectCreator.java: -------------------------------------------------------------------------------- 1 | package org.osjava.multidoc; 2 | 3 | import java.io.IOException; 4 | 5 | public interface DocumentProjectCreator { 6 | 7 | DocumentProject create(String url) throws IOException; 8 | 9 | } 10 | -------------------------------------------------------------------------------- /genjava/gj-core/src/java/com/generationjava/namespace/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | A generic concept of a namespace. Needs to have scope added at some point 5 | so that scope may be added and removed in a stack like way. 6 |

7 | 8 | 9 | -------------------------------------------------------------------------------- /scraping-engine/src/examples/Comics/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootCategory=ERROR, stdout 2 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 3 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 4 | log4j.appender.stdout.layout.ConversionPattern=%5p (%c) - %m%n 5 | -------------------------------------------------------------------------------- /scraping-engine/src/examples/template/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootCategory=ERROR, stdout 2 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 3 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 4 | log4j.appender.stdout.layout.ConversionPattern=%5p (%c) - %m%n 5 | -------------------------------------------------------------------------------- /simple-jndi/src/examples/Datasource/run-properties.sh: -------------------------------------------------------------------------------- 1 | java -classpath ../../../target/simple-jndi-0.8.jar:.:properties -Djava.naming.factory.initial=org.osjava.jndi.PropertiesFactory -Dorg.osjava.jndi.root=classpath://config -Dorg.osjava.jndi.delimiter=/ example_code.Example 2 | -------------------------------------------------------------------------------- /mudclient/src/java/org/cyberiantiger/telnet/UnknownTelnetOption.java: -------------------------------------------------------------------------------- 1 | package org.cyberiantiger.telnet; 2 | 3 | public class UnknownTelnetOption extends AbstractTelnetOption { 4 | 5 | public UnknownTelnetOption(int option) { 6 | super(option); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /charlotte/TODO.txt: -------------------------------------------------------------------------------- 1 | From the now defunct JIRA: 2 | 3 | * user documentation 4 | 5 | * move utility functions out the encoding class into the EncodingUtil class 6 | 7 | * code generation 8 | the ability to generate class files representing the values described by an encoding instance. 9 | -------------------------------------------------------------------------------- /dormant/logview/src/java/com/generationjava/logview/loglet/StreamLoglet.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.logview.loglet; 2 | 3 | abstract public class StreamLoglet extends AbstractLoglet { 4 | 5 | public StreamLoglet(String name) { 6 | super(name); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /genjava/gj-gui/src/java/com/generationjava/awt/MulticastRequestEvent.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.awt; 2 | 3 | public class MulticastRequestEvent extends RequestEvent { 4 | 5 | public MulticastRequestEvent(String name, Object value) { 6 | super(name, value); 7 | } 8 | 9 | } -------------------------------------------------------------------------------- /orcs/DataSourceWizard/src/java/org/osjava/dswiz/JBlank.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Created on Oct 11, 2005 3 | */ 4 | package org.osjava.dswiz; 5 | 6 | import javax.swing.JComponent; 7 | 8 | /** 9 | * @author hyandell 10 | */ 11 | public class JBlank extends JComponent { 12 | 13 | } 14 | -------------------------------------------------------------------------------- /simple-jndi/src/test/config/thing/db2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.gjt.mm.mysql.Driver 4 | jdbc:mysql://192.168.133.2/bikehell 5 | nico 6 | bear 7 | 8 | -------------------------------------------------------------------------------- /sqlite-jdbc/src/jni/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | cc -g -Wall -c -I/System/Library/Frameworks/JavaVM.framework/Headers -I/opt/local/include sqlite-jdbc.c 3 | cc -Wall -dynamiclib -o libsqlite-jdbc.jnilib sqlite-jdbc.o -L/opt/local/lib -lsqlite3 -framework JavaVM 4 | 5 | clean: 6 | -rm *.o *.jnilib *.so 7 | -------------------------------------------------------------------------------- /genjava/gj-core/src/java/com/generationjava/random/beans-random-todo: -------------------------------------------------------------------------------- 1 | Suck RandomString over. 2 | 3 | RandomBeanMaker needs a Dynamic Proxy one if the Class passed in is an interface. 4 | 5 | NullBeanMaker needs to emulate RandomBeanMaker, though it'll need a little 6 | help from the developer. 7 | 8 | -------------------------------------------------------------------------------- /mudclient/src/java/org/cyberiantiger/telnet/TelnetNegotiation.java: -------------------------------------------------------------------------------- 1 | package org.cyberiantiger.telnet; 2 | 3 | public class TelnetNegotiation extends AbstractTelnetSubOption { 4 | 5 | public TelnetNegotiation(int option, int suboption) { 6 | super(option, suboption); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /mudclient/src/java/org/cyberiantiger/console/NullConsoleAction.java: -------------------------------------------------------------------------------- 1 | package org.cyberiantiger.console; 2 | 3 | public class NullConsoleAction extends AbstractConsoleAction { 4 | 5 | public NullConsoleAction() { 6 | } 7 | 8 | public void apply(Console con) { 9 | } 10 | 11 | } 12 | -------------------------------------------------------------------------------- /runsql/xdocs/tasks.xml: -------------------------------------------------------------------------------- 1 | various ideas for runsql: 2 | 3 | 4 | echo foo | runsql [DONE] 5 | meta-runsql. find out meta information on parts of the system. tables, schemas 6 | etc. 7 | csv importer/exporter 8 | 9 | improve the renderer in runsql, so it can output as SQL statements, tsv, csv etc 10 | -------------------------------------------------------------------------------- /simple-jndi/src/test/config/pooltest/TwoDS.properties: -------------------------------------------------------------------------------- 1 | type=javax.sql.DataSource 2 | driver=org.gjt.mm.mysql.Driver 3 | url=jdbc:mysql://192.168.133.2/bikehell 4 | user=nico 5 | password=bear 6 | pool=two 7 | dbcpDefaultReadOnly=true 8 | dbcpValidationQuery=SELECT * FROM Bikes 9 | dbcpMaxActive=125 10 | -------------------------------------------------------------------------------- /reportrunner/conf/rrr.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | txt,csv,excel,html 6 | 7 | 8 | -------------------------------------------------------------------------------- /runsql/run.sh: -------------------------------------------------------------------------------- 1 | LIB=lib/ 2 | java -classpath example:$LIB/oracle/jars/classes12.jar:target/runsql-0.1.jar:$LIB:$LIB/genjava/jars/gj-core-3.0.jar:$LIB/commons-lang/jars/commons-lang-2.0.jar:$LIB/simple-jndi/jars/simple-jndi-0.9.jar:$LIB/commons-dbutils/jars/commons-dbutils-1.0.jar org.osjava.runsql.RunSql GenscapeDS 3 | -------------------------------------------------------------------------------- /simple-jndi/src/test/config/pooltest/ThreeDS.properties: -------------------------------------------------------------------------------- 1 | type=javax.sql.DataSource 2 | driver=org.gjt.mm.mysql.Driver 3 | url=jdbc:mysql://192.168.133.2/bikehell 4 | user=nico 5 | password=bear 6 | pool=three 7 | dbcpDefaultReadOnly=true 8 | dbcpValidationQuery=SELECT * FROM Bikes 9 | dbcpMaxActive=125 10 | -------------------------------------------------------------------------------- /mudclient/src/java/org/cyberiantiger/console/ConsoleAction.java: -------------------------------------------------------------------------------- 1 | package org.cyberiantiger.console; 2 | 3 | public interface ConsoleAction { 4 | 5 | public void apply(Console console); 6 | 7 | public boolean isEndOfLine(); 8 | 9 | public void appendToBuffer(StringBuffer buffer); 10 | 11 | } 12 | -------------------------------------------------------------------------------- /mudclient/src/html/applet.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Elephant mud applet 4 | 5 | 6 | 7 | Get Java 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /mudclient/src/java/org/cyberiantiger/console/BeepConsoleAction.java: -------------------------------------------------------------------------------- 1 | package org.cyberiantiger.console; 2 | 3 | public class BeepConsoleAction extends AbstractConsoleAction { 4 | 5 | public BeepConsoleAction() { 6 | } 7 | 8 | public void apply(Console con) { 9 | con.beep(); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /viewrepo/multijavadoc/src/scripts/Multidoc.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | unset CLASSPATH 4 | 5 | CLASSPATH="." 6 | 7 | for i in *.jar; do 8 | CLASSPATH="$CLASSPATH:$i" 9 | done 10 | 11 | export CLASSPATH 12 | 13 | if [ ! -f Multidoc.class ]; then 14 | javac Multidoc.java 15 | fi 16 | 17 | java Multidoc $@ 18 | -------------------------------------------------------------------------------- /nextjen/WISHLIST: -------------------------------------------------------------------------------- 1 | - Support for FOP. 2 | - Support for random output plugins, e.g. java style. 3 | [pretty print java, so you don't have to worry about formatting in your 4 | xslts] 5 | - Write some more examples. 6 | - Code an ant task. 7 | - Clean up throw Exception in source code 8 | - Clean up imports in source code 9 | -------------------------------------------------------------------------------- /scripts4java/reportcount.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl 2 | 3 | sub numerically { $a <=> $b; } 4 | 5 | while(<>) { 6 | $report{$_} = $report{$_} + 1; 7 | } 8 | 9 | while( ($key,$value) = each(%report) ) { 10 | push @report, ("$value - $key"); 11 | } 12 | 13 | $"="\n"; 14 | 15 | print reverse sort numerically @report; 16 | -------------------------------------------------------------------------------- /genjava/gj-core/src/java/com/generationjava/collections/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | Generic collections. Some have gone to Apache Commons Collections, others 5 | are already replicated there. At some point the ones which are at Apache 6 | will need to be dropped. 7 |

8 | 9 | 10 | -------------------------------------------------------------------------------- /reportrunner/conf/reportrunner.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /dormant/logview/src/java/com/generationjava/logview/LogIterator.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.logview; 2 | 3 | import java.util.Iterator; 4 | 5 | public interface LogIterator extends Iterator { 6 | 7 | public LogEvent nextLogEvent() throws LogViewException; 8 | 9 | public LogEvent currentLogEvent(); 10 | 11 | } 12 | -------------------------------------------------------------------------------- /dormant/logview/src/java/com/generationjava/logview/LogSource.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.logview; 2 | 3 | import java.util.Iterator; 4 | 5 | public interface LogSource extends Iterator { 6 | 7 | public String nextEntry(); 8 | 9 | public String currentEntry(); 10 | 11 | public void reset(); 12 | 13 | } 14 | -------------------------------------------------------------------------------- /dormant/logview/src/java/com/generationjava/logview/builder/parse/LiteralParseToken.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.logview.builder.parse; 2 | 3 | public class LiteralParseToken extends AbstractParseToken { 4 | 5 | public LiteralParseToken(String value) { 6 | super(value, ParseToken.LITERAL); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /runsql/example/sql/BOOTSTRAP.sql: -------------------------------------------------------------------------------- 1 | INSERT INTO Report (name, sql, age) VALUES ('foo', 'select foo', '95'); 2 | INSERT INTO Report (name, sql, age) VALUES ('bar', 'select poo', '5'); 3 | INSERT INTO Report (name, sql, age) VALUES ('poo', 'delete foo', '9'); 4 | INSERT INTO Report (name, sql, age) VALUES ('barry', 'select wfoo', '9191'); 5 | -------------------------------------------------------------------------------- /dormant/logview/src/java/com/generationjava/logview/builder/parse/VariableParseToken.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.logview.builder.parse; 2 | 3 | public class VariableParseToken extends AbstractParseToken { 4 | 5 | public VariableParseToken(String value, String type) { 6 | super(value, type); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /mudclient/deploy.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | 4 | # Deploy script for mudclient. 5 | 6 | java-config -s 1 7 | 8 | export JAVA_HOME="$(java-config -O)" 9 | 10 | mvn clean install 11 | 12 | jarsigner target/mudclient-1.0.jar thawtefreemail 13 | 14 | cp target/mudclient-1.0.jar /www/www.cyberiantiger.org/ 15 | 16 | java-config -s 2 17 | -------------------------------------------------------------------------------- /scraping-engine/src/examples/template/conf/default.properties: -------------------------------------------------------------------------------- 1 | org.osjava.oscube.runner=org.osjava.scraping.ScrapingRunner 2 | org.osjava.oscube.prefix=org.osjava.scrapers 3 | 4 | org.osjava.scrapers=Example 5 | 6 | Example.uri=http://www.osjava.org/ 7 | Example.parser=org.osjava.scraping.parser.PassThroughParser 8 | Example.store=Console 9 | -------------------------------------------------------------------------------- /reportrunner/xdocs/changes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Henri Yandell 6 | Changes 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /runsql/example/sql/SCHEMA.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE Bandwidth; 2 | CREATE TABLE Bandwidth ( 3 | last_total varchar(255), 4 | this_total varchar(255), 5 | last_in varchar(255), 6 | this_in varchar(255), 7 | last_out varchar(255), 8 | this_out varchar(255), 9 | last_sess varchar(255), 10 | this_sess varchar(255) 11 | ); 12 | -------------------------------------------------------------------------------- /simple-jms/xdocs/changes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Henri Yandell 6 | Release Notes 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /simuchron/src/java/com/generationjava/simuchron/Pre.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.simuchron; 2 | 3 | import java.util.Date; 4 | 5 | import com.generationjava.config.Config; 6 | import org.osjava.oscube.container.Session; 7 | 8 | public interface Pre { 9 | 10 | public Date pre(Date ts, Config config, Session session); 11 | 12 | } 13 | -------------------------------------------------------------------------------- /genjava/gj-beans/xdocs/changes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Henri Yandell 6 | Release Notes 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /genjava/gj-csv/xdocs/changes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Henri Yandell 6 | Release Notes 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /genjava/gj-mail/xdocs/changes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Henri Yandell 6 | Release Notes 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /genjava/gj-tools/xdocs/changes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Henri Yandell 6 | Release Notes 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /mudclient/src/java/org/cyberiantiger/console/AbstractConsoleAction.java: -------------------------------------------------------------------------------- 1 | package org.cyberiantiger.console; 2 | 3 | public abstract class AbstractConsoleAction implements ConsoleAction { 4 | 5 | public boolean isEndOfLine() { 6 | return false; 7 | } 8 | 9 | public void appendToBuffer(StringBuffer buffer) { 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /mudclient/src/java/org/cyberiantiger/console/ClearScreenConsoleAction.java: -------------------------------------------------------------------------------- 1 | package org.cyberiantiger.console; 2 | 3 | public class ClearScreenConsoleAction extends AbstractConsoleAction { 4 | 5 | public void apply(Console con) { 6 | con.clearScreen(); 7 | } 8 | 9 | public boolean isEndOfLine() { 10 | return true; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /genjava/gj-gui/src/java/com/generationjava/swing/GJTableHideException.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.swing; 2 | 3 | public class GJTableHideException extends Exception { 4 | 5 | public GJTableHideException() { 6 | super(); 7 | } 8 | 9 | public GJTableHideException(String msg) { 10 | super(msg); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /genjava/gj-servlet/xdocs/changes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Henri Yandell 6 | Release Notes 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /mudclient/src/java/org/cyberiantiger/telnet/TelnetSession.java: -------------------------------------------------------------------------------- 1 | package org.cyberiantiger.telnet; 2 | 3 | import java.io.*; 4 | 5 | public interface TelnetSession { 6 | 7 | public void receiveOption(TelnetOption opt) 8 | throws IOException; 9 | 10 | public void setOutputStream(OutputStream out) 11 | throws IOException; 12 | 13 | } 14 | -------------------------------------------------------------------------------- /jpe/src/java/com/generationjava/apps/jpe/AskInterface.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.apps.jpe; 2 | 3 | /** 4 | * ask interface is used as a callback system for input dialog handler 5 | * its using a callback so i don't have to use a extra thread 6 | */ 7 | interface AskInterface { 8 | public void askCallback(String command,String result); 9 | } 10 | -------------------------------------------------------------------------------- /scraping-engine/src/examples/Ftp/conf/default.properties: -------------------------------------------------------------------------------- 1 | org.osjava.oscube.runner=org.osjava.scraping.ScrapingRunner 2 | org.osjava.oscube.prefix=org.osjava.scrapers 3 | 4 | org.osjava.scrapers=KernelOrg 5 | 6 | KernelOrg.uri=ftp://ftp.kernel.org/pub/README_ABOUT_BZ2_FILES 7 | KernelOrg.parser=org.osjava.scraping.parser.PassThroughParser 8 | KernelOrg.store=Console 9 | -------------------------------------------------------------------------------- /simuchron/src/java/com/generationjava/simuchron/Post.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.simuchron; 2 | 3 | import java.util.Date; 4 | 5 | import com.generationjava.config.Config; 6 | import org.osjava.oscube.container.Session; 7 | 8 | public interface Post { 9 | 10 | public Number post(Number num, Date ts, Config config, Session session); 11 | 12 | } 13 | -------------------------------------------------------------------------------- /jpe/src/java/com/generationjava/apps/jpe/CompilerException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Created on Aug 23, 2003 3 | */ 4 | package com.generationjava.apps.jpe; 5 | 6 | /** 7 | * @author hen 8 | */ 9 | public class CompilerException extends Exception { 10 | 11 | public CompilerException(Throwable thble) { 12 | super(thble.getMessage()); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /simuchron/src/java/com/generationjava/simuchron/Algorithm.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.simuchron; 2 | 3 | import java.util.Date; 4 | 5 | import com.generationjava.config.Config; 6 | import org.osjava.oscube.container.Session; 7 | 8 | public interface Algorithm { 9 | 10 | public Number evaluate(Date ts, Config config, Session session); 11 | 12 | } 13 | -------------------------------------------------------------------------------- /dormant/logview/src/java/com/generationjava/logview/LogEventContainer.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.logview; 2 | 3 | import java.util.Iterator; 4 | 5 | public interface LogEventContainer { 6 | 7 | public LogEvent getLogEvent(String logEventName); 8 | public void putLogEvent(LogEvent logEvent); 9 | 10 | public Iterator iterateLogEventNames(); 11 | 12 | } 13 | -------------------------------------------------------------------------------- /code316-core/license.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | This work is licensed under the Creative Commons Attribution License. 4 | 5 | A copy of that license is included in this distribution in the file license.html. 6 | 7 | To view a copy of this license, visit http://creativecommons.org/licenses/by/1.0 or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA. 8 | 9 | -------------------------------------------------------------------------------- /dormant/logview/archive/Type.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.logview.archive; 2 | 3 | public interface Type { 4 | 5 | /** 6 | * Is obj1 equal to obj2, within a given error value epsilon. 7 | */ 8 | public boolean equals(Object obj1, Object obj2, Object epsilon); 9 | 10 | public void setValue(Object value); 11 | public Object getValue(); 12 | 13 | } 14 | -------------------------------------------------------------------------------- /dormant/multidoc/xdocs/changes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Henri Yandell 6 | Changes 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /jpe/src/java/com/generationjava/apps/jpe/Handler.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.apps.jpe; 2 | 3 | import java.awt.MenuBar; 4 | 5 | /** 6 | * handler interface used to handlers against to allow for dynamic 7 | * loading of jpe parts in the future 8 | */ 9 | public interface Handler { 10 | public void createMenu(MenuBar bar); 11 | public String getName(); 12 | } 13 | -------------------------------------------------------------------------------- /mudclient/src/java/org/cyberiantiger/mudclient/input/ReplacementSyntaxException.java: -------------------------------------------------------------------------------- 1 | package org.cyberiantiger.mudclient.input; 2 | 3 | /** 4 | * Exception for when parsing a replacement string fails. 5 | */ 6 | public class ReplacementSyntaxException extends RuntimeException { 7 | 8 | public ReplacementSyntaxException(String msg) { 9 | super(msg); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /orcs/DataSourceWizard/src/java/org/osjava/dswiz/DatabaseChosenListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Created on Oct 11, 2005 3 | */ 4 | package org.osjava.dswiz; 5 | 6 | /** 7 | * @author hyandell 8 | */ 9 | public interface DatabaseChosenListener { 10 | 11 | void databaseChosen(String driver, String url); 12 | 13 | void databaseChoiceCancelled(); 14 | 15 | } 16 | -------------------------------------------------------------------------------- /code316-core/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /jardiff/src/examples/README.txt: -------------------------------------------------------------------------------- 1 | This directory contains the following examples. 2 | (They both require that you run maven uberjar first, 3 | or change the library paths appropriately). 4 | 5 | jardiff.sh - shell script to perform a jardiff between 6 | jardiff 0.1 and jardiff 0.2 7 | build.xml - ant build script to perform a jardiff between 8 | jardiff 0.1 and jardiff 0.2 9 | -------------------------------------------------------------------------------- /scraping-engine/src/java/org/osjava/scraping/checking/ExistsHandler.java: -------------------------------------------------------------------------------- 1 | package org.osjava.scraping.checking; 2 | 3 | import java.sql.*; 4 | 5 | import org.apache.commons.dbutils.*; 6 | 7 | public class ExistsHandler implements ResultSetHandler { 8 | 9 | public Object handle(ResultSet rs) throws SQLException { 10 | return new Boolean(rs.next()); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /mudclient/src/java/org/cyberiantiger/console/BoldConsoleAction.java: -------------------------------------------------------------------------------- 1 | package org.cyberiantiger.console; 2 | 3 | public class BoldConsoleAction extends AbstractConsoleAction { 4 | 5 | private boolean bold; 6 | 7 | public BoldConsoleAction(boolean bold) { 8 | this.bold = bold; 9 | } 10 | 11 | public void apply(Console con) { 12 | con.setBold(bold); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /genjava/xdocs/sandbox.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Henri Yandell 6 | Genjava 7 | 8 | 9 | 10 |
11 |

Currently there are no unreleased components.

12 |
13 | 14 |
15 | -------------------------------------------------------------------------------- /mudclient/src/java/org/cyberiantiger/console/FlashConsoleAction.java: -------------------------------------------------------------------------------- 1 | package org.cyberiantiger.console; 2 | 3 | public class FlashConsoleAction extends AbstractConsoleAction { 4 | 5 | private boolean flash; 6 | 7 | public FlashConsoleAction(boolean flash) { 8 | this.flash = flash; 9 | } 10 | 11 | public void apply(Console con) { 12 | con.setFlash(flash); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /runsql/project.properties: -------------------------------------------------------------------------------- 1 | maven.repo.remote=http://dist.osjava.org/maven/,http://repo1.maven.org/maven/ 2 | 3 | maven.changelog.factory=org.apache.maven.svnlib.SvnChangeLogFactory 4 | 5 | maven.checkstyle.properties=../hen_checkstyle.xml 6 | 7 | maven.xdoc.theme=classic 8 | 9 | maven.javadoc.stylesheet = ../osjavadoc-style.css 10 | maven.javadoc.links=http://java.sun.com/j2se/1.4.2/docs/api/ 11 | -------------------------------------------------------------------------------- /dormant/logview/src/java/com/generationjava/logview/Log.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.logview; 2 | 3 | import java.util.Iterator; 4 | 5 | public interface Log extends Cloneable { 6 | 7 | public LogIterator iterator(); 8 | 9 | public String getName(); 10 | 11 | public Iterator iterateFieldNames(); 12 | 13 | public Object cloneObject() throws CloneNotSupportedException; 14 | 15 | } 16 | -------------------------------------------------------------------------------- /mudclient/src/java/org/cyberiantiger/console/BackgroundConsoleAction.java: -------------------------------------------------------------------------------- 1 | package org.cyberiantiger.console; 2 | 3 | public class BackgroundConsoleAction extends AbstractConsoleAction { 4 | 5 | private int color; 6 | 7 | public BackgroundConsoleAction(int color) { 8 | this.color = color; 9 | } 10 | 11 | public void apply(Console con) { 12 | con.setBackground(color); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /mudclient/src/java/org/cyberiantiger/console/ForegroundConsoleAction.java: -------------------------------------------------------------------------------- 1 | package org.cyberiantiger.console; 2 | 3 | public class ForegroundConsoleAction extends AbstractConsoleAction { 4 | 5 | private int color; 6 | 7 | public ForegroundConsoleAction(int color) { 8 | this.color = color; 9 | } 10 | 11 | public void apply(Console con) { 12 | con.setForeground(color); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /genjava/gj-gui/src/java/com/generationjava/swing/ListDataAdapter.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.swing; 2 | 3 | import javax.swing.event.*; 4 | 5 | public class ListDataAdapter implements ListDataListener { 6 | public void contentsChanged(ListDataEvent ae) { 7 | } 8 | public void intervalAdded(ListDataEvent ae) { 9 | } 10 | public void intervalRemoved(ListDataEvent ae) { 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /mudclient/src/java/org/cyberiantiger/console/ReverseConsoleAction.java: -------------------------------------------------------------------------------- 1 | package org.cyberiantiger.console; 2 | 3 | public class ReverseConsoleAction extends AbstractConsoleAction { 4 | 5 | private boolean reverse; 6 | 7 | public ReverseConsoleAction(boolean reverse) { 8 | this.reverse = reverse; 9 | } 10 | 11 | public void apply(Console con) { 12 | con.setReverse(reverse); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /scraping-engine/src/examples/Comics/com/generationjava/comics/ApodParser.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.comics; 2 | 3 | import org.osjava.scraping.parser.UrlScraper; 4 | 5 | import com.generationjava.scrape.HtmlScraper; 6 | 7 | public class ApodParser extends UrlScraper { 8 | 9 | protected String scrapeUrl(HtmlScraper scraper) { 10 | return scraper.get("IMG[SRC]"); 11 | } 12 | 13 | } 14 | 15 | -------------------------------------------------------------------------------- /mudclient/src/java/org/cyberiantiger/console/ResizeConsoleAction.java: -------------------------------------------------------------------------------- 1 | package org.cyberiantiger.console; 2 | 3 | public class ResizeConsoleAction extends AbstractConsoleAction { 4 | 5 | private int x; 6 | private int y; 7 | 8 | public ResizeConsoleAction(int x, int y) { 9 | this.x = x; 10 | this.y = y; 11 | } 12 | 13 | public void apply(Console con) { 14 | con.resize(x,y); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /norbert/data/rfc/robots.txt: -------------------------------------------------------------------------------- 1 | # /robots.txt for http://www.fict.org/ 2 | # comments to webmaster@fict.org 3 | 4 | User-agent: unhipbot 5 | Disallow: / 6 | 7 | User-agent: webcrawler 8 | User-agent: excite 9 | Disallow: 10 | 11 | User-agent: * 12 | Disallow: /org/plans.html 13 | Allow: /org/ 14 | Allow: /serv 15 | Allow: /~mak 16 | Disallow: / 17 | -------------------------------------------------------------------------------- /charlotte/xdocs/changes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | David Petersheim 6 | Changes 7 | 8 | 9 | 10 | 11 | First release of Charlotte. 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /dormant/logview/src/java/com/generationjava/logview/Report.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.logview; 2 | 3 | // holds the output of a Reportlet (?) 4 | // how to chain reportlets??? 5 | 6 | // ability to set a Properties of presentation options 7 | // ability to set a Link. add new Link("some url") against column "ip" 8 | public interface Report { 9 | 10 | public void setLink(String field, String link); 11 | 12 | } 13 | -------------------------------------------------------------------------------- /genjava/gj-beans/src/java/com/generationjava/beans/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | Provides reflective ability on JavaBeans. BeanComparator in com.generationjava.compare uses this and is very nice. com.generationjava.collections.BeanMap is also nice. 5 |

6 |

7 | Jakarta Commons BeanUtils is pretty much the same as all this. This is cuter I think, but less mature. 8 |

9 | 10 | 11 | -------------------------------------------------------------------------------- /dormant/integration/configs/test-integration.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /dormant/multidoc/run.sh: -------------------------------------------------------------------------------- 1 | java -classpath /Users/hen/osj/trunk/genjava/gj-scrape/target/gj-scrape-2.0.1.jar:/Users/hen/.maven/repository/genjava/jars/gj-core-3.0.jar:/Users/hen/.maven/repository/commons-lang/jars/commons-lang-2.0.jar:/Users/hen/.maven/repository/genjava/jars/gj-xml-1.0.jar:/Users/hen/.maven/repository/commons-collections/jars/commons-collections-3.0.jar:target/multidoc-0.1.jar org.osjava.multidoc.Multidoc $* 2 | cp docs/* $2 3 | -------------------------------------------------------------------------------- /genjava/gj-find/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | ../project.xml 4 | gj-find 5 | GenJava-Find 6 | 0.1 7 | 2004 8 | 9 | 10 | Similar to 'find' in UNIX. 11 | 12 | 13 | UNIX find-like, but in Java 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /scraping-engine/src/examples/Comics/README.txt: -------------------------------------------------------------------------------- 1 | The accompanying system is an example of scraping engine at work, downloading various comics from the web. 2 | 3 | IF DOWNLOADED FROM CVS: 4 | To prepare things to run, assemble the jars in dependencies.list in a lib/ directory and run runc.sh to compile the files. 5 | 6 | IF DOWNLOADED AS BINARY OR CVS: 7 | To run the scrapers run test.sh, or to have it run at a certain time each night, run.sh. 8 | -------------------------------------------------------------------------------- /simuchron/src/java/com/generationjava/simuchron/MaxAlgorithm.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.simuchron; 2 | 3 | import java.util.Date; 4 | 5 | import com.generationjava.config.Config; 6 | import org.osjava.oscube.container.Session; 7 | 8 | public class MaxAlgorithm implements Algorithm { 9 | 10 | public Number evaluate(Date ts, Config config, Session session) { 11 | return new Integer(1); 12 | } 13 | 14 | 15 | } 16 | -------------------------------------------------------------------------------- /simuchron/src/java/com/generationjava/simuchron/MinAlgorithm.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.simuchron; 2 | 3 | import java.util.Date; 4 | 5 | import com.generationjava.config.Config; 6 | import org.osjava.oscube.container.Session; 7 | 8 | public class MinAlgorithm implements Algorithm { 9 | 10 | public Number evaluate(Date ts, Config config, Session session) { 11 | return new Integer(-1); 12 | } 13 | 14 | 15 | } 16 | -------------------------------------------------------------------------------- /code316-core/src/java/code316/core/ExceptionUtil.java: -------------------------------------------------------------------------------- 1 | package code316.core; 2 | 3 | import java.io.PrintWriter; 4 | import java.io.StringWriter; 5 | 6 | 7 | public class ExceptionUtil { 8 | public static String stackTraceToString(Exception e) { 9 | StringWriter writer = new StringWriter(); 10 | e.printStackTrace(new PrintWriter(writer)); 11 | return writer.toString(); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /pergamum/content/newreviews.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 |
Reviewed - newreviews
4 |
5 | 10 |
11 |
12 | -------------------------------------------------------------------------------- /reportrunner/src/java/org/osjava/reportrunner/formatters/DefaultFormatter.java: -------------------------------------------------------------------------------- 1 | package org.osjava.reportrunner.formatters; 2 | 3 | import org.osjava.reportrunner.*; 4 | 5 | public class DefaultFormatter extends AbstractFormatter { 6 | 7 | public Object format(Object input) { 8 | if(input == null) { 9 | return getPattern(); 10 | } else { 11 | return input; 12 | } 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /scraping-engine/src/examples/Comics/build.bat: -------------------------------------------------------------------------------- 1 | javac -classpath cron\;lib\commons-collections-2.1.jar;lib\commons-dbutils-SNAPSHOT.jar;lib\commons-httpclient-2.0-rc1.jar;lib\commons-lang-1.0.1.jar;lib\commons-logging-1.0.3.jar;lib\gj-config-1.1.jar;lib\gj-core-3.0.jar;lib\gj-scrape-1.0.jar;lib\log4j-1.2.8.jar;lib\norbert-0.2.jar;lib\oscube-0.1.jar;lib\quartz-1.0.jar;lib\scraping-engine-0.3.jar;lib\simple-jndi-0.9.jar com\generationjava\scrapers\*.java 2 | -------------------------------------------------------------------------------- /scraping-engine/src/examples/Comics/run.bat: -------------------------------------------------------------------------------- 1 | java -classpath .;cron\;lib\commons-collections-2.1.jar;lib\commons-dbutils-SNAPSHOT.jar;lib\commons-httpclient-2.0-rc1.jar;lib\commons-lang-1.0.1.jar;lib\commons-logging-1.0.3.jar;lib\gj-config-1.1.jar;lib\gj-core-3.0.jar;lib\gj-scrape-1.0.jar;lib\log4j-1.2.8.jar;lib\norbert-0.2.jar;lib\oscube-0.1.jar;lib\quartz-1.0.jar;lib\scraping-engine-0.3.jar;lib\simple-jndi-0.9.jar org.osjava.oscube.container.Engine 2 | -------------------------------------------------------------------------------- /scraping-engine/src/examples/Comics/test.bat: -------------------------------------------------------------------------------- 1 | java -classpath .;test\;lib\commons-collections-2.1.jar;lib\commons-dbutils-SNAPSHOT.jar;lib\commons-httpclient-2.0-rc1.jar;lib\commons-lang-1.0.1.jar;lib\commons-logging-1.0.3.jar;lib\gj-config-1.1.jar;lib\gj-core-3.0.jar;lib\gj-scrape-1.0.jar;lib\log4j-1.2.8.jar;lib\norbert-0.2.jar;lib\oscube-0.1.jar;lib\quartz-1.0.jar;lib\scraping-engine-0.3.jar;lib\simple-jndi-0.9.jar org.osjava.oscube.container.Engine 2 | -------------------------------------------------------------------------------- /code316-core/src/java/code316/debug/StreamListener.java: -------------------------------------------------------------------------------- 1 | package code316.debug; 2 | 3 | import java.io.IOException; 4 | 5 | 6 | public interface StreamListener { 7 | void wrote(int data) throws IOException; 8 | void wrote(byte buffer[], int start, int offset) throws IOException; 9 | 10 | void read(int data) throws IOException; 11 | void read(byte buffer[], int start, int offset) throws IOException; 12 | } 13 | -------------------------------------------------------------------------------- /mudclient/src/java/org/cyberiantiger/console/ResetConsoleAction.java: -------------------------------------------------------------------------------- 1 | package org.cyberiantiger.console; 2 | 3 | public class ResetConsoleAction extends AbstractConsoleAction { 4 | 5 | public ResetConsoleAction() { 6 | } 7 | 8 | public void apply(Console con) { 9 | con.setForeground(con.WHITE); 10 | con.setBackground(con.BLACK); 11 | con.setBold(false); 12 | con.setFlash(false); 13 | con.setReverse(false); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /mudclient/xdocs/navigation.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | mudclient 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /dormant/integration/NOTES: -------------------------------------------------------------------------------- 1 | Now has a .xml file for configuration. 2 | 3 | Need to have some kind of file for the persitent data concerning a build. 4 | It would record: 5 | 6 | Last build state. 7 | Last build time. 8 | Last build reason (cvs update files etc). 9 | Reports generation state. 10 | 11 | 12 | Need to start using perl OO. Make an object for each .xml file. 13 | So Config class and State class. Config->new("xmlfile") etc. 14 | 15 | 16 | -------------------------------------------------------------------------------- /genjava/gj-csv/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | ../project.xml 4 | gj-csv 5 | GenJava-CSV 6 | 1.0 7 | 2002 8 | 9 | 10 | CSV component of GenJava-Core. Reads and writes CSV files. 11 | 12 | 13 | CSV Reader/Writers 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /genjava/gj-gui/xdocs/changes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Henri Yandell 6 | Release Notes 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /jardiff/src/xsl/jardiff-html.xsl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /jardiff/src/xsl/jardiff-xhtml.xsl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /simple-jndi/src/test/config/nested-datasource.properties: -------------------------------------------------------------------------------- 1 | com.foo.FooDS.type=javax.sql.DataSource 2 | com.foo.FooDS.driver=org.gjt.mm.mysql.Driver 3 | com.foo.FooDS.url=jdbc:mysql://127.0.0.1/tmp 4 | com.foo.FooDS.user=sa 5 | com.foo.FooDS.password=ping 6 | com.foo.BarDS.type=javax.sql.DataSource 7 | com.foo.BarDS.driver=org.gjt.mm.mysql.Driver 8 | com.foo.BarDS.url=jdbc:mysql://127.0.0.1/tmp 9 | com.foo.BarDS.user=sa 10 | com.foo.BarDS.password=ping 11 | -------------------------------------------------------------------------------- /sqlite-jdbc/README: -------------------------------------------------------------------------------- 1 | This project is a jdbc driver for the SQLite package. The reasons for it are 2 | to provide a jdbc driver for SQLite that implements the JDBC 3 (maybe 4) 3 | spec as much as possible. 4 | 5 | This is a Type 2 driver. This is necessary because SQLite is not net 6 | enabled. Utilizing the SQLite API becomes necessary at this point. 7 | 8 | This driver supports SQLite 3. If it is conveneint, SQLite 2 support may be 9 | added in the future. -------------------------------------------------------------------------------- /charlotte/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | charlotte 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.jdt.core.javanature 16 | 17 | 18 | -------------------------------------------------------------------------------- /code316-core/src/test/code316/core/FileUtilTest.java: -------------------------------------------------------------------------------- 1 | package code316.core; 2 | 3 | import junit.framework.TestCase; 4 | 5 | 6 | public class FileUtilTest extends TestCase { 7 | 8 | public FileUtilTest(String arg0) { 9 | super(arg0); 10 | } 11 | 12 | public void testGetExtension() { 13 | String fileName = "a.b.c.d.e.f.txt"; 14 | assertEquals("txt", FileUtil.getExtension(fileName)); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /dormant/atom4j/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | Atom4J 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.jdt.core.javanature 16 | 17 | 18 | -------------------------------------------------------------------------------- /genjava/gj-gui/src/java/com/generationjava/swing/PopupTreeNode.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.swing; 2 | 3 | import java.awt.event.ActionEvent; 4 | 5 | public interface PopupTreeNode { 6 | 7 | public PopupTreeNode getPopupParent(); 8 | 9 | public void setPopupParent(PopupTreeNode parent); 10 | 11 | public boolean isPopupRoot(); 12 | 13 | public String getName(); 14 | 15 | public void notifyAction(ActionEvent event); 16 | 17 | } 18 | -------------------------------------------------------------------------------- /mudclient/src/java/org/cyberiantiger/console/SetCursorXConsoleAction.java: -------------------------------------------------------------------------------- 1 | package org.cyberiantiger.console; 2 | 3 | public class SetCursorXConsoleAction extends AbstractConsoleAction { 4 | 5 | private int x; 6 | 7 | public SetCursorXConsoleAction(int x) { 8 | this.x = x; 9 | } 10 | 11 | public boolean isEndOfLine() { 12 | return true; 13 | } 14 | 15 | public void apply(Console con) { 16 | con.setCursorX(x); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /mudclient/src/java/org/cyberiantiger/console/SetCursorYConsoleAction.java: -------------------------------------------------------------------------------- 1 | package org.cyberiantiger.console; 2 | 3 | public class SetCursorYConsoleAction extends AbstractConsoleAction { 4 | 5 | private int y; 6 | 7 | public SetCursorYConsoleAction(int y) { 8 | this.y = y; 9 | } 10 | 11 | public boolean isEndOfLine() { 12 | return true; 13 | } 14 | 15 | public void apply(Console con) { 16 | con.setCursorY(y); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /pergamum/content/newbooks.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 |
New Releases - 2005/03:2005/05 - newbooks
4 |
5 | 10 |
11 |
12 | -------------------------------------------------------------------------------- /mudclient/src/java/org/cyberiantiger/console/MoveCursorXConsoleAction.java: -------------------------------------------------------------------------------- 1 | package org.cyberiantiger.console; 2 | 3 | public class MoveCursorXConsoleAction extends AbstractConsoleAction { 4 | 5 | private int x; 6 | 7 | public MoveCursorXConsoleAction(int x) { 8 | this.x = x; 9 | } 10 | 11 | public boolean isEndOfLine() { 12 | return true; 13 | } 14 | 15 | public void apply(Console con) { 16 | con.moveCursorX(x); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /mudclient/src/java/org/cyberiantiger/console/MoveCursorYConsoleAction.java: -------------------------------------------------------------------------------- 1 | package org.cyberiantiger.console; 2 | 3 | public class MoveCursorYConsoleAction extends AbstractConsoleAction { 4 | 5 | private int y; 6 | 7 | public MoveCursorYConsoleAction(int y) { 8 | this.y = y; 9 | } 10 | 11 | public boolean isEndOfLine() { 12 | return true; 13 | } 14 | 15 | public void apply(Console con) { 16 | con.moveCursorY(y); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /reportrunner/src/java/org/osjava/webwizard/Constants.java: -------------------------------------------------------------------------------- 1 | package org.osjava.webwizard; 2 | 3 | import org.osjava.reportrunner.servlets.ReportRunnerServlet; 4 | 5 | // Constants for use in the Servlet 6 | public class Constants { 7 | 8 | public static final String GROUP = ReportRunnerServlet.GROUP; 9 | public static final String REPORT = ReportRunnerServlet.REPORT; 10 | public static final String RENDERER = ReportRunnerServlet.RENDERER; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /code316-core/src/test/code316/beans/AllTests.java: -------------------------------------------------------------------------------- 1 | package code316.beans; 2 | 3 | import junit.framework.Test; 4 | import junit.framework.TestSuite; 5 | 6 | 7 | public class AllTests { 8 | 9 | public static Test suite() { 10 | TestSuite suite = new TestSuite("Test for code316.beans"); 11 | //$JUnit-BEGIN$ 12 | suite.addTestSuite(BeanTableTest.class); 13 | //$JUnit-END$ 14 | return suite; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /mudclient/src/java/org/cyberiantiger/mudclient/input/InputItem.java: -------------------------------------------------------------------------------- 1 | package org.cyberiantiger.mudclient.input; 2 | 3 | public class InputItem { 4 | 5 | private String msg; 6 | private int depth; 7 | 8 | public InputItem(String msg, int depth) { 9 | this.msg = msg; 10 | this.depth = depth; 11 | } 12 | 13 | public String getMessage() { 14 | return msg; 15 | } 16 | 17 | public int getDepth() { 18 | return depth; 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /scraping-engine/src/examples/package-example.sh: -------------------------------------------------------------------------------- 1 | tar -zcf scraping-Comic-examples-for-`grep current ../../project.xml | head -1 | sed 's/<[^>]*>//g' | sed 's/ //g'`.tar.gz --exclude .svn Comics 2 | tar -zcf scraping-Ftp-example-for-`grep current ../../project.xml | head -1 | sed 's/<[^>]*>//g' | sed 's/ //g'`.tar.gz --exclude .svn Ftp 3 | tar -zcf scraping-template-for-`grep current ../../project.xml | head -1 | sed 's/<[^>]*>//g' | sed 's/ //g'`.tar.gz --exclude .svn template 4 | -------------------------------------------------------------------------------- /simple-jndi/src/test/jndi.properties: -------------------------------------------------------------------------------- 1 | java.naming.factory.initial=org.osjava.sj.SimpleContextFactory 2 | 3 | #org.osjava.sj.root=target/test-classes/config/ 4 | #org.osjava.sj.root=http://www.example.com/ 5 | #org.osjava.sj.root=file:///home/hen/gj/simple-jndi/config/ 6 | #org.osjava.sj.root=file://config/ 7 | #org.osjava.sj.root=classpath://config 8 | 9 | org.osjava.sj.root=file://src/test/config 10 | 11 | org.osjava.sj.delimiter=. 12 | org.osjava.sj.colon.replace=-- 13 | -------------------------------------------------------------------------------- /dormant/logview/src/java/com/generationjava/logview/log/SimpleLogType.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.logview.log; 2 | 3 | import com.generationjava.logview.LogType; 4 | import com.generationjava.lang.Constant; 5 | 6 | public class SimpleLogType extends Constant implements LogType { 7 | 8 | public SimpleLogType(String name) { 9 | super(name); 10 | } 11 | 12 | public String getName() { 13 | return (String)getValue(); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /reportrunner/src/java/org/osjava/webwizard/templates/list_groups.vm: -------------------------------------------------------------------------------- 1 | #include( "org/osjava/webwizard/templates/header.inc" ) 2 | 3 |
4 |

What kind of report would you like to run?

5 | 6 | 7 | #foreach( $group in $groups ) 8 | 9 | #end 10 | 11 |
$group.label$group.description
12 |
13 | #include( "org/osjava/webwizard/templates/footer.inc" ) 14 | -------------------------------------------------------------------------------- /scraping-engine/src/examples/Comics/com/generationjava/comics/ElgoonParser.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.comics; 2 | 3 | import org.osjava.scraping.parser.UrlScraper; 4 | 5 | import com.generationjava.scrape.HtmlScraper; 6 | 7 | public class ElgoonParser extends UrlScraper { 8 | 9 | protected String scrapeUrl(HtmlScraper scraper) { 10 | scraper.moveToTagWith("ALT", "comic"); 11 | 12 | return scraper.get("IMG[SRC]"); 13 | } 14 | 15 | } 16 | 17 | -------------------------------------------------------------------------------- /scraping-engine/src/examples/Comics/com/generationjava/comics/FoxtrotParser.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.comics; 2 | 3 | import org.osjava.scraping.parser.UrlScraper; 4 | 5 | import com.generationjava.scrape.HtmlScraper; 6 | 7 | public class FoxtrotParser extends UrlScraper { 8 | 9 | protected String scrapeUrl(HtmlScraper scraper) { 10 | scraper.moveToTagWith("width", "600"); 11 | 12 | return scraper.get("img[src]"); 13 | } 14 | 15 | } 16 | 17 | -------------------------------------------------------------------------------- /code316-core/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | code316-core 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.jdt.core.javanature 16 | 17 | 18 | -------------------------------------------------------------------------------- /reportrunner/src/java/org/osjava/reportrunner_plugins/renderers/jfreechart/JFreeChartCreator.java: -------------------------------------------------------------------------------- 1 | package org.osjava.reportrunner_plugins.renderers.jfreechart; 2 | 3 | import org.osjava.reportrunner.Report; 4 | import org.osjava.reportrunner.Result; 5 | import org.osjava.reportrunner.Renderer; 6 | 7 | import org.jfree.chart.JFreeChart; 8 | 9 | public interface JFreeChartCreator { 10 | 11 | JFreeChart createChart(Result result, Report report, Renderer renderer); 12 | 13 | } 14 | -------------------------------------------------------------------------------- /scraping-engine/src/examples/Comics/com/generationjava/comics/UbersoftParser.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.comics; 2 | 3 | import org.osjava.scraping.parser.UrlScraper; 4 | 5 | import com.generationjava.scrape.HtmlScraper; 6 | 7 | public class UbersoftParser extends UrlScraper { 8 | 9 | protected String scrapeUrl(HtmlScraper scraper) { 10 | scraper.moveToTagWith("name", "Comic"); 11 | 12 | return scraper.get("IMG[SRC]"); 13 | } 14 | 15 | } 16 | 17 | -------------------------------------------------------------------------------- /charlotte/src/java/code316/charlotte/FieldDefinition.java: -------------------------------------------------------------------------------- 1 | package code316.charlotte; 2 | 3 | 4 | public interface FieldDefinition { 5 | String getName(); 6 | void setName(String name); 7 | 8 | int getWidth(); 9 | void setWidth(int width); 10 | 11 | 12 | String getOperands(); 13 | void setOperands(String string); 14 | 15 | int getOffset(); 16 | void setOffset(int i); 17 | 18 | int getIndex(); 19 | void setIndex(int index); 20 | } -------------------------------------------------------------------------------- /scraping-engine/src/examples/Comics/com/generationjava/comics/ComicsComParser.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.comics; 2 | 3 | import org.osjava.scraping.parser.UrlScraper; 4 | 5 | import com.generationjava.scrape.HtmlScraper; 6 | 7 | public class ComicsComParser extends UrlScraper { 8 | 9 | protected String scrapeUrl(HtmlScraper scraper) { 10 | scraper.moveToTagWith("ALT", "Today's Comic"); 11 | 12 | return scraper.get("IMG[SRC]"); 13 | } 14 | 15 | } 16 | 17 | -------------------------------------------------------------------------------- /scraping-engine/src/examples/Comics/com/generationjava/comics/DilbertParser.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.comics; 2 | 3 | import org.osjava.scraping.parser.UrlScraper; 4 | 5 | import com.generationjava.scrape.HtmlScraper; 6 | 7 | public class DilbertParser extends UrlScraper { 8 | 9 | protected String scrapeUrl(HtmlScraper scraper) { 10 | scraper.moveToTagWith("ALT", "Today's Dilbert Comic"); 11 | 12 | return scraper.get("IMG[SRC]"); 13 | } 14 | 15 | } 16 | 17 | -------------------------------------------------------------------------------- /scraping-engine/src/examples/Comics/com/generationjava/comics/UserFriendlyParser.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.comics; 2 | 3 | import org.osjava.scraping.parser.UrlScraper; 4 | 5 | import com.generationjava.scrape.HtmlScraper; 6 | 7 | public class UserFriendlyParser extends UrlScraper { 8 | 9 | protected String scrapeUrl(HtmlScraper scraper) { 10 | scraper.moveToTagWith("ALT", "Latest Strip"); 11 | 12 | return scraper.get("IMG[SRC]"); 13 | } 14 | 15 | } 16 | 17 | -------------------------------------------------------------------------------- /jpe/src/java/com/generationjava/apps/jpe/Compiler.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Created on Aug 23, 2003 3 | */ 4 | package com.generationjava.apps.jpe; 5 | 6 | import java.io.PrintStream; 7 | 8 | /** 9 | * Plug-in compiler so that different platforms may have 10 | * different compiling. 11 | * 12 | * @author hen 13 | */ 14 | public interface Compiler { 15 | 16 | public void compile(String filename) throws CompilerException; 17 | public void setErrorStream(PrintStream errorStream); 18 | 19 | } 20 | -------------------------------------------------------------------------------- /mudclient/src/java/org/cyberiantiger/mudclient/ui/Connection.java: -------------------------------------------------------------------------------- 1 | package org.cyberiantiger.mudclient.ui; 2 | 3 | import org.cyberiantiger.mudclient.config.*; 4 | 5 | public interface Connection { 6 | 7 | public void connect(); 8 | 9 | public void disconnect(); 10 | 11 | public void command(String viewId, String msg); 12 | 13 | public void setWindowSize(int w, int h); 14 | 15 | public ClientConfiguration getConfiguration(); 16 | 17 | public void exit(); 18 | 19 | } 20 | -------------------------------------------------------------------------------- /orcs/TODO.txt: -------------------------------------------------------------------------------- 1 | From the now delete JIRA project: 2 | 3 | * Select data row -> Show which revision that row is in the revision list 4 | Possibly not just selecting that row, possibly the background colour would change. 5 | 6 | * Show differences between revisions 7 | Possibly by selecting more than one revision in the revision list. 8 | 9 | * Login panel needs to get focus when it starts up 10 | When you choose the db and the login panel is shown, focus needs to be on the login textfield. 11 | -------------------------------------------------------------------------------- /reportrunner/src/java/org/osjava/reportrunner/NullResult.java: -------------------------------------------------------------------------------- 1 | package org.osjava.reportrunner; 2 | 3 | public class NullResult implements Result { 4 | 5 | public boolean hasNextRow() { 6 | return false; 7 | } 8 | 9 | public Object[] nextRow() { 10 | throw new RuntimeException("No rows available from a NullResult. "); 11 | } 12 | 13 | public void reset() { 14 | } 15 | 16 | public Column[] getHeader() { 17 | return null; 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /genjava/gj-config/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | ../project.xml 4 | gj-config 5 | GenJava-Config 6 | 2.0 7 | 2003 8 | 9 | 10 | Simple configuration system, mainly for use with a JNDI implementation such as simple-jndi. 11 | 12 | 13 | Simple configuration system 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /nextjen/examples/codegen/README: -------------------------------------------------------------------------------- 1 | Run NextJen -d output metamodel.xml. 2 | 3 | Generated files will be in output/ 4 | 5 | Files: 6 | 7 | metamodel.xml - Description of classes to generate. 8 | metamodel.xsl - Template to process metamodel.xml into something which can be split up into subdocuments and parsed seperately, adds appropriate processing instructions, output is written as out.xml 9 | interface.xsl - Template to generate interface code. 10 | concreate.xsl - Template to generate concreate code. 11 | -------------------------------------------------------------------------------- /dormant/integration/cron-script.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | export JAVA_HOME=/opt/jdk 4 | PATH=$JAVA_HOME/bin:$PATH 5 | 6 | export MAVEN_HOME=/home/hen/apps/maven-1.0.1 7 | PATH=$MAVEN_HOME/bin:$PATH 8 | 9 | cd /home/hen/oss/osjava/integration 10 | /usr/bin/svn update report/ 11 | ./integrate.pl configs/osjava-integration.xml update 12 | /usr/bin/svn status report/ | grep '^\?' | sed 's/\? *//' | xargs /usr/bin/svn add > /dev/null 13 | /usr/bin/svn ci -m 'publishing latest integration changes' report/ 14 | cd - 15 | -------------------------------------------------------------------------------- /dormant/logview/src/java/com/generationjava/math/Average.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.math; 2 | 3 | // extend Number? 4 | public class Average { 5 | 6 | private int sum; 7 | private int num; 8 | 9 | public Average() { 10 | } 11 | 12 | public Average(int start) { 13 | add(start); 14 | } 15 | 16 | public void add(int val) { 17 | sum += val; 18 | num++; 19 | } 20 | 21 | public int average() { 22 | return sum/num; 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /jpe/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /oscube/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /runsql/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /charlotte/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /charlotte/src/java/code316/charlotte/EncodingViewer.java: -------------------------------------------------------------------------------- 1 | package code316.charlotte; 2 | 3 | import java.io.FileInputStream; 4 | import java.io.IOException; 5 | 6 | 7 | public class EncodingViewer { 8 | public static void main(String[] args) throws IOException { 9 | FileInputStream in = new FileInputStream(args[0]); 10 | Parser p = new Parser(); 11 | Encoding e = p.parse(in); 12 | 13 | System.out.println(EncodingUtil.encodingToString(e)); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /dormant/logview/archive/type/AbstractType.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.logview.type; 2 | 3 | import com.generationjava.logview.Type; 4 | 5 | abstract public class AbstractType implements Type { 6 | 7 | private Object value; 8 | 9 | public void setValue(Object value) { 10 | this.value = value; 11 | } 12 | 13 | public Object getValue() { 14 | return this.value; 15 | } 16 | 17 | public String toString() { 18 | return value.toString(); 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /logview2/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /mudclient/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /norbert/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /osjava-nio/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /payload/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /simple-jms/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /simple-jndi/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /simuchron/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /xmlwriter/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /code316-core/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /dormant/logview/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /dormant/multidoc/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /genjava/gj-beans/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /genjava/gj-core/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /genjava/gj-csv/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /genjava/gj-find/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /genjava/gj-gui/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /genjava/gj-mail/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /genjava/gj-tools/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /genjava/gj-xml/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /logview2/src/java/org/osjava/logview/text/DelimitedLineParser.java: -------------------------------------------------------------------------------- 1 | package org.osjava.logview.text; 2 | 3 | import org.apache.commons.lang.StringUtils; 4 | 5 | public class DelimitedLineParser { 6 | 7 | private String delimiter; 8 | 9 | public DelimitedLineParser(String delimiter) { 10 | this.delimiter = delimiter; 11 | } 12 | 13 | public String[] parse(String line) { 14 | String[] values = StringUtils.split(line, this.delimiter); 15 | return values; 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /osjava-threads/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /reportrunner/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /scraping-engine/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /xmlwriter/xdocs/Design.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Henri Yandell 6 | Design 7 | 8 | 9 | 10 |
11 |

Note: XmlIOFactory is not yet implemented. It's aim is to be a handy tool for creating writers.

12 |
13 |
14 | 15 | 16 |
17 | -------------------------------------------------------------------------------- /genjava/gj-config/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /genjava/gj-scrape/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /genjava/gj-servlet/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /orcs/DataSourceWizard/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /orcs/OrcsTerminal/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /osjava-nio/src/java/org/osjava/nio/TaskException.java: -------------------------------------------------------------------------------- 1 | package org.osjava.nio; 2 | 3 | /** 4 | * A class which wraps an exception which was thrown by a Task executed 5 | * in another thread. 6 | */ 7 | public class TaskException extends RuntimeException { 8 | 9 | /** 10 | * Create a new TaskException to wrap the specified Exception 11 | * 12 | * @param wrapped the Exception to wrap. 13 | */ 14 | public TaskException(Exception wrapped) { 15 | super(wrapped); 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /reportrunner/src/java/org/osjava/reportrunner/ReportException.java: -------------------------------------------------------------------------------- 1 | package org.osjava.reportrunner; 2 | 3 | public class ReportException extends RuntimeException { 4 | 5 | public ReportException() { 6 | super(); 7 | } 8 | 9 | public ReportException(String msg) { 10 | super(msg); 11 | } 12 | 13 | public ReportException(Throwable t) { 14 | super(t); 15 | } 16 | 17 | public ReportException(String msg, Throwable t) { 18 | super(msg, t); 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /simuchron/src/java/com/generationjava/simuchron/WobblePost.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.simuchron; 2 | 3 | import java.util.Date; 4 | 5 | import com.generationjava.config.Config; 6 | import org.osjava.oscube.container.Session; 7 | 8 | public class WobblePost implements Post { 9 | 10 | public Number post(Number num, Date ts, Config config, Session session) { 11 | double value = num.doubleValue(); 12 | value += ((value * 3) % 4 ) - 2; 13 | return new Double(value); 14 | } 15 | 16 | 17 | } 18 | -------------------------------------------------------------------------------- /charlotte/src/test/code316/charlotte/AllTests.java: -------------------------------------------------------------------------------- 1 | package code316.charlotte; 2 | 3 | import junit.framework.Test; 4 | import junit.framework.TestSuite; 5 | 6 | 7 | public class AllTests { 8 | 9 | public static Test suite() { 10 | TestSuite suite = new TestSuite("Test for code316.bits"); 11 | //$JUnit-BEGIN$ 12 | suite.addTest(new TestSuite(ValueExtractorTest.class)); 13 | suite.addTest(new TestSuite(EncodingTest.class)); 14 | //$JUnit-END$ 15 | return suite; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /reportrunner/src/java/org/osjava/reportrunner/parsers/AbstractParser.java: -------------------------------------------------------------------------------- 1 | package org.osjava.reportrunner.parsers; 2 | 3 | import org.osjava.reportrunner.*; 4 | 5 | public abstract class AbstractParser implements Parser { 6 | 7 | private String pattern; 8 | 9 | public void setPattern(String pattern) { 10 | this.pattern = pattern; 11 | } 12 | 13 | protected String getPattern() { 14 | return this.pattern; 15 | } 16 | 17 | public abstract Object parse(String input, Class type); 18 | 19 | } 20 | -------------------------------------------------------------------------------- /charlotte/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /code316-core/src/java/code316/gui/EasyTableModel.java: -------------------------------------------------------------------------------- 1 | package code316.gui; 2 | 3 | import java.util.Collection; 4 | 5 | import javax.swing.table.TableModel; 6 | 7 | public interface EasyTableModel extends TableModel { 8 | public abstract void add(Object o); 9 | public abstract void addAll(Collection c); 10 | public abstract void setData(Collection c); 11 | public abstract Object get(int index); 12 | public abstract Collection getAll(); 13 | public abstract void insert(int index, Object o); 14 | } 15 | -------------------------------------------------------------------------------- /genjava/xdocs/legacy.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Henri Yandell 6 | Genjava 7 | 8 | 9 | 10 |
11 |

For those looking for 'genjava-core' v2.2, the release is available at http://dist.osjava.org/releases/official/genjava-core/.

12 |
13 | 14 |
15 | -------------------------------------------------------------------------------- /orcs/OrcsTerminal/project.properties: -------------------------------------------------------------------------------- 1 | maven.ui.navcol.background=#f4f8d8 2 | maven.ui.banner.background=#000066 3 | maven.ui.section.background=#000066 4 | maven.ui.subsection.background=#000066 5 | maven.ui.breadcrumbs.background=#f4f8d8 6 | 7 | maven.xdoc.poweredby.image=maven-feather.png 8 | maven.xdoc.includeProjectDocumentation=false 9 | maven.xdoc.date = left 10 | maven.xdoc.version = v${pom.currentVersion} 11 | 12 | maven.javadoc.stylesheet = ../../osjavadoc-style.css 13 | maven.javadoc.links=http://java.sun.com/j2se/1.4.2/docs/api/ 14 | -------------------------------------------------------------------------------- /dormant/logview/src/java/com/generationjava/logview/LogEvent.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.logview; 2 | 3 | import java.util.Date; 4 | import java.util.Iterator; 5 | 6 | public interface LogEvent { 7 | 8 | public Log getLog(); 9 | public void setLog(Log log); 10 | 11 | public Date getTime(); 12 | 13 | public String getID(); 14 | 15 | // of Object? 16 | public LogField get(String fieldName); 17 | 18 | public Iterator iterateFieldNames(); 19 | 20 | // public LogType getType(String fieldName); 21 | 22 | } 23 | -------------------------------------------------------------------------------- /orcs/DataSourceWizard/project.properties: -------------------------------------------------------------------------------- 1 | maven.ui.navcol.background=#f4f8d8 2 | maven.ui.banner.background=#000066 3 | maven.ui.section.background=#000066 4 | maven.ui.subsection.background=#000066 5 | maven.ui.breadcrumbs.background=#f4f8d8 6 | 7 | maven.xdoc.poweredby.image=maven-feather.png 8 | maven.xdoc.includeProjectDocumentation=false 9 | maven.xdoc.date = left 10 | maven.xdoc.version = v${pom.currentVersion} 11 | 12 | maven.javadoc.stylesheet = ../../osjavadoc-style.css 13 | maven.javadoc.links=http://java.sun.com/j2se/1.4.2/docs/api/ 14 | -------------------------------------------------------------------------------- /viewrepo/multijavadoc/src/resources/header-template.html: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | multidoc-jnr index 11 |

12 | 13 | 14 | -------------------------------------------------------------------------------- /genjava/gj-gui/src/java/com/generationjava/awt/ImageSource.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.awt; 2 | 3 | import java.awt.Image; 4 | 5 | public interface ImageSource { 6 | 7 | public Image getImage(); 8 | 9 | // has the image changed, ie) we should stop caching 10 | // this is either of two things. 11 | // 1) The image's variables have changed and it 12 | // needs regenerating. 13 | // 2) It's been regenerated, but the user of this 14 | // source has yet to 15 | //public boolean isModified(Image img); 16 | 17 | } -------------------------------------------------------------------------------- /logview2/project.properties: -------------------------------------------------------------------------------- 1 | maven.ui.navcol.background=#f4f8d8 2 | maven.ui.banner.background=#000066 3 | maven.ui.section.background=#000066 4 | maven.ui.subsection.background=#000066 5 | maven.ui.breadcrumbs.background=#f4f8d8 6 | 7 | maven.xdoc.theme=classic 8 | maven.xdoc.poweredby.image=maven-feather.png 9 | maven.xdoc.includeProjectDocumentation=false 10 | maven.xdoc.date = left 11 | maven.xdoc.version = v${pom.currentVersion} 12 | 13 | maven.javadoc.stylesheet = ../osjavadoc-style.css 14 | maven.javadoc.links=http://java.sun.com/j2se/1.4.2/docs/api/ 15 | -------------------------------------------------------------------------------- /dormant/logview/src/java/com/generationjava/logview/Loglet.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.logview; 2 | 3 | public interface Loglet { 4 | 5 | public Log parse(Loglet loglet) throws LogViewException; 6 | public Log parse(Log log) throws LogViewException; 7 | public Log parse() throws LogViewException; 8 | public LogEvent parseEvent(LogIterator iterator) throws LogViewException; 9 | public boolean hasMoreEvents(LogIterator iterator); 10 | public void setLoglet(Loglet loglet); 11 | 12 | public String[] getFieldNames(); 13 | 14 | } 15 | -------------------------------------------------------------------------------- /pound/readme.txt: -------------------------------------------------------------------------------- 1 | quick doc 2 | 3 | toggle following with ctrl key, e.g. Ctrl+m = toggle message display 4 | m - character/message display 5 | i - display images 6 | s - play sounds 7 | d - display debug info 8 | 9 | IMAGES 10 | if there is directory named "images" in the classpath, then 11 | images will be loaded from that directory and displayed. 12 | 13 | If you get an OutOfMemoryError try increasing the heap space. 14 | 15 | Images are cached X at a time and the cache is replenished as images 16 | are requested from the source. Images repeat. 17 | 18 | -------------------------------------------------------------------------------- /genjava/gj-gui/src/java/com/generationjava/swing/BackgroundTheme.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.swing; 2 | 3 | import java.awt.Color; 4 | 5 | import javax.swing.plaf.ColorUIResource; 6 | import javax.swing.plaf.metal.DefaultMetalTheme; 7 | 8 | public class BackgroundTheme extends DefaultMetalTheme { 9 | 10 | private final ColorUIResource resource; 11 | 12 | public BackgroundTheme(Color color) { 13 | resource = new ColorUIResource(color); 14 | } 15 | 16 | public ColorUIResource getSecondary3() { 17 | return resource; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /dormant/logview/src/java/com/generationjava/logview/LogBuilder.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.logview; 2 | 3 | import com.generationjava.logview.log.MemoryLog; 4 | 5 | public interface LogBuilder extends Cloneable { 6 | 7 | public void fillLog(MemoryLog log) throws LogViewException; 8 | public LogEvent parseLogEvent() throws LogViewException; 9 | 10 | public boolean hasMoreEvents(); 11 | 12 | public LogSource getSource(); 13 | public void setSource(LogSource source); 14 | 15 | public Object cloneObject() throws CloneNotSupportedException; 16 | 17 | } 18 | -------------------------------------------------------------------------------- /jpe/src/java/com/generationjava/apps/jpe/JPEMenuItem.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.apps.jpe; 2 | 3 | import java.awt.MenuItem; 4 | import java.awt.MenuShortcut; 5 | 6 | public class JPEMenuItem extends MenuItem { 7 | 8 | // this is to get around buggy JVMs that don't default to 9 | // the label when a shortcut key is pressed. 10 | public JPEMenuItem(String label, MenuShortcut sc) { 11 | super(label,sc); 12 | setActionCommand(label); 13 | } 14 | 15 | public JPEMenuItem(String label) { 16 | super(label); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /mudclient/src/java/org/cyberiantiger/mudclient/net/Display.java: -------------------------------------------------------------------------------- 1 | package org.cyberiantiger.mudclient.net; 2 | 3 | import org.cyberiantiger.mudclient.config.*; 4 | import org.cyberiantiger.console.ConsoleWriter; 5 | 6 | public interface Display { 7 | 8 | public ClientConfiguration getConfiguration(); 9 | 10 | public void connectionStatusChanged(int status); 11 | 12 | public void connectionDoLocalEcho(boolean echo); 13 | 14 | public ConsoleWriter getConsoleWriter(); 15 | 16 | public boolean getEcho(); 17 | 18 | public void localEcho(String msg); 19 | } 20 | -------------------------------------------------------------------------------- /osjava-threads/xdocs/Tasks.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Robert M. Zigweid 5 | Introduction 6 | 7 | 8 |
9 |
  • 10 | Thread Pooling 11 |
  • 12 |
  • 13 | Unit Tests 14 |
  • 15 |
  • 16 | Documentation 17 |
18 |
19 | 20 |
21 | -------------------------------------------------------------------------------- /reportrunner/src/java/org/osjava/reportrunner/Choice.java: -------------------------------------------------------------------------------- 1 | package org.osjava.reportrunner; 2 | 3 | public class Choice { 4 | 5 | private String value; 6 | private String label; 7 | 8 | public Choice(String value, String label) { 9 | this.value = value; 10 | this.label = label; 11 | } 12 | 13 | public String getValue() { return this.value; } 14 | public void setValue(String value) { this.value = value; } 15 | 16 | public String getLabel() { return this.label; } 17 | public void setLabel(String label) { this.label = label; } 18 | } 19 | -------------------------------------------------------------------------------- /reportrunner/conf/resources.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /simuchron/src/java/com/generationjava/simuchron/CosAlgorithm.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.simuchron; 2 | 3 | import java.util.Date; 4 | 5 | import com.generationjava.config.Config; 6 | import org.osjava.oscube.container.Session; 7 | 8 | public class CosAlgorithm implements Algorithm { 9 | 10 | public Number evaluate(Date ts, Config config, Session session) { 11 | double hours = ts.getHours(); 12 | hours += ((double)ts.getMinutes())/60; 13 | double value = Math.cos(2*Math.PI*hours/24); 14 | return new Double(value); 15 | } 16 | 17 | 18 | } 19 | -------------------------------------------------------------------------------- /simuchron/src/java/com/generationjava/simuchron/SinAlgorithm.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.simuchron; 2 | 3 | import java.util.Date; 4 | 5 | import com.generationjava.config.Config; 6 | import org.osjava.oscube.container.Session; 7 | 8 | public class SinAlgorithm implements Algorithm { 9 | 10 | public Number evaluate(Date ts, Config config, Session session) { 11 | double hours = ts.getHours(); 12 | hours += ((double)ts.getMinutes())/60; 13 | double value = Math.sin(2*Math.PI*hours/24); 14 | return new Double(value); 15 | } 16 | 17 | 18 | } 19 | -------------------------------------------------------------------------------- /reportrunner/webapp/empty_report_exception.jsp: -------------------------------------------------------------------------------- 1 | <%@ page isErrorPage="true" %> 2 | <%@ include file="header.inc" %> 3 | <%@ page import="java.io.*" %> 4 | <%@ page import="org.osjava.reportrunner.*" %> 5 | <%@ page import="org.osjava.reportrunner.servlets.*" %> 6 | 7 | <% 8 | String groupName = request.getParameter(ReportRunnerServlet.GROUP); 9 | String reportName = request.getParameter(ReportRunnerServlet.REPORT); 10 | Report report = ReportFactory.getReport(groupName, reportName); 11 | %> 12 | 13 | The report has returned no data. 14 | 15 | <%@ include file="footer.inc" %> 16 | -------------------------------------------------------------------------------- /scraping-engine/src/examples/Comics/com/generationjava/comics/SnoopyParser.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.comics; 2 | 3 | import org.osjava.scraping.parser.UrlScraper; 4 | 5 | import com.generationjava.scrape.HtmlScraper; 6 | 7 | public class SnoopyParser extends UrlScraper { 8 | 9 | protected String scrapeUrl(HtmlScraper scraper) { 10 | scraper.moveToTagWith("ALT", "Today's Strip"); 11 | scraper.moveToTagWith("WIDTH", "485"); 12 | scraper.moveToTagWith("ALT", "Today's Strip"); 13 | 14 | return scraper.get("IMG[SRC]"); 15 | } 16 | 17 | } 18 | 19 | -------------------------------------------------------------------------------- /simple-jms/project.properties: -------------------------------------------------------------------------------- 1 | maven.ui.navcol.background=#f4f8d8 2 | maven.ui.banner.background=#000066 3 | maven.ui.section.background=#000066 4 | maven.ui.subsection.background=#000066 5 | maven.ui.breadcrumbs.background=#f4f8d8 6 | 7 | maven.xdoc.poweredby.image=maven-feather.png 8 | maven.xdoc.includeProjectDocumentation=false 9 | maven.xdoc.date = left 10 | maven.xdoc.version = v${pom.currentVersion} 11 | 12 | maven.checkstyle.properties=../hen_checkstyle.xml 13 | 14 | maven.javadoc.stylesheet = ../osjavadoc-style.css 15 | maven.javadoc.links=http://java.sun.com/j2se/1.4.2/docs/api/ 16 | -------------------------------------------------------------------------------- /dormant/logview/src/java/com/generationjava/logview/LogViewException.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.logview; 2 | 3 | import org.apache.commons.lang.exception.NestableException;; 4 | 5 | public class LogViewException extends NestableException { 6 | 7 | public LogViewException() { 8 | super(); 9 | } 10 | 11 | public LogViewException(String msg) { 12 | super(msg); 13 | } 14 | 15 | public LogViewException(Throwable t) { 16 | super(t); 17 | } 18 | 19 | public LogViewException(String msg, Throwable t) { 20 | super(msg,t); 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /genjava/gj-csv/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | genjava 5 | genjava 6 | UNUSED 7 | 8 | 4.0.0 9 | gj-csv 10 | GenJava-CSV 11 | 1.0 12 | 2002 13 | 14 | 15 | CSV component of GenJava-Core. Reads and writes CSV files. 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /genjava/gj-gui/src/java/com/generationjava/awt/ImageW.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.awt; 2 | 3 | import java.awt.Image; 4 | 5 | public class ImageW { 6 | 7 | private String name; 8 | private Image image; 9 | 10 | public ImageW(String name, Image image) { 11 | this.name = name; 12 | this.image = image; 13 | } 14 | 15 | public String toString() { 16 | return this.name; 17 | } 18 | 19 | public Image getImage() { 20 | return this.image; 21 | } 22 | 23 | public void close() { 24 | this.image.flush(); 25 | } 26 | 27 | } -------------------------------------------------------------------------------- /sqlite-jdbc/docs/Dependancies: -------------------------------------------------------------------------------- 1 | XXX: This document should be dumped into maven documentation format. 2 | 3 | Dependancies for Building 4 | ------------------------- 5 | * Java 1.4 or above, though this may eventually be elevated to Java 5 as a 6 | minimum. 7 | * SQLite 3.2.2+ 8 | * sqlite3_db_handle() is a required method. 9 | * sqlite3_get_autocommit() is a required method (or will be) 10 | * Ant (1.6.5 tested) 11 | * Optional javah task 12 | * Gcc or other Ansi C compliant compiler for building the JNI portion. There 13 | are plans in the future to support building with cl in Windows. 14 | 15 | -------------------------------------------------------------------------------- /jardiff/src/examples/jardiff.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | 4 | if [ ! -f jardiff-0.1.jar ]; then 5 | wget 'http://www.ibiblio.org/maven/jardiff/jars/jardiff-0.1.jar' || 6 | exit 1 7 | fi 8 | 9 | if [ ! -f jardiff-0.2.jar ]; then 10 | wget 'http://www.ibiblio.org/maven/jardiff/jars/jardiff-0.2.jar' || 11 | exit 1 12 | fi 13 | 14 | java -jar ../../target/jardiff-0.2-uber.jar -f jardiff-0.1.jar \ 15 | -t jardiff-0.2.jar -o html -O jardiff-0.1-0.2.html \ 16 | -fa "http://dist.osjava.org/releases/multidoc-jnr/jardiff/0.1" \ 17 | -ta "http://dist.osjava.org/releases/multidoc-jnr/jardiff/0.2" \ 18 | -s "diff.css" 19 | -------------------------------------------------------------------------------- /simuchron/src/java/com/generationjava/simuchron/BlockPre.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.simuchron; 2 | 3 | import java.util.Date; 4 | 5 | import com.generationjava.config.Config; 6 | import org.osjava.oscube.container.Session; 7 | 8 | // needs genericizing. TimeOfDayMatcher?? 9 | public class BlockPre implements Pre { 10 | 11 | // ?? 12 | public BlockPre() { 13 | } 14 | 15 | public Date pre(Date ts, Config config, Session session) { 16 | if(ts.getMinutes() < 30) { 17 | return null; 18 | } else { 19 | return ts; 20 | } 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /charlotte/xdocs/data-dictionary.txt: -------------------------------------------------------------------------------- 1 | encoding-definition = (field-definiton)+ 2 | field-definition = (bit-count)[,(expression-string)] 3 | expression-string = (lookup-table|mathematic-expression) 4 | lookup-table = ([)(float)(,float)*(]) 5 | float = floating point number 6 | mathematic-expression = a mathematical function containing simple math operators and 7 | the variable (x). The function may also contain the variables 8 | maxValue and fieldWidth and any of the JEP standard functions 9 | such as cos, sin, etc. 10 | 11 | -------------------------------------------------------------------------------- /code316-core/src/java/code316/core/Logger.java: -------------------------------------------------------------------------------- 1 | package code316.core; 2 | 3 | import java.io.OutputStream; 4 | 5 | public class Logger extends Category { 6 | public Logger(Class _class) { 7 | super(_class); 8 | } 9 | 10 | public Logger(String name) { 11 | super(name); 12 | } 13 | 14 | public Logger() { 15 | super(); 16 | } 17 | 18 | public Logger(int logLevel) { 19 | super(logLevel); 20 | } 21 | 22 | public Logger(OutputStream os, String name) { 23 | super(os, name); 24 | } 25 | 26 | 27 | 28 | } 29 | -------------------------------------------------------------------------------- /logview2/src/java/org/osjava/logview/reports/ShowLogReport.java: -------------------------------------------------------------------------------- 1 | package org.osjava.logview.reports; 2 | 3 | import org.osjava.reportrunner.*; 4 | import java.util.ArrayList; 5 | import java.util.List; 6 | 7 | public class ShowLogReport extends ApacheLogReport { 8 | 9 | private List list = new ArrayList(); 10 | 11 | public void addToReport(String[] line) { 12 | list.add( line ); 13 | } 14 | 15 | public Result executeReport() { 16 | return new ArrayResult(getLines().toArray()); 17 | } 18 | 19 | protected List getLines() { 20 | return this.list; 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /nextjen/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright 2005 Antony Riley 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | -------------------------------------------------------------------------------- /dormant/atom4j/docs/feed/atom02minimal.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | dive into mark 4 | http://diveintomark.org/ 5 | 2003-08-05T18:30:02Z 6 | 7 | Mark Pilgrim 8 | 9 | 10 | Atom 0.2 snapshot 11 | http://diveintomark.org/2003/08/05/atom02 12 | tag:diveintomark.org,2003:3.2397 13 | 2003-08-05T08:29:29-04:00 14 | 2003-08-05T18:30:02Z 15 | 16 | 17 | -------------------------------------------------------------------------------- /code316-core/src/java/code316/gui/BeanModelAdapter.java: -------------------------------------------------------------------------------- 1 | package code316.gui; 2 | 3 | public class BeanModelAdapter { 4 | private boolean selected; 5 | private Object bean; 6 | public BeanModelAdapter(Object bean) { 7 | setBean(bean); 8 | } 9 | 10 | public boolean isSelected() { 11 | return selected; 12 | } 13 | 14 | public void setSelected(boolean selected) { 15 | this.selected = selected; 16 | } 17 | 18 | public Object getBean() { 19 | return bean; 20 | } 21 | 22 | public void setBean(Object bean) { 23 | this.bean = bean; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /dormant/logview/src/java/com/generationjava/logview/report/AbstractReport.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.logview.report; 2 | 3 | import java.util.Properties; 4 | 5 | import com.generationjava.logview.Report; 6 | 7 | abstract public class AbstractReport implements Report { 8 | 9 | private Properties links; 10 | 11 | public AbstractReport() { 12 | links = new Properties(); 13 | } 14 | 15 | public void setLink(String field, String link) { 16 | links.put(field, link); 17 | } 18 | 19 | public String getLink(String field) { 20 | return links.getProperty(field); 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /trail-taglib/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /genjava/gj-gui/src/java/com/generationjava/awt/ReportEvent.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.awt; 2 | 3 | public class ReportEvent { 4 | 5 | private String name; 6 | private String type; 7 | private Object value; 8 | 9 | public ReportEvent(String name, Object value) { 10 | this.name = name; 11 | this.value = value; 12 | } 13 | 14 | public Object getValue() { 15 | return this.value; 16 | } 17 | 18 | public String getName() { 19 | return this.name; 20 | } 21 | 22 | public String toString() { 23 | return ""+this.name+":"+this.value; 24 | } 25 | 26 | } -------------------------------------------------------------------------------- /mudclient/src/java/org/cyberiantiger/console/StringConsoleAction.java: -------------------------------------------------------------------------------- 1 | package org.cyberiantiger.console; 2 | 3 | public class StringConsoleAction extends AbstractConsoleAction { 4 | 5 | private char[] data; 6 | private int offset; 7 | private int len; 8 | 9 | public StringConsoleAction(char[] data, int offset, int len) { 10 | this.data = data; 11 | this.offset = offset; 12 | this.len = len; 13 | } 14 | 15 | public void apply(Console con) { 16 | con.drawString(data,offset,len); 17 | } 18 | 19 | public void appendToBuffer(StringBuffer buffer) { 20 | buffer.append(data,offset,len); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /genjava/gj-config/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | genjava 5 | genjava 6 | UNUSED 7 | 8 | 4.0.0 9 | gj-config 10 | GenJava-Config 11 | 2.0 12 | 2003 13 | 14 | 15 | Simple configuration system, mainly for use with a JNDI implementation such as simple-jndi. 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /pergamum/content/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 10 | 11 | 12 |
13 | 14 | 15 | 16 |
17 | 18 |
19 | -------------------------------------------------------------------------------- /dormant/logview/src/java/com/generationjava/logview/LogViewRuntimeException.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.logview; 2 | 3 | import org.apache.commons.lang.exception.NestableRuntimeException; 4 | 5 | public class LogViewRuntimeException extends NestableRuntimeException { 6 | 7 | public LogViewRuntimeException() { 8 | super(); 9 | } 10 | 11 | public LogViewRuntimeException(String msg) { 12 | super(msg); 13 | } 14 | 15 | public LogViewRuntimeException(Throwable t) { 16 | super(t); 17 | } 18 | 19 | public LogViewRuntimeException(String msg, Throwable t) { 20 | super(msg,t); 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /charlotte/src/java/code316/charlotte/Encoding.java: -------------------------------------------------------------------------------- 1 | package code316.charlotte; 2 | import java.math.BigInteger; 3 | import java.util.List; 4 | 5 | public interface Encoding { 6 | public static final char WHITE_SPACE[] = {' ', '\t'}; 7 | String getName(); 8 | void setName(String name); 9 | void addFieldDefinition(FieldDefinition fd); 10 | FieldDefinition getFieldDefinition(int index); 11 | int getLength(); 12 | List getFieldDefinitions(); 13 | int getFieldCount(); 14 | BigInteger getMaxValue(); 15 | BigInteger extractFieldValue(int index, BigInteger bits); 16 | double expandFieldValue(int index, BigInteger bits); 17 | } 18 | -------------------------------------------------------------------------------- /genjava/gj-scrape/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | ../project.xml 4 | gj-scrape 5 | GenJava-Scrape 6 | 2.0.1 7 | 2002 8 | 9 | 10 | Simple scraping component of GenJava-Core. 11 | 12 | 13 | Scraper APIs 14 | 15 | 16 | 17 | commons-lang 18 | 2.0 19 | http://jakarta.apache.org/commons/lang.html 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /dormant/logview/archive/type/DateType.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.logview.type; 2 | 3 | import java.util.Date; 4 | 5 | public class DateType extends AbstractType { 6 | 7 | /** 8 | * Is obj1 equal to obj2, within a given error value epsilon. 9 | * 10 | * ie) 10/5/2001 17:48 and 10/5/2001 18:02 and epsilon :20 are equal 11 | */ 12 | public boolean equals(Object obj1, Object obj2, Object epsilon) { 13 | if(obj1 instanceof Date) { 14 | if(obj2 instanceof Date) { 15 | if(epsilon instanceof Date) { 16 | } 17 | } 18 | } 19 | return false; 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /simuchron/src/java/com/generationjava/simuchron/ConstantAlgorithm.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.simuchron; 2 | 3 | import java.util.Date; 4 | 5 | import com.generationjava.config.Config; 6 | import org.osjava.oscube.container.Session; 7 | 8 | public class ConstantAlgorithm implements Algorithm { 9 | 10 | public Number evaluate(Date ts, Config config, Session session) { 11 | double d = config.getDouble("algorithm.constant"); 12 | if(d > 1) throw new IllegalArgumentException("Constant must be <= 1"); 13 | if(d < -1) throw new IllegalArgumentException("Constant must be >= -1"); 14 | return new Float(d); 15 | } 16 | 17 | 18 | } 19 | -------------------------------------------------------------------------------- /charlotte/project.properties: -------------------------------------------------------------------------------- 1 | maven.repo.remote=http://dist.osjava.org/maven/,http://repo1.maven.org/maven/ 2 | 3 | maven.ui.navcol.background=#eeffee 4 | maven.ui.banner.background=#66CC00 5 | maven.ui.section.background=#66CC00 6 | maven.ui.subsection.background=#66CC00 7 | maven.ui.breadcrumbs.background=#eeffee 8 | 9 | maven.xdoc.theme=classic 10 | maven.xdoc.includeProjectDocumentation=false 11 | maven.xdoc.date = left 12 | maven.xdoc.version = v${pom.currentVersion} 13 | 14 | maven.changelog.factory=org.apache.maven.svnlib.SvnChangeLogFactory 15 | 16 | maven.javadoc.stylesheet = ../osjavadoc-style.css 17 | maven.javadoc.links=http://java.sun.com/j2se/1.4.2/docs/api/ 18 | -------------------------------------------------------------------------------- /code316-core/src/test/code316/gui/AllTests.java: -------------------------------------------------------------------------------- 1 | package code316.gui; 2 | 3 | import junit.framework.Test; 4 | import junit.framework.TestResult; 5 | import junit.framework.TestSuite; 6 | 7 | 8 | public class AllTests { 9 | public static Test suite() { 10 | TestSuite suite = new TestSuite("Test for code316.gui"); 11 | //$JUnit-BEGIN$ 12 | suite.addTestSuite(BeanModelTester.class); 13 | suite.addTestSuite(ModelDescriptionTest.class); 14 | //$JUnit-END$ 15 | return suite; 16 | } 17 | 18 | public static void main(String[] args) { 19 | suite().run(new TestResult()); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /mudclient/project.properties: -------------------------------------------------------------------------------- 1 | maven.repo.remote=http://www.generationjava.com/jars2/,http://www.ibiblio.org/maven/ 2 | 3 | maven.ui.navcol.background=#f4f8d8 4 | maven.ui.banner.background=#000066 5 | maven.ui.section.background=#000066 6 | maven.ui.subsection.background=#000066 7 | maven.xdoc.date = left 8 | maven.xdoc.version = v${pom.currentVersion} 9 | maven.ui.breadcrumbs.background=#f4f8d8 10 | 11 | maven.xdoc.theme=classic 12 | maven.xdoc.poweredby.image=../1x1.gif 13 | 14 | maven.changelog.factory=org.apache.maven.svnlib.SvnChangeLogFactory 15 | 16 | maven.javadoc.stylesheet = ../osjavadoc-style.css 17 | maven.javadoc.links=http://java.sun.com/j2se/1.4.2/docs/api/ 18 | -------------------------------------------------------------------------------- /osjava-nio/project.properties: -------------------------------------------------------------------------------- 1 | maven.repo.remote=http://www.generationjava.com/jars2/,http://repo1.maven.org/maven/ 2 | 3 | maven.ui.navcol.background=#f4f8d8 4 | maven.ui.banner.background=#000066 5 | maven.ui.section.background=#000066 6 | maven.ui.subsection.background=#000066 7 | maven.xdoc.date = left 8 | maven.xdoc.version = v${pom.currentVersion} 9 | maven.ui.breadcrumbs.background=#f4f8d8 10 | 11 | maven.xdoc.theme=classic 12 | maven.xdoc.poweredby.image=../1x1.gif 13 | 14 | maven.changelog.factory=org.apache.maven.svnlib.SvnChangeLogFactory 15 | 16 | maven.javadoc.stylesheet = ../osjavadoc-style.css 17 | maven.javadoc.links=http://java.sun.com/j2se/1.4.2/docs/api/ 18 | -------------------------------------------------------------------------------- /pergamum/content/comingsoon.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 |
Coming Soon - comingsoon
4 |
5 |
    6 | 0131413597 7 | 1590595157 8 | 1590595211 9 | 1590594991 10 | 1590595114 11 | 1590594932 12 | 1590595076 13 | 0596005822 14 | 1932394192 15 |
16 |
17 |
18 | -------------------------------------------------------------------------------- /reportrunner/src/java/org/osjava/reportrunner/reports/DummyReport.java: -------------------------------------------------------------------------------- 1 | package org.osjava.reportrunner.reports; 2 | 3 | import org.osjava.reportrunner.*; 4 | 5 | public class DummyReport extends AbstractReport { 6 | 7 | public Result execute() throws ReportException { 8 | return new ArrayResult( 9 | new Object[] { 10 | new Object[] { "1", "2", "3" }, 11 | new Object[] { "4", "2", "3" }, 12 | new Object[] { "5", "2", "3" }, 13 | new Object[] { "6", "2", "3" }, 14 | } 15 | ); 16 | } 17 | 18 | public Choice[] getParamChoices(Param param) { 19 | return null; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /reportrunner/webapp/list_groups.jsp: -------------------------------------------------------------------------------- 1 | <%@ include file="header.inc" %> 2 | <%@ page import="org.osjava.reportrunner.*" %> 3 | <%@ page import="org.osjava.reportrunner.servlets.*" %> 4 | 5 |
6 |

What kind of report would you like to run?

7 | 8 |
JavadocJarDiff
9 | <% 10 | ReportGroup[] groups = ReportFactory.getReportGroups(); 11 | for(int i=0; i 13 | 14 | <% 15 | } 16 | %> 17 |
<%= groups[i].getLabel() %><%= groups[i].getDescription() %>
18 | 19 | <%@ include file="footer.inc" %> 20 | -------------------------------------------------------------------------------- /pergamum/run.sh: -------------------------------------------------------------------------------- 1 | rm Style.class 2 | javac Style.java 3 | java Style content/book.xml pergamum-html.xsl db/books.xml book isbn 4 | java Style content/publisher-books.xml pergamum-html.xsl db/publishers.xml publisher id 5 | java Style content/category-books.xml pergamum-html.xsl db/categories.xml category id 6 | 7 | for xml in comingsoon.xml listbooks.xml listcategories.xml listpublishers.xml newbooks.xml newreviews.xml help.xml 8 | do 9 | java Style content/$xml pergamum-html.xsl 10 | done 11 | 12 | for xml in comingsoon.xml newbooks.xml newreviews.xml 13 | do 14 | java Style content/$xml pergamum-rss.xsl 15 | done 16 | 17 | java Style content/index.xml pergamum-html.xsl 18 | -------------------------------------------------------------------------------- /mudclient/src/java/org/cyberiantiger/telnet/AbstractTelnetSubOption.java: -------------------------------------------------------------------------------- 1 | package org.cyberiantiger.telnet; 2 | 3 | public abstract class AbstractTelnetSubOption extends AbstractTelnetOption { 4 | 5 | protected int suboption; 6 | 7 | public AbstractTelnetSubOption(int option, int suboption) { 8 | super(option); 9 | this.suboption = suboption; 10 | } 11 | 12 | public int getSubOption() { 13 | return suboption; 14 | } 15 | 16 | public byte[] getBytes() { 17 | return new byte[] { (byte) IAC, (byte) option, (byte) suboption }; 18 | } 19 | 20 | public String toString() { 21 | return super.toString() + " " + optionToString(suboption); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /xmlwriter/src/example/Example1.java: -------------------------------------------------------------------------------- 1 | import com.generationjava.io.xml.*; 2 | import java.io.*; 3 | 4 | public class Example1 { 5 | 6 | public static void main(String[] args) throws IOException { 7 | PrintWriter pw = new PrintWriter(System.out); 8 | 9 | // XmlWriter xw = new SimpleXmlWriter(pw); 10 | XmlWriter xw = new XmlEncXmlWriter(pw); 11 | 12 | xw.writeEntity("unit"); 13 | xw.writeEntity("child"); 14 | xw.writeEntity("grandchild"); 15 | xw.endEntity(); 16 | xw.endEntity(); 17 | xw.endEntity(); 18 | xw.getWriter().write("\n"); 19 | xw.close(); 20 | pw.close(); 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /dormant/atom4j/docs/feed/Atom03_Min.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | dive into mark 4 | 5 | 2003-12-13T18:30:02Z 6 | 7 | Mark Pilgrim 8 | 9 | 10 | Atom 0.3 snapshot 11 | 12 | tag:diveintomark.org,2003:3.2397 13 | 2003-12-13T08:29:29-04:00 14 | 2003-12-13T18:30:02Z 15 | 16 | 17 | -------------------------------------------------------------------------------- /dormant/multidoc/src/java/org/osjava/multidoc/MultidocGenerator.java: -------------------------------------------------------------------------------- 1 | package org.osjava.multidoc; 2 | 3 | import java.io.IOException; 4 | import java.io.Writer; 5 | import java.io.File; 6 | 7 | public interface MultidocGenerator { 8 | 9 | void generate(File targetDirectory, DocumentSite site, Document document) throws IOException; 10 | // remove these write ones? 11 | void writeProjectFrame(Writer writer, DocumentSite site, Document document) throws IOException; 12 | void writePackagesFrame(Writer writer, DocumentSite site, Document document) throws IOException; 13 | void writeOverviewFrame(Writer writer, DocumentSite site, Document document) throws IOException; 14 | 15 | } 16 | -------------------------------------------------------------------------------- /genjava/gj-gui/src/java/com/generationjava/swing/FileFilter.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.swing; 2 | 3 | import java.io.File; 4 | 5 | public class FileFilter extends javax.swing.filechooser.FileFilter 6 | implements java.io.FileFilter 7 | { 8 | 9 | private String description; 10 | private java.io.FileFilter filter; 11 | 12 | public FileFilter(java.io.FileFilter filter, String description) { 13 | this.filter = filter; 14 | this.description = description; 15 | } 16 | 17 | public boolean accept(File file) { 18 | return this.accept(file); 19 | } 20 | 21 | public String getDescription() { 22 | return this.description; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /pergamum/docs/publisher-books-qos.html: -------------------------------------------------------------------------------- 1 | 2 | publisher:qos

?
3 |
QoS - http://www.qos.ch/
4 |
-------------------------------------------------------------------------------- /simple-jms/src/test/config/default.properties: -------------------------------------------------------------------------------- 1 | org.osjava.jms.QueueConnectionFactory.type=org.osjava.jms.MemoryQueueConnectionFactory 2 | org.osjava.jms.QueueConnectionFactory.converter=org.osjava.sj.loader.convert.BeanConverter 3 | 4 | Test Q=Test Q 5 | Test Q.type=org.osjava.jms.MemoryQueue 6 | Test Q.converter=org.osjava.sj.loader.convert.ConstructorConverter 7 | 8 | org.osjava.jms.TopicConnectionFactory.type=org.osjava.jms.MemoryTopicConnectionFactory 9 | org.osjava.jms.TopicConnectionFactory.converter=org.osjava.sj.loader.convert.BeanConverter 10 | 11 | Test Topic=Test Topic 12 | Test Topic.type=org.osjava.jms.MemoryTopic 13 | Test Topic.converter=org.osjava.sj.loader.convert.ConstructorConverter 14 | -------------------------------------------------------------------------------- /simuchron/src/java/com/generationjava/simuchron/SlopeAlgorithm.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.simuchron; 2 | 3 | import java.util.Date; 4 | 5 | import com.generationjava.config.Config; 6 | import org.osjava.oscube.container.Session; 7 | 8 | public class SlopeAlgorithm implements Algorithm { 9 | 10 | public Number evaluate(Date ts, Config config, Session session) { 11 | double hours = ts.getHours(); 12 | hours += ((double)ts.getMinutes())/60; 13 | if(hours > 12) { 14 | hours = 24 - hours; 15 | } 16 | double value = (12-hours)/12; 17 | value *= 2; 18 | value -= 1; 19 | return new Double(value); 20 | } 21 | 22 | 23 | } 24 | -------------------------------------------------------------------------------- /dormant/multidoc/xdocs/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Henri Yandell 6 | Multidoc 7 | 8 | 9 | 10 | 11 |
12 |

Multidoc is a simple tool that outputs a wrapping-site for existing javadoc-style sites. It depends on a bunch of jars, so make sure you aquire these. Multidoc currently supports: 13 |

18 |

19 |
20 | 21 | 22 |
23 | -------------------------------------------------------------------------------- /genjava/gj-csv/project.properties: -------------------------------------------------------------------------------- 1 | maven.repo.remote=http://dist.osjava.org/maven/,http://repo1.maven.org/maven/ 2 | 3 | maven.ui.navcol.background=#f4f8d8 4 | maven.ui.banner.background=#000066 5 | maven.ui.section.background=#000066 6 | maven.ui.subsection.background=#000066 7 | maven.ui.breadcrumbs.background=#f4f8d8 8 | 9 | maven.xdoc.theme=classic 10 | maven.xdoc.poweredby.image=maven-feather.png 11 | maven.xdoc.includeProjectDocumentation=false 12 | maven.xdoc.date = left 13 | maven.xdoc.version = v${pom.currentVersion} 14 | 15 | maven.checkstyle.properties=../../hen_checkstyle.xml 16 | 17 | maven.javadoc.stylesheet=../../osjavadoc-style.css 18 | maven.javadoc.links=http://java.sun.com/j2se/1.4.2/docs/api/ 19 | -------------------------------------------------------------------------------- /genjava/gj-gui/project.properties: -------------------------------------------------------------------------------- 1 | maven.repo.remote=http://dist.osjava.org/maven/,http://repo1.maven.org/maven/ 2 | 3 | maven.ui.navcol.background=#f4f8d8 4 | maven.ui.banner.background=#000066 5 | maven.ui.section.background=#000066 6 | maven.ui.subsection.background=#000066 7 | maven.ui.breadcrumbs.background=#f4f8d8 8 | 9 | maven.xdoc.theme=classic 10 | maven.xdoc.poweredby.image=maven-feather.png 11 | maven.xdoc.includeProjectDocumentation=false 12 | maven.xdoc.date = left 13 | maven.xdoc.version = v${pom.currentVersion} 14 | 15 | maven.checkstyle.properties=../../hen_checkstyle.xml 16 | 17 | maven.javadoc.stylesheet=../../osjavadoc-style.css 18 | maven.javadoc.links=http://java.sun.com/j2se/1.4.2/docs/api/ 19 | -------------------------------------------------------------------------------- /genjava/gj-xml/project.properties: -------------------------------------------------------------------------------- 1 | maven.repo.remote=http://dist.osjava.org/maven/,http://repo1.maven.org/maven/ 2 | 3 | maven.ui.navcol.background=#f4f8d8 4 | maven.ui.banner.background=#000066 5 | maven.ui.section.background=#000066 6 | maven.ui.subsection.background=#000066 7 | maven.ui.breadcrumbs.background=#f4f8d8 8 | 9 | maven.xdoc.theme=classic 10 | maven.xdoc.poweredby.image=maven-feather.png 11 | maven.xdoc.includeProjectDocumentation=false 12 | maven.xdoc.date = left 13 | maven.xdoc.version = v${pom.currentVersion} 14 | 15 | maven.checkstyle.properties=../../hen_checkstyle.xml 16 | 17 | maven.javadoc.stylesheet=../../osjavadoc-style.css 18 | maven.javadoc.links=http://java.sun.com/j2se/1.4.2/docs/api/ 19 | -------------------------------------------------------------------------------- /logview2/src/java/org/osjava/logview/text/RegexpParser.java: -------------------------------------------------------------------------------- 1 | package org.osjava.logview.text; 2 | 3 | import java.util.regex.*; 4 | 5 | public class RegexpParser { 6 | 7 | private String re; 8 | 9 | public RegexpParser(String re) { 10 | this.re = re; 11 | } 12 | 13 | public String[] parse(String line) { 14 | Pattern pattern = Pattern.compile(this.re); 15 | Matcher matcher = pattern.matcher(line); 16 | matcher.matches(); 17 | int sz = matcher.groupCount(); 18 | String[] values = new String[sz]; 19 | for(int i=1; i<=sz; i++) { 20 | values[i-1] = matcher.group(i); 21 | } 22 | return values; 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /reportrunner/project.properties: -------------------------------------------------------------------------------- 1 | maven.repo.remote=http://dist.osjava.org/maven/,http://repo1.maven.org/maven/ 2 | 3 | maven.ui.navcol.background=#f4f8d8 4 | maven.ui.banner.background=#000066 5 | maven.ui.section.background=#000066 6 | maven.ui.subsection.background=#000066 7 | maven.ui.breadcrumbs.background=#f4f8d8 8 | 9 | maven.xdoc.theme=classic 10 | maven.xdoc.poweredby.image=maven-feather.png 11 | maven.xdoc.includeProjectDocumentation=false 12 | maven.xdoc.date = left 13 | maven.xdoc.version = v${pom.currentVersion} 14 | 15 | maven.javadoc.stylesheet = ../osjavadoc-style.css 16 | maven.javadoc.links=http://java.sun.com/j2se/1.4.2/docs/api/ 17 | 18 | maven.compile.source=1.4 19 | maven.compile.target=1.4 20 | -------------------------------------------------------------------------------- /genjava/gj-beans/project.properties: -------------------------------------------------------------------------------- 1 | maven.repo.remote=http://dist.osjava.org/maven/,http://repo1.maven.org/maven/ 2 | 3 | maven.ui.navcol.background=#f4f8d8 4 | maven.ui.banner.background=#000066 5 | maven.ui.section.background=#000066 6 | maven.ui.subsection.background=#000066 7 | maven.ui.breadcrumbs.background=#f4f8d8 8 | 9 | maven.xdoc.theme=classic 10 | maven.xdoc.poweredby.image=maven-feather.png 11 | maven.xdoc.includeProjectDocumentation=false 12 | maven.xdoc.date = left 13 | maven.xdoc.version = v${pom.currentVersion} 14 | 15 | maven.checkstyle.properties=../../hen_checkstyle.xml 16 | 17 | maven.javadoc.stylesheet=../../osjavadoc-style.css 18 | maven.javadoc.links=http://java.sun.com/j2se/1.4.2/docs/api/ 19 | -------------------------------------------------------------------------------- /genjava/gj-config/project.properties: -------------------------------------------------------------------------------- 1 | maven.repo.remote=http://dist.osjava.org/maven/,http://repo1.maven.org/maven/ 2 | 3 | maven.ui.navcol.background=#f4f8d8 4 | maven.ui.banner.background=#000066 5 | maven.ui.section.background=#000066 6 | maven.ui.subsection.background=#000066 7 | maven.ui.breadcrumbs.background=#f4f8d8 8 | 9 | maven.xdoc.theme=classic 10 | maven.xdoc.poweredby.image=maven-feather.png 11 | maven.xdoc.includeProjectDocumentation=false 12 | maven.xdoc.date = left 13 | maven.xdoc.version = v${pom.currentVersion} 14 | 15 | maven.checkstyle.properties=../../hen_checkstyle.xml 16 | 17 | maven.javadoc.stylesheet=../../osjavadoc-style.css 18 | maven.javadoc.links=http://java.sun.com/j2se/1.4.2/docs/api/ 19 | -------------------------------------------------------------------------------- /genjava/gj-core/project.properties: -------------------------------------------------------------------------------- 1 | maven.repo.remote=http://dist.osjava.org/maven/,http://repo1.maven.org/maven/ 2 | 3 | maven.ui.navcol.background=#f4f8d8 4 | maven.ui.banner.background=#000066 5 | maven.ui.section.background=#000066 6 | maven.ui.subsection.background=#000066 7 | maven.ui.breadcrumbs.background=#f4f8d8 8 | 9 | maven.xdoc.theme=classic 10 | maven.xdoc.poweredby.image=maven-feather.png 11 | maven.xdoc.includeProjectDocumentation=false 12 | maven.xdoc.date = left 13 | maven.xdoc.version = v${pom.currentVersion} 14 | 15 | maven.checkstyle.properties=../../hen_checkstyle.xml 16 | 17 | maven.javadoc.stylesheet=../../osjavadoc-style.css 18 | maven.javadoc.links=http://java.sun.com/j2se/1.4.2/docs/api/ 19 | -------------------------------------------------------------------------------- /genjava/gj-find/project.properties: -------------------------------------------------------------------------------- 1 | maven.repo.remote=http://dist.osjava.org/maven/,http://repo1.maven.org/maven/ 2 | 3 | maven.ui.navcol.background=#f4f8d8 4 | maven.ui.banner.background=#000066 5 | maven.ui.section.background=#000066 6 | maven.ui.subsection.background=#000066 7 | maven.ui.breadcrumbs.background=#f4f8d8 8 | 9 | maven.xdoc.theme=classic 10 | maven.xdoc.poweredby.image=maven-feather.png 11 | maven.xdoc.includeProjectDocumentation=false 12 | maven.xdoc.date = left 13 | maven.xdoc.version = v${pom.currentVersion} 14 | 15 | maven.checkstyle.properties=../../hen_checkstyle.xml 16 | 17 | maven.javadoc.stylesheet=../../osjavadoc-style.css 18 | maven.javadoc.links=http://java.sun.com/j2se/1.4.2/docs/api/ 19 | -------------------------------------------------------------------------------- /genjava/gj-gui/src/java/com/generationjava/swing/GJTableSortIndex.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.swing; 2 | 3 | // used to hold sorting data when there's a listener. 4 | public class GJTableSortIndex { 5 | 6 | private int index; 7 | private Object data; 8 | 9 | public void setIndex(int index) { 10 | this.index = index; 11 | } 12 | 13 | public int getIndex() { 14 | return this.index; 15 | } 16 | 17 | public void setData(Object data) { 18 | this.data = data; 19 | } 20 | 21 | public Object getData() { 22 | return this.data; 23 | } 24 | 25 | public String toString() { 26 | return "D["+index+"]='"+data+"'"; 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /genjava/gj-mail/project.properties: -------------------------------------------------------------------------------- 1 | maven.repo.remote=http://dist.osjava.org/maven/,http://repo1.maven.org/maven/ 2 | 3 | maven.ui.navcol.background=#f4f8d8 4 | maven.ui.banner.background=#000066 5 | maven.ui.section.background=#000066 6 | maven.ui.subsection.background=#000066 7 | maven.ui.breadcrumbs.background=#f4f8d8 8 | 9 | maven.xdoc.theme=classic 10 | maven.xdoc.poweredby.image=maven-feather.png 11 | maven.xdoc.includeProjectDocumentation=false 12 | maven.xdoc.date = left 13 | maven.xdoc.version = v${pom.currentVersion} 14 | 15 | maven.checkstyle.properties=../../hen_checkstyle.xml 16 | 17 | maven.javadoc.stylesheet=../../osjavadoc-style.css 18 | maven.javadoc.links=http://java.sun.com/j2se/1.4.2/docs/api/ 19 | -------------------------------------------------------------------------------- /genjava/gj-scrape/project.properties: -------------------------------------------------------------------------------- 1 | maven.repo.remote=http://dist.osjava.org/maven/,http://repo1.maven.org/maven/ 2 | 3 | maven.ui.navcol.background=#f4f8d8 4 | maven.ui.banner.background=#000066 5 | maven.ui.section.background=#000066 6 | maven.ui.subsection.background=#000066 7 | maven.ui.breadcrumbs.background=#f4f8d8 8 | 9 | maven.xdoc.theme=classic 10 | maven.xdoc.poweredby.image=maven-feather.png 11 | maven.xdoc.includeProjectDocumentation=false 12 | maven.xdoc.date = left 13 | maven.xdoc.version = v${pom.currentVersion} 14 | 15 | maven.checkstyle.properties=../../hen_checkstyle.xml 16 | 17 | maven.javadoc.stylesheet=../../osjavadoc-style.css 18 | maven.javadoc.links=http://java.sun.com/j2se/1.4.2/docs/api/ 19 | -------------------------------------------------------------------------------- /genjava/gj-servlet/project.properties: -------------------------------------------------------------------------------- 1 | maven.repo.remote=http://dist.osjava.org/maven/,http://repo1.maven.org/maven/ 2 | 3 | maven.ui.navcol.background=#f4f8d8 4 | maven.ui.banner.background=#000066 5 | maven.ui.section.background=#000066 6 | maven.ui.subsection.background=#000066 7 | maven.ui.breadcrumbs.background=#f4f8d8 8 | 9 | maven.xdoc.theme=classic 10 | maven.xdoc.poweredby.image=maven-feather.png 11 | maven.xdoc.includeProjectDocumentation=false 12 | maven.xdoc.date = left 13 | maven.xdoc.version = v${pom.currentVersion} 14 | 15 | maven.checkstyle.properties=../../hen_checkstyle.xml 16 | 17 | maven.javadoc.stylesheet=../../osjavadoc-style.css 18 | maven.javadoc.links=http://java.sun.com/j2se/1.4.2/docs/api/ 19 | -------------------------------------------------------------------------------- /genjava/gj-tools/project.properties: -------------------------------------------------------------------------------- 1 | maven.repo.remote=http://dist.osjava.org/maven/,http://repo1.maven.org/maven/ 2 | 3 | maven.ui.navcol.background=#f4f8d8 4 | maven.ui.banner.background=#000066 5 | maven.ui.section.background=#000066 6 | maven.ui.subsection.background=#000066 7 | maven.ui.breadcrumbs.background=#f4f8d8 8 | 9 | maven.xdoc.theme=classic 10 | maven.xdoc.poweredby.image=maven-feather.png 11 | maven.xdoc.includeProjectDocumentation=false 12 | maven.xdoc.date = left 13 | maven.xdoc.version = v${pom.currentVersion} 14 | 15 | maven.checkstyle.properties=../../hen_checkstyle.xml 16 | 17 | maven.javadoc.stylesheet=../../osjavadoc-style.css 18 | maven.javadoc.links=http://java.sun.com/j2se/1.4.2/docs/api/ 19 | -------------------------------------------------------------------------------- /dormant/atom4j/LICENSE.txt: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright 2003-2004 Lance Lavandowska 4 | * 5 | * Licensed under the Apache License, Version 2.0 (the "License"); 6 | * you may not use this file except in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ -------------------------------------------------------------------------------- /dormant/logview/archive/type/InetType.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.logview.type; 2 | 3 | import java.net.InetAddress; 4 | 5 | public class InetType extends AbstractType { 6 | 7 | /** 8 | * Is obj1 equal to obj2, within a given error value epsilon. 9 | * 10 | * Epsilon can be: 10.*.*.* so that anything inside the 10. 11 | * range is considered equal. 12 | */ 13 | public boolean equals(Object obj1, Object obj2, Object epsilon) { 14 | if(obj1 instanceof InetAddress) { 15 | if(obj2 instanceof InetAddress) { 16 | if(epsilon instanceof InetAddress) { 17 | } 18 | } 19 | } 20 | return false; 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /genjava/project.properties: -------------------------------------------------------------------------------- 1 | maven.repo.remote=http://dist.osjava.org/maven/,http://repo1.maven.org/maven/ 2 | 3 | maven.ui.navcol.background=#f4f8d8 4 | maven.ui.banner.background=#000066 5 | maven.ui.section.background=#000066 6 | maven.ui.subsection.background=#000066 7 | maven.ui.breadcrumbs.background=#f4f8d8 8 | 9 | maven.xdoc.theme=classic 10 | maven.xdoc.poweredby.image=maven-feather.png 11 | maven.xdoc.includeProjectDocumentation=false 12 | maven.xdoc.date = left 13 | # maven.xdoc.version = v${pom.currentVersion} 14 | 15 | maven.changelog.factory=org.apache.maven.svnlib.SvnChangeLogFactory 16 | 17 | maven.javadoc.stylesheet = ../osjavadoc-style.css 18 | maven.javadoc.links=http://java.sun.com/j2se/1.4.2/docs/api/ 19 | -------------------------------------------------------------------------------- /reportrunner/src/java/org/osjava/reportrunner/formatters/DateTimeFormatter.java: -------------------------------------------------------------------------------- 1 | package org.osjava.reportrunner.formatters; 2 | 3 | import org.osjava.reportrunner.*; 4 | 5 | import java.text.*; 6 | 7 | public class DateTimeFormatter extends AbstractFormatter { 8 | 9 | public Object format(Object input) { 10 | if(input instanceof java.util.Date) { 11 | if("EPOCH".equals(getPattern())) { 12 | return ""+ ((java.util.Date) input).getTime(); 13 | } 14 | SimpleDateFormat sdf = new SimpleDateFormat( getPattern() ); 15 | return sdf.format( (java.util.Date) input); 16 | } else { 17 | return input; 18 | } 19 | } 20 | 21 | } 22 | --------------------------------------------------------------------------------