├── cachew ├── project.xml └── src │ └── java │ └── org │ └── osjava │ └── cachew │ ├── Cachew.java │ ├── CachewGetServlet.java │ ├── CachewItem.java │ ├── CachewItemCreator.java │ ├── CachewManager.java │ └── CachewRefreshServlet.java ├── charlotte ├── .classpath ├── .project ├── TODO.txt ├── maven.xml ├── project.properties ├── project.xml ├── src │ ├── java │ │ └── code316 │ │ │ └── charlotte │ │ │ ├── DefaultDefinition.java │ │ │ ├── DefaultEncoding.java │ │ │ ├── Encoding.java │ │ │ ├── EncodingUtil.java │ │ │ ├── EncodingViewer.java │ │ │ ├── FieldDefinition.java │ │ │ ├── Parser.java │ │ │ ├── Value.java │ │ │ └── ValueExtractor.java │ └── test │ │ └── code316 │ │ └── charlotte │ │ ├── AllTests.java │ │ ├── EncodingTest.java │ │ └── ValueExtractorTest.java └── xdocs │ ├── changes.xml │ ├── data-dictionary.txt │ ├── navigation.xml │ ├── style │ └── custom.css │ ├── tcp-header.enc │ ├── tcp.txt │ └── tutorial.xml ├── code316-core ├── .classpath ├── .project ├── Manifest.mf ├── TODO.txt ├── changelog.txt ├── encoding.g ├── encodingdescriptions ├── g.txt ├── launch.bat ├── launch.properties ├── license.htm ├── license.txt ├── maven.xml ├── project.properties ├── project.xml ├── src │ ├── java │ │ └── code316 │ │ │ ├── beans │ │ │ ├── BeanProperty.java │ │ │ └── BeanUtil.java │ │ │ ├── classloading │ │ │ ├── Boot.java │ │ │ ├── ClassLoaderX.java │ │ │ └── Logger.java │ │ │ ├── core │ │ │ ├── Args.java │ │ │ ├── Category.java │ │ │ ├── ClassFinder.java │ │ │ ├── ClassUtil.java │ │ │ ├── DbHelper.java │ │ │ ├── ExceptionUtil.java │ │ │ ├── FileUtil.java │ │ │ ├── LaunchScriptBuilder.java │ │ │ ├── Logger.java │ │ │ ├── PropertiesUtil.java │ │ │ └── WindowUtil.java │ │ │ ├── debug │ │ │ ├── DebugInputStream.java │ │ │ ├── DebugOutputStream.java │ │ │ ├── StreamCollector.java │ │ │ └── StreamListener.java │ │ │ ├── event │ │ │ ├── MessagePump.java │ │ │ └── Propagator.java │ │ │ ├── gui │ │ │ ├── BeanModelAdapter.java │ │ │ ├── BeanTable.java │ │ │ ├── BeanTableModel.java │ │ │ ├── EasyTableModel.java │ │ │ └── ModelDescription.java │ │ │ └── io │ │ │ └── FileMaskFilter.java │ └── test │ │ └── code316 │ │ ├── beans │ │ ├── AllTests.java │ │ └── BeanTableTest.java │ │ ├── core │ │ ├── AllTests.java │ │ ├── FileUtilTest.java │ │ ├── FilterPropertiesTest.java │ │ └── IsEmptyTest.java │ │ └── gui │ │ ├── AllTests.java │ │ ├── BeanModelTester.java │ │ └── ModelDescriptionTest.java ├── test-vals.txt ├── test.enc └── test.vals ├── dormant ├── atom4j │ ├── .classpath │ ├── .cvsignore │ ├── .project │ ├── LICENSE.txt │ ├── README.txt │ ├── build.xml │ ├── build_xml.properties │ ├── docs │ │ └── feed │ │ │ ├── Atom03_Max.xml │ │ │ ├── Atom03_Min.xml │ │ │ ├── Atom03_Multipart.xml │ │ │ ├── atom02entryauthor.xml │ │ │ ├── atom02feedauthor.xml │ │ │ ├── atom02maximal.xml │ │ │ ├── atom02minimal.xml │ │ │ ├── atom02multipart.xml │ │ │ └── atom02spec.txt │ ├── index.html │ ├── lib │ │ ├── commons-beanutils.jar │ │ ├── commons-codec-1.1.jar │ │ ├── commons-collections.jar │ │ ├── commons-digester.jar │ │ ├── commons-lang-1_0.jar │ │ ├── commons-logging.jar │ │ ├── junit-3.8.1.jar │ │ ├── log4j-1.2.7.jar │ │ └── servlet-2.3.jar │ ├── log4j.properties │ ├── news.html │ ├── project.xml │ ├── src │ │ └── org │ │ │ └── osjava │ │ │ └── atom4j │ │ │ ├── Atom4J.java │ │ │ ├── digester │ │ │ ├── ContentParser.java │ │ │ ├── ContentRule.java │ │ │ ├── ContentRuleSet.java │ │ │ ├── GeneratorRuleSet.java │ │ │ ├── LinkRuleSet.java │ │ │ └── PersonRuleSet.java │ │ │ ├── pojo │ │ │ ├── Author.java │ │ │ ├── Content.java │ │ │ ├── Entry.java │ │ │ ├── Feed.java │ │ │ ├── Generator.java │ │ │ ├── Introspection.java │ │ │ ├── Link.java │ │ │ ├── Person.java │ │ │ ├── Template.java │ │ │ └── UserPreferences.java │ │ │ ├── reader │ │ │ ├── AtomReader.java │ │ │ ├── EntryReader.java │ │ │ ├── FeedReader.java │ │ │ └── PrefsReader.java │ │ │ └── servlet │ │ │ ├── AtomServlet.java │ │ │ └── WSSEUtilities.java │ └── tests │ │ └── org │ │ └── osjava │ │ └── atom4j │ │ ├── reader │ │ ├── EntryReaderTest.java │ │ ├── MaximumFeedTest.java │ │ ├── MinimalFeedTest.java │ │ ├── MultipartFeedTest.java │ │ ├── PrefsReaderTest.java │ │ └── TestAll.java │ │ └── servlet │ │ ├── AtomServletTest.java │ │ └── MockAtomServlet.java ├── hibernate-taglib │ ├── META-INF │ │ └── taglib.tld │ ├── org │ │ └── osjava │ │ │ └── hibernate │ │ │ └── taglib │ │ │ ├── CloseTag.java │ │ │ ├── CreateTag.java │ │ │ ├── FindTag.java │ │ │ ├── JspUtils.java │ │ │ ├── ParamTag.java │ │ │ └── SaveTag.java │ └── runc.sh ├── integration │ ├── NOTES │ ├── configs │ │ ├── codehaus-integration.xml │ │ ├── jakarta-commons-integration.xml │ │ ├── jakarta-groups.xml │ │ ├── osjava-integration.xml │ │ └── test-integration.xml │ ├── cron-script.sh │ ├── integrate.pl │ ├── integroup.pl │ └── templates │ │ ├── frontpage.tt │ │ ├── group.tt │ │ └── project.tt ├── logview │ ├── LogViewRunner.java │ ├── archive │ │ ├── Type.java │ │ └── type │ │ │ ├── AbstractType.java │ │ │ ├── DateType.java │ │ │ └── InetType.java │ ├── build.xml │ ├── maven.xml │ ├── project.properties │ ├── project.xml │ └── src │ │ └── java │ │ └── com │ │ └── generationjava │ │ ├── logview │ │ ├── Log.java │ │ ├── LogBuilder.java │ │ ├── LogEvent.java │ │ ├── LogEventContainer.java │ │ ├── LogField.java │ │ ├── LogFilter.java │ │ ├── LogIterator.java │ │ ├── LogSource.java │ │ ├── LogType.java │ │ ├── LogTypes.java │ │ ├── LogViewException.java │ │ ├── LogViewRuntimeException.java │ │ ├── Loglet.java │ │ ├── Renderer.java │ │ ├── Report.java │ │ ├── Reportlet.java │ │ ├── builder │ │ │ ├── AbstractLogBuilder.java │ │ │ ├── ApacheLogBuilder.java │ │ │ ├── FormattedLogBuilder.java │ │ │ ├── StringDelimiterLogBuilder.java │ │ │ └── parse │ │ │ │ ├── AbstractParseToken.java │ │ │ │ ├── LiteralParseToken.java │ │ │ │ ├── ParseToken.java │ │ │ │ └── VariableParseToken.java │ │ ├── docs │ │ │ ├── DESIGN │ │ │ ├── LogDesign.pdf │ │ │ └── PLAN │ │ ├── filter │ │ │ ├── ContainsFilter.java │ │ │ ├── CutFilter.java │ │ │ └── RegexpFilter.java │ │ ├── log │ │ │ ├── AbstractLogEvent.java │ │ │ ├── AbstractLogIterator.java │ │ │ ├── LazyLog.java │ │ │ ├── LogEventComparator.java │ │ │ ├── LogletLogIterator.java │ │ │ ├── MemoryLog.java │ │ │ ├── OverlayLogEvent.java │ │ │ ├── SimpleLogEvent.java │ │ │ ├── SimpleLogField.java │ │ │ ├── SimpleLogIterator.java │ │ │ ├── SimpleLogType.java │ │ │ ├── StreamLog.java │ │ │ └── StreamingLogIterator.java │ │ ├── loglet │ │ │ ├── AbstractLoglet.java │ │ │ ├── AverageFieldLoglet.java │ │ │ ├── CountFieldLoglet.java │ │ │ ├── CountLoglet.java │ │ │ ├── DnsLoglet.java │ │ │ ├── FilterLoglet.java │ │ │ ├── HeadLoglet.java │ │ │ ├── NullLoglet.java │ │ │ ├── SinkLoglet.java │ │ │ ├── SortLoglet.java │ │ │ ├── SourceLoglet.java │ │ │ ├── StreamLoglet.java │ │ │ ├── UniqueLoglet.java │ │ │ └── VisitLoglet.java │ │ ├── package.html │ │ ├── renderer │ │ │ ├── AbstractRenderer.java │ │ │ ├── AsciiRenderer.java │ │ │ └── HtmlRenderer.java │ │ ├── report │ │ │ ├── AbstractReport.java │ │ │ ├── ChartReport.java │ │ │ └── TableReport.java │ │ ├── reportlet │ │ │ ├── ChartReportlet.java │ │ │ └── TableReportlet.java │ │ ├── source │ │ │ └── FileLogSource.java │ │ └── taglib │ │ │ ├── LinkTag.java │ │ │ ├── LogTag.java │ │ │ ├── LogletTag.java │ │ │ ├── ParamTag.java │ │ │ └── ReportTag.java │ │ └── math │ │ └── Average.java ├── multidoc │ ├── TODO │ ├── codehaus-release.cfg │ ├── commons-release.cfg │ ├── docs │ │ ├── blank.html │ │ ├── index.html │ │ └── multidoc.js │ ├── maven.xml │ ├── osjava.cfg │ ├── project.properties │ ├── project.xml │ ├── run.sh │ ├── src │ │ └── java │ │ │ └── org │ │ │ └── osjava │ │ │ └── multidoc │ │ │ ├── Document.java │ │ │ ├── DocumentCreator.java │ │ │ ├── DocumentPackage.java │ │ │ ├── DocumentProject.java │ │ │ ├── DocumentProjectCreator.java │ │ │ ├── DocumentSite.java │ │ │ ├── Multidoc.java │ │ │ ├── MultidocGenerator.java │ │ │ ├── creators │ │ │ ├── JCoverageCreator.java │ │ │ ├── JavadocCreator.java │ │ │ └── XRefCreator.java │ │ │ └── generators │ │ │ └── JavadocMultidocGenerator.java │ ├── test.cfg │ └── xdocs │ │ ├── HowTo.xml │ │ ├── changes.xml │ │ ├── images │ │ ├── 1x1.gif │ │ └── osjava.gif │ │ ├── index.xml │ │ └── navigation.xml └── openjar │ ├── JarCreator.java │ ├── JarExtractor.java │ ├── JarTester.java │ ├── JarUpdater.java │ └── OpenJar.java ├── genjava ├── LICENSE.txt ├── gj-beans │ ├── LICENSE.txt │ ├── maven.xml │ ├── pom.xml │ ├── project.properties │ ├── project.xml │ ├── src │ │ └── java │ │ │ └── com │ │ │ └── generationjava │ │ │ ├── beans │ │ │ ├── AbstractBeanViewer.java │ │ │ ├── BeanImplProxy.java │ │ │ ├── BeanViewRuntime.java │ │ │ ├── BeansW.java │ │ │ ├── DelegatableBeanViewer.java │ │ │ ├── GetDelegate.java │ │ │ ├── ReflectionBeanViewer.java │ │ │ └── package.html │ │ │ ├── collections │ │ │ └── BeanMap.java │ │ │ ├── compare │ │ │ └── BeanComparator.java │ │ │ └── namespace │ │ │ └── BeanNamespace.java │ └── xdocs │ │ ├── changes.xml │ │ ├── images │ │ ├── 1x1.gif │ │ └── osjava.gif │ │ └── navigation.xml ├── gj-config │ ├── LICENSE.txt │ ├── maven.xml │ ├── pom.xml │ ├── project.properties │ ├── project.xml │ ├── src │ │ └── java │ │ │ └── com │ │ │ └── generationjava │ │ │ └── config │ │ │ ├── AbstractConfig.java │ │ │ ├── Config.java │ │ │ ├── JndiConfig.java │ │ │ └── MapConfig.java │ └── xdocs │ │ ├── changes.xml │ │ ├── images │ │ ├── 1x1.gif │ │ └── osjava.gif │ │ └── navigation.xml ├── gj-core │ ├── LICENSE.txt │ ├── maven.xml │ ├── pom.xml │ ├── project.properties │ ├── project.xml │ ├── src │ │ ├── java │ │ │ └── com │ │ │ │ └── generationjava │ │ │ │ ├── collections │ │ │ │ ├── Alias.java │ │ │ │ ├── AliasedMap.java │ │ │ │ ├── BlockIterator.java │ │ │ │ ├── CachingIterator.java │ │ │ │ ├── ClassMap.java │ │ │ │ ├── CopiedIterator.java │ │ │ │ ├── EnumerationGrouper.java │ │ │ │ ├── FQMap.java │ │ │ │ ├── GroupedComparator.java │ │ │ │ ├── Grouper.java │ │ │ │ ├── IteratorGrouper.java │ │ │ │ ├── LimitedList.java │ │ │ │ ├── MultiKeyedMap.java │ │ │ │ ├── ResetableIterator.java │ │ │ │ ├── SimpleAlias.java │ │ │ │ ├── SortedIterator.java │ │ │ │ ├── SortedLimitedList.java │ │ │ │ └── package.html │ │ │ │ ├── compare │ │ │ │ ├── NumericStringComparator.java │ │ │ │ ├── ObjectComparator.java │ │ │ │ ├── PackageNameComparator.java │ │ │ │ ├── UrlComparator.java │ │ │ │ └── package.html │ │ │ │ ├── io │ │ │ │ ├── CommandLine.java │ │ │ │ ├── CommandLineListener.java │ │ │ │ ├── FileEvent.java │ │ │ │ ├── FilePoller.java │ │ │ │ ├── FileW.java │ │ │ │ ├── FixedWidthReader.java │ │ │ │ ├── PollListener.java │ │ │ │ ├── StreamW.java │ │ │ │ ├── Table.java │ │ │ │ ├── TableRow.java │ │ │ │ ├── Tablifier.java │ │ │ │ ├── ZipW.java │ │ │ │ └── package.html │ │ │ │ ├── jdbc │ │ │ │ ├── JdbcW.java │ │ │ │ └── package.html │ │ │ │ ├── lang │ │ │ │ ├── BigIntegerUtils.java │ │ │ │ ├── ClassConstantsReflector.java │ │ │ │ ├── ClassW.java │ │ │ │ ├── Notifier.java │ │ │ │ ├── NotifierException.java │ │ │ │ ├── ProxyListener.java │ │ │ │ └── package.html │ │ │ │ ├── math │ │ │ │ └── Interval.java │ │ │ │ ├── namespace │ │ │ │ ├── AbstractNamespace.java │ │ │ │ ├── Namespace.java │ │ │ │ ├── SimpleNamespace.java │ │ │ │ └── package.html │ │ │ │ ├── net │ │ │ │ ├── UrlW.java │ │ │ │ └── package.html │ │ │ │ ├── random │ │ │ │ ├── RandomBean.java │ │ │ │ ├── RandomBeanProxy.java │ │ │ │ ├── RandomDate.java │ │ │ │ ├── RandomMaker.java │ │ │ │ ├── RandomNumber.java │ │ │ │ ├── RandomObject.java │ │ │ │ ├── ToString.java │ │ │ │ └── beans-random-todo │ │ │ │ └── util │ │ │ │ ├── CommentedOrderedProperties.java │ │ │ │ ├── OrderedProperties.java │ │ │ │ ├── Pair.java │ │ │ │ ├── PropertiesLoader.java │ │ │ │ └── package.html │ │ └── test │ │ │ └── com │ │ │ └── generationjava │ │ │ ├── collections │ │ │ ├── AliasedMapTest.java │ │ │ ├── FQMapTest.java │ │ │ ├── MultiKeyedMapTest.java │ │ │ └── SimpleAliasTest.java │ │ │ ├── compare │ │ │ └── NumericStringComparatorTest.java │ │ │ ├── io │ │ │ └── FixedWidthReaderTest.java │ │ │ └── lang │ │ │ ├── BigIntegerUtilsTest.java │ │ │ └── ClassWTest.java │ └── xdocs │ │ ├── changes.xml │ │ ├── images │ │ ├── 1x1.gif │ │ └── osjava.gif │ │ └── navigation.xml ├── gj-csv │ ├── LICENSE.txt │ ├── maven.xml │ ├── pom.xml │ ├── project.properties │ ├── project.xml │ ├── src │ │ ├── java │ │ │ └── com │ │ │ │ └── generationjava │ │ │ │ └── io │ │ │ │ ├── Csv.java │ │ │ │ ├── CsvFieldReader.java │ │ │ │ ├── CsvReader.java │ │ │ │ └── CsvWriter.java │ │ └── test │ │ │ └── com │ │ │ └── generationjava │ │ │ └── io │ │ │ └── CsvWriterTest.java │ └── xdocs │ │ ├── changes.xml │ │ ├── images │ │ ├── 1x1.gif │ │ └── osjava.gif │ │ └── navigation.xml ├── gj-find │ ├── LICENSE.txt │ ├── maven.xml │ ├── pom.xml │ ├── project.properties │ ├── project.xml │ ├── src │ │ ├── java │ │ │ └── com │ │ │ │ └── generationjava │ │ │ │ ├── io │ │ │ │ └── find │ │ │ │ │ ├── FileFinder.java │ │ │ │ │ ├── FindEvent.java │ │ │ │ │ ├── FindListener.java │ │ │ │ │ ├── Finder.java │ │ │ │ │ ├── FinderException.java │ │ │ │ │ ├── FindingFilter.java │ │ │ │ │ └── ZipFinder.java │ │ │ │ └── util │ │ │ │ ├── ClassIndex.java │ │ │ │ └── WildcardUtils.java │ │ └── test │ │ │ ├── com │ │ │ └── generationjava │ │ │ │ ├── io │ │ │ │ └── find │ │ │ │ │ └── FileFinderTest.java │ │ │ │ └── util │ │ │ │ └── WildcardUtilsTest.java │ │ │ └── find-data │ │ │ ├── can_read │ │ │ └── file │ │ │ ├── can_write │ │ │ └── file │ │ │ ├── empty │ │ │ └── file │ │ │ ├── name │ │ │ └── file │ │ │ ├── path │ │ │ └── dir │ │ │ │ └── file │ │ │ ├── regex │ │ │ ├── file.1 │ │ │ ├── file.2 │ │ │ └── file.3 │ │ │ ├── size │ │ │ └── file │ │ │ └── type │ │ │ └── file │ └── xdocs │ │ ├── changes.xml │ │ ├── images │ │ ├── 1x1.gif │ │ └── osjava.gif │ │ └── navigation.xml ├── gj-gui │ ├── LICENSE.txt │ ├── maven.xml │ ├── pom.xml │ ├── project.properties │ ├── project.xml │ ├── src │ │ └── java │ │ │ └── com │ │ │ └── generationjava │ │ │ ├── awt │ │ │ ├── BasicApplication.java │ │ │ ├── BasicWindowMonitor.java │ │ │ ├── ColorW.java │ │ │ ├── ConsoleView.java │ │ │ ├── GJMenuItem.java │ │ │ ├── HorizontalFlowLayout.java │ │ │ ├── ImageCanvas.java │ │ │ ├── ImageLoaderFacade.java │ │ │ ├── ImageSource.java │ │ │ ├── ImageW.java │ │ │ ├── InformationListener.java │ │ │ ├── InputView.java │ │ │ ├── MultiPanel.java │ │ │ ├── MulticastRequestEvent.java │ │ │ ├── PanelFactory.java │ │ │ ├── ReportEvent.java │ │ │ ├── RequestEvent.java │ │ │ ├── SaveableApplication.java │ │ │ ├── SplashScreen.java │ │ │ ├── VerticalFlowLayout.java │ │ │ ├── WindowUtilities.java │ │ │ ├── Zoomer.java │ │ │ └── package.html │ │ │ └── swing │ │ │ ├── AutoOptionDialog.java │ │ │ ├── BackgroundTheme.java │ │ │ ├── ClassFileChooser.java │ │ │ ├── DelegatingIncrementalComboBox.java │ │ │ ├── ExtensionFileFilter.java │ │ │ ├── FileFilter.java │ │ │ ├── GJTable.java │ │ │ ├── GJTableEvent.java │ │ │ ├── GJTableHideException.java │ │ │ ├── GJTableListener.java │ │ │ ├── GJTableModel.java │ │ │ ├── GJTableSortIndex.java │ │ │ ├── GJTableSortListener.java │ │ │ ├── ImagePanel.java │ │ │ ├── IncrementalComboBox.java │ │ │ ├── IncrementalKeySelectionManager.java │ │ │ ├── JBasicApplication.java │ │ │ ├── JComboBoxItem.java │ │ │ ├── JListOperatorButton.java │ │ │ ├── JSaveableApplication.java │ │ │ ├── ListDataAdapter.java │ │ │ ├── MagnifyImagePanel.java │ │ │ ├── MultiImagePanel.java │ │ │ ├── PopupListener.java │ │ │ ├── PopupTree.java │ │ │ ├── PopupTreeMenu.java │ │ │ ├── PopupTreeMenuItem.java │ │ │ ├── PopupTreeNode.java │ │ │ ├── TableCellAutoSelector.java │ │ │ └── package.html │ └── xdocs │ │ ├── changes.xml │ │ ├── images │ │ ├── 1x1.gif │ │ └── osjava.gif │ │ └── navigation.xml ├── gj-mail │ ├── LICENSE.txt │ ├── maven.xml │ ├── pom.xml │ ├── project.properties │ ├── project.xml │ ├── src │ │ └── java │ │ │ └── com │ │ │ └── generationjava │ │ │ └── mail │ │ │ ├── MBoxMimeMessage.java │ │ │ └── Mailer.java │ └── xdocs │ │ ├── changes.xml │ │ ├── images │ │ ├── 1x1.gif │ │ └── osjava.gif │ │ └── navigation.xml ├── gj-scrape │ ├── LICENSE.txt │ ├── benchmark │ │ ├── Large.java │ │ ├── compile.sh │ │ ├── run1.0.sh │ │ └── run2.0.sh │ ├── maven.xml │ ├── pom.xml │ ├── project.properties │ ├── project.xml │ ├── src │ │ ├── java │ │ │ └── com │ │ │ │ └── generationjava │ │ │ │ ├── scrape │ │ │ │ ├── HtmlScraper.java │ │ │ │ └── package.html │ │ │ │ └── web │ │ │ │ ├── HtmlW.java │ │ │ │ └── XmlW.java │ │ └── test │ │ │ └── com │ │ │ └── generationjava │ │ │ ├── scrape │ │ │ └── HtmlScraperTest.java │ │ │ └── web │ │ │ ├── HtmlWTest.java │ │ │ └── XmlWTest.java │ └── xdocs │ │ ├── ScrapePath.example │ │ ├── ScrapePath.xml │ │ ├── changes.xml │ │ ├── images │ │ ├── 1x1.gif │ │ └── osjava.gif │ │ └── navigation.xml ├── gj-servlet │ ├── LICENSE.txt │ ├── maven.xml │ ├── pom.xml │ ├── project.properties │ ├── project.xml │ ├── src │ │ └── java │ │ │ └── com │ │ │ └── generationjava │ │ │ ├── namespace │ │ │ └── ServletNamespace.java │ │ │ ├── servlet │ │ │ ├── FileSystemServlet.java │ │ │ ├── RequestMap.java │ │ │ ├── ServletW.java │ │ │ └── package.html │ │ │ └── taglib │ │ │ ├── AbstractBodyTag.java │ │ │ ├── AbstractStringBodyTag.java │ │ │ └── ParamTag.java │ └── xdocs │ │ ├── changes.xml │ │ ├── images │ │ ├── 1x1.gif │ │ └── osjava.gif │ │ └── navigation.xml ├── gj-tools │ ├── LICENSE.txt │ ├── maven.xml │ ├── pom.xml │ ├── project.properties │ ├── project.xml │ ├── src │ │ └── java │ │ │ └── com │ │ │ └── generationjava │ │ │ ├── net │ │ │ └── WGet.java │ │ │ ├── tools │ │ │ ├── AbstractTool.java │ │ │ ├── CommandLineToolRunner.java │ │ │ ├── Run.java │ │ │ ├── Tool.java │ │ │ └── ToolException.java │ │ │ └── util │ │ │ └── ClassFinder.java │ └── xdocs │ │ ├── changes.xml │ │ ├── images │ │ ├── 1x1.gif │ │ └── osjava.gif │ │ └── navigation.xml ├── gj-xml │ ├── LICENSE.txt │ ├── maven.xml │ ├── pom.xml │ ├── project.properties │ ├── project.xml │ ├── src │ │ ├── java │ │ │ └── com │ │ │ │ └── generationjava │ │ │ │ └── io │ │ │ │ └── xml │ │ │ │ ├── XMLNode.java │ │ │ │ └── XMLParser.java │ │ └── test │ │ │ ├── com │ │ │ └── generationjava │ │ │ │ └── io │ │ │ │ └── xml │ │ │ │ └── XMLParserTest.java │ │ │ └── data │ │ │ ├── test.xml │ │ │ └── unescape.xml │ └── xdocs │ │ ├── changes.xml │ │ ├── images │ │ ├── 1x1.gif │ │ └── osjava.gif │ │ └── navigation.xml ├── pom.xml ├── project.properties ├── project.xml └── xdocs │ ├── Genjava.xml │ ├── dormant.xml │ ├── images │ ├── 1x1.gif │ ├── core-logo.jpg │ ├── initials.jpg │ └── osjava.gif │ ├── index.xml │ ├── legacy.xml │ ├── navigation.xml │ └── sandbox.xml ├── hen_checkstyle.xml ├── jardiff ├── LICENSE.txt ├── pom.xml ├── project.properties ├── project.xml ├── src │ ├── assembly │ │ └── dist.xml │ ├── examples │ │ ├── README.txt │ │ ├── build.xml │ │ ├── diff.css │ │ └── jardiff.sh │ ├── java │ │ └── org │ │ │ └── osjava │ │ │ └── jardiff │ │ │ ├── AbstractDiffHandler.java │ │ │ ├── AbstractInfo.java │ │ │ ├── ClassInfo.java │ │ │ ├── ClassInfoVisitor.java │ │ │ ├── DOMDiffHandler.java │ │ │ ├── DiffCriteria.java │ │ │ ├── DiffException.java │ │ │ ├── DiffHandler.java │ │ │ ├── FieldInfo.java │ │ │ ├── JarDiff.java │ │ │ ├── Main.java │ │ │ ├── MethodInfo.java │ │ │ ├── SimpleDiffCriteria.java │ │ │ ├── StreamDiffHandler.java │ │ │ ├── Tools.java │ │ │ └── ant │ │ │ ├── JDTraXLiaison.java │ │ │ ├── JDXSLTLiaison3.java │ │ │ ├── JDXSLTProcess.java │ │ │ └── JarDiffTask.java │ ├── resources │ │ └── jardiff.properties │ ├── scripts │ │ └── jardiff │ └── xsl │ │ ├── jardiff-html-base.xsl │ │ ├── jardiff-html.xsl │ │ ├── jardiff-text.xsl │ │ └── jardiff-xhtml.xsl └── xdocs │ ├── CLI.xml │ ├── HowTo.xml │ ├── RoadMap.xml │ ├── ant.xml │ └── navigation.xml ├── jpe ├── JPEz.txt ├── LICENSE.txt ├── docs │ ├── config.xml │ └── readme.txt ├── maven.xml ├── project.properties ├── project.xml └── src │ └── java │ └── com │ └── generationjava │ └── apps │ └── jpe │ ├── AbstractHandler.java │ ├── AskInterface.java │ ├── Compiler.java │ ├── CompilerException.java │ ├── ConfigHandler.java │ ├── EditHandler.java │ ├── Editor.java │ ├── ExtraHandler.java │ ├── FileHandler.java │ ├── Handler.java │ ├── HelpHandler.java │ ├── ImportFixer.java │ ├── JPE.java │ ├── JPEClassloader.java │ ├── JPEFilenameFilter.java │ ├── JPEMenuItem.java │ ├── JPETextArea.java │ ├── Log.java │ ├── Log2AreaStream.java │ ├── LogHandler.java │ ├── OpenFile.java │ ├── OpenFileHandler.java │ ├── SecManager.java │ ├── TextController.java │ ├── TitleBarHandler.java │ ├── compiler │ ├── CommandLineCompiler.java │ └── ToolsCompiler.java │ └── text.properties ├── lleutragen ├── TODO ├── db │ └── db.xml ├── docs │ └── hendocument.css ├── generate-site.pl └── templates │ └── lleutranet.tt ├── logview2 ├── maven.xml ├── project.properties ├── project.xml └── src │ ├── java │ └── org │ │ └── osjava │ │ └── logview │ │ ├── reports │ │ ├── ApacheLogReport.java │ │ ├── HitsByResponseCodeLogReport.java │ │ ├── ShowLogReport.java │ │ └── TotalLogReport.java │ │ └── text │ │ ├── DelimitedLineParser.java │ │ └── RegexpParser.java │ └── reports │ └── logview.xml ├── mudclient ├── config.properties ├── deploy.sh ├── maven.xml ├── pom.xml ├── project.properties ├── project.xml ├── src │ ├── assembly │ │ └── dist.xml │ ├── html │ │ ├── applet.html │ │ └── site │ │ │ ├── blue.jpg │ │ │ ├── ele480x60.gif │ │ │ ├── image1.jpg │ │ │ ├── index.html │ │ │ ├── menu_bg.png │ │ │ ├── print.css │ │ │ ├── side_bg.png │ │ │ └── style.css │ ├── java │ │ └── org │ │ │ └── cyberiantiger │ │ │ ├── console │ │ │ ├── AbstractConsoleAction.java │ │ │ ├── BackgroundConsoleAction.java │ │ │ ├── BeepConsoleAction.java │ │ │ ├── BoldConsoleAction.java │ │ │ ├── ClearScreenConsoleAction.java │ │ │ ├── Console.java │ │ │ ├── ConsoleAction.java │ │ │ ├── ConsoleWriter.java │ │ │ ├── ElephantMUDConsoleAction.java │ │ │ ├── FlashConsoleAction.java │ │ │ ├── ForegroundConsoleAction.java │ │ │ ├── MoveCursorXConsoleAction.java │ │ │ ├── MoveCursorYConsoleAction.java │ │ │ ├── NullConsoleAction.java │ │ │ ├── ResetConsoleAction.java │ │ │ ├── ResizeConsoleAction.java │ │ │ ├── ReverseConsoleAction.java │ │ │ ├── SetCursorXConsoleAction.java │ │ │ ├── SetCursorYConsoleAction.java │ │ │ └── StringConsoleAction.java │ │ │ ├── mudclient │ │ │ ├── ElephantApplet.java │ │ │ ├── ElephantMudClient.java │ │ │ ├── config │ │ │ │ ├── ClientConfiguration.java │ │ │ │ └── OutputConfiguration.java │ │ │ ├── input │ │ │ │ ├── Alias.java │ │ │ │ ├── InputItem.java │ │ │ │ ├── InputProcessor.java │ │ │ │ ├── InputStack.java │ │ │ │ ├── RecursionException.java │ │ │ │ └── ReplacementSyntaxException.java │ │ │ ├── net │ │ │ │ ├── Display.java │ │ │ │ ├── MudConnection.java │ │ │ │ └── SocketFactory.java │ │ │ ├── parser │ │ │ │ ├── ANSIParser.java │ │ │ │ ├── ElephantMUDParser.java │ │ │ │ └── Parser.java │ │ │ └── ui │ │ │ │ ├── AboutDialog.java │ │ │ │ ├── Connection.java │ │ │ │ ├── ConsoleModel.java │ │ │ │ ├── ConsoleModelListener.java │ │ │ │ ├── ConsoleView.java │ │ │ │ ├── ControlWindow.java │ │ │ │ ├── Line.java │ │ │ │ ├── LineSegment.java │ │ │ │ ├── MudClientUI.java │ │ │ │ ├── OptionsDialog.java │ │ │ │ ├── OutputFrame.java │ │ │ │ └── SpringUtilities.java │ │ │ └── telnet │ │ │ ├── AbstractTelnetOption.java │ │ │ ├── AbstractTelnetSubOption.java │ │ │ ├── BinaryData.java │ │ │ ├── OptionParser.java │ │ │ ├── SimpleTelnetOption.java │ │ │ ├── SimpleTelnetSession.java │ │ │ ├── TelnetBufferedInputStream.java │ │ │ ├── TelnetInputStream.java │ │ │ ├── TelnetNegotiation.java │ │ │ ├── TelnetOption.java │ │ │ ├── TelnetSession.java │ │ │ ├── TelnetSocket.java │ │ │ ├── TelnetSubOption.java │ │ │ └── UnknownTelnetOption.java │ └── resources │ │ └── org │ │ └── cyberiantiger │ │ └── mudclient │ │ ├── about.gif │ │ └── config.properties └── xdocs │ ├── images │ ├── 1x1.gif │ └── osjava.gif │ └── navigation.xml ├── nextjen ├── LICENSE.txt ├── WISHLIST ├── examples │ └── codegen │ │ ├── README │ │ ├── concrete.xsl │ │ ├── interface.xsl │ │ ├── metamodel.xml │ │ └── metamodel.xsl ├── project.properties ├── project.xml └── src │ ├── conf │ └── app.properties │ ├── java │ └── org │ │ └── osjava │ │ └── nextjen │ │ └── NextJen.java │ └── test │ └── org │ └── osjava │ └── nextjen │ ├── AbstractTestCase.java │ ├── AppTest.java │ └── NaughtyTest.java ├── norbert ├── LICENSE.txt ├── data │ ├── bad │ │ └── robots.txt │ ├── basic │ │ └── robots.txt │ ├── bbc │ │ └── robots.txt │ ├── cnn │ │ └── robots.txt │ ├── disallow-empty │ │ └── robots.txt │ ├── genscape │ │ └── robots.txt │ ├── ibm │ │ └── robots.txt │ ├── order-reverse │ │ └── robots.txt │ ├── order │ │ └── robots.txt │ ├── rfc │ │ └── robots.txt │ ├── slashdot │ │ └── robots.txt │ ├── sun │ │ └── robots.txt │ ├── ua-case-insensitive │ │ └── robots.txt │ └── whitehouse │ │ └── robots.txt ├── maven.xml ├── project.properties ├── project.xml ├── src │ ├── java │ │ └── org │ │ │ └── osjava │ │ │ └── norbert │ │ │ ├── AbstractRule.java │ │ │ ├── AllowedRule.java │ │ │ ├── DisallowedRule.java │ │ │ ├── NoRobotClient.java │ │ │ ├── NoRobotException.java │ │ │ ├── Rule.java │ │ │ ├── RulesEngine.java │ │ │ └── package.html │ └── test │ │ └── org │ │ └── osjava │ │ └── norbert │ │ └── NoRobotClientTest.java └── xdocs │ ├── HowTo.xml │ ├── changes.xml │ ├── images │ ├── 1x1.gif │ ├── core-logo.jpg │ ├── initials.jpg │ └── osjava.gif │ └── navigation.xml ├── orcs ├── DataSourceWizard │ ├── maven.xml │ ├── project.properties │ ├── project.xml │ └── src │ │ └── java │ │ └── org │ │ └── osjava │ │ └── dswiz │ │ ├── BasicDataSource.java │ │ ├── DataSourceWizard.java │ │ ├── DatabaseChoicePanel.java │ │ ├── DatabaseChosenListener.java │ │ ├── JBlank.java │ │ ├── JdbcPanel.java │ │ ├── LayoutHelper.java │ │ ├── LoginPanel.java │ │ └── oracle │ │ ├── OraclePanel.java │ │ ├── TnsName.java │ │ └── TnsNamesParser.java ├── OrcsTerminal │ ├── maven.xml │ ├── nachocalendar-0.22.jar │ ├── project.properties │ ├── project.xml │ └── src │ │ └── java │ │ └── org │ │ └── osjava │ │ └── orcs │ │ ├── setup │ │ └── SetupProcedures.java │ │ └── terminal │ │ ├── GuiHelper.java │ │ ├── JTimeField.java │ │ ├── OrcsJdbcTable.java │ │ ├── OrcsProcedures.java │ │ ├── OrcsTableModel.java │ │ └── OrcsTerminal.java ├── TODO.txt └── docs │ ├── ORCS-Crazy-Plan.vi │ └── ORCS-Implementation.vi ├── oscube ├── LICENSE.txt ├── maven.xml ├── pom.xml ├── project.properties ├── project.xml ├── src │ └── java │ │ └── org │ │ └── osjava │ │ └── oscube │ │ ├── container │ │ ├── ConfigFactory.java │ │ ├── Engine.java │ │ ├── Header.java │ │ ├── MultiResult.java │ │ ├── NamespaceSession.java │ │ ├── NullResult.java │ │ ├── QuartzJob.java │ │ ├── QuartzScheduler.java │ │ ├── Result.java │ │ ├── Runner.java │ │ ├── Scheduler.java │ │ ├── SchedulerFactory.java │ │ ├── Session.java │ │ ├── SimpleScheduler.java │ │ ├── SingleResult.java │ │ └── TabularResult.java │ │ ├── service │ │ ├── notify │ │ │ ├── ConsoleNotifier.java │ │ │ ├── NotificationException.java │ │ │ ├── NotificationFactory.java │ │ │ ├── Notifier.java │ │ │ └── NullNotifier.java │ │ └── store │ │ │ ├── CallableJdbcStore.java │ │ │ ├── ConsoleStore.java │ │ │ ├── FileStore.java │ │ │ ├── JdbcStore.java │ │ │ ├── NullStore.java │ │ │ ├── Store.java │ │ │ ├── StoreFactory.java │ │ │ └── StoringException.java │ │ └── util │ │ └── FactoryUtils.java └── xdocs │ ├── HowTo.xml │ ├── changes.xml │ ├── index.xml │ └── navigation.xml ├── osjava-nio ├── build.xml ├── maven.xml ├── project.properties ├── project.xml └── src │ ├── java │ └── org │ │ └── osjava │ │ └── nio │ │ ├── AbstractByteBroker.java │ │ ├── AbstractChannelHandler.java │ │ ├── AbstractCharBroker.java │ │ ├── BrokerException.java │ │ ├── ByteBroker.java │ │ ├── ByteToCharBroker.java │ │ ├── ChannelHandler.java │ │ ├── ChannelListener.java │ │ ├── CharBroker.java │ │ ├── CharToByteBroker.java │ │ ├── IOThread.java │ │ ├── IOUtils.java │ │ ├── ServerSocketChannelHandler.java │ │ ├── SocketChannelHandler.java │ │ └── TaskException.java │ └── tests │ └── org │ └── osjava │ └── nio │ ├── SingleThreadTest.java │ ├── ThreadTest.java │ └── examples │ ├── ExampleConnection.java │ ├── ExampleListener.java │ └── ExampleListenerAcceptor.java ├── osjava-threads ├── LICENSE.txt ├── build.xml ├── maven.xml ├── project.properties ├── project.xml ├── src │ ├── java │ │ └── org │ │ │ └── osjava │ │ │ └── threads │ │ │ ├── AbstractExtendedRunnable.java │ │ │ ├── ExtendedRunnable.java │ │ │ ├── ExtendedThread.java │ │ │ ├── InvalidRunnableException.java │ │ │ ├── ThreadContext.java │ │ │ ├── ThreadContextFactory.java │ │ │ └── ThreadIsRunningException.java │ └── test │ │ └── org │ │ └── osjava │ │ └── threads │ │ └── ThreadContextTest.java └── xdocs │ ├── ChangeLog.xml │ ├── Download.xml │ ├── News.xml │ ├── Tasks.xml │ ├── index.xml │ └── navigation.xml ├── osjavadoc-style.css ├── payload ├── LICENSE.txt ├── maven.xml ├── pom.xml ├── project.properties ├── project.xml ├── src │ ├── java │ │ └── org │ │ │ └── osjava │ │ │ └── payload │ │ │ ├── IOUtils.java │ │ │ ├── Interpolation.java │ │ │ ├── Paylet.java │ │ │ ├── PayletExecutor.java │ │ │ ├── PayloadConfiguration.java │ │ │ ├── PayloadContractor.java │ │ │ ├── PayloadExtractor.java │ │ │ └── package.html │ └── test │ │ └── org │ │ └── osjava │ │ └── payload │ │ └── InterpolationTest.java └── xdocs │ ├── HowTo.xml │ ├── changes.xml │ ├── design.txt │ ├── images │ ├── 1x1.gif │ └── osjava.gif │ └── navigation.xml ├── pergamum ├── Style.java ├── content │ ├── book.xml │ ├── category-books.xml │ ├── comingsoon.xml │ ├── help.xml │ ├── index.xml │ ├── listbooks.xml │ ├── listcategories.xml │ ├── listpublishers.xml │ ├── newbooks.xml │ ├── newreviews.xml │ └── publisher-books.xml ├── db │ ├── books.xml │ ├── categories.xml │ ├── publishers.xml │ └── reviews.xml ├── docs │ ├── book-0072256591.html │ ├── book-0131413597.html │ ├── book-0131425420.html │ ├── book-0201325829.html │ ├── book-0201616165.html │ ├── book-0201771861.html │ ├── book-0321159640.html │ ├── book-0321205758.html │ ├── book-0321228472.html │ ├── book-0321268385.html │ ├── book-0470020059.html │ ├── book-0470869054.html │ ├── book-047120708X.html │ ├── book-0471213020.html │ ├── book-0471237647.html │ ├── book-0471431044.html │ ├── book-0471444359.html │ ├── book-0471449156.html │ ├── book-0471457949.html │ ├── book-0471463620.html │ ├── book-0471469513.html │ ├── book-0596001843.html │ ├── book-0596002475.html │ ├── book-0596002807.html │ ├── book-0596003188.html │ ├── book-0596003285.html │ ├── book-0596003870.html │ ├── book-0596005199.html │ ├── book-0596005822.html │ ├── book-0596006411.html │ ├── book-0596006519.html │ ├── book-0596006543.html │ ├── book-0596006764.html │ ├── book-0596006896.html │ ├── book-0596006969.html │ ├── book-059600706X.html │ ├── book-0596007108.html │ ├── book-0596007434.html │ ├── book-059600771X.html │ ├── book-0596008384.html │ ├── book-0596009100.html │ ├── book-0672323095.html │ ├── book-0672323478.html │ ├── book-0672324105.html │ ├── book-0672324261.html │ ├── book-0672324393.html │ ├── book-0672324725.html │ ├── book-0672325624.html │ ├── book-0672326108.html │ ├── book-0672326361.html │ ├── book-0735711119.html │ ├── book-0764526065.html │ ├── book-0764543725.html │ ├── book-0764544373.html │ ├── book-0764556177.html │ ├── book-0764559028.html │ ├── book-0764559575.html │ ├── book-0764576771.html │ ├── book-0974514012.html │ ├── book-0974514039.html │ ├── book-0974848808.html │ ├── book-097521280X.html │ ├── book-0975212818.html │ ├── book-1558608621.html │ ├── book-1583470441.html │ ├── book-1584502460.html │ ├── book-1584502487.html │ ├── book-1590590996.html │ ├── book-1590591259.html │ ├── book-159059228X.html │ ├── book-1590592557.html │ ├── book-1590592816.html │ ├── book-1590592832.html │ ├── book-1590593278.html │ ├── book-1590593316.html │ ├── book-1590594932.html │ ├── book-1590594991.html │ ├── book-1590595076.html │ ├── book-1590595114.html │ ├── book-1590595157.html │ ├── book-1590595211.html │ ├── book-1861008309.html │ ├── book-1893115364.html │ ├── book-1930110464.html │ ├── book-1930110502.html │ ├── book-1930110588.html │ ├── book-1930110936.html │ ├── book-1930110960.html │ ├── book-1930110995.html │ ├── book-1932394052.html │ ├── book-1932394060.html │ ├── book-1932394117.html │ ├── book-193239415X.html │ ├── book-1932394192.html │ ├── book-1932394230.html │ ├── book-1932394249.html │ ├── book-1932394273.html │ ├── book-1932394281.html │ ├── book-1932394354.html │ ├── book-1932394524.html │ ├── book-2970036908.html │ ├── book-sbt-1.html │ ├── book-sbt-2.html │ ├── book-sbt-3.html │ ├── book-sbt-4.html │ ├── book-sbt-5.html │ ├── book-sbt-7.html │ ├── category-books-1.html │ ├── category-books-10.html │ ├── category-books-11.html │ ├── category-books-12.html │ ├── category-books-13.html │ ├── category-books-14.html │ ├── category-books-15.html │ ├── category-books-16.html │ ├── category-books-17.html │ ├── category-books-18.html │ ├── category-books-19.html │ ├── category-books-2.html │ ├── category-books-20.html │ ├── category-books-21.html │ ├── category-books-22.html │ ├── category-books-23.html │ ├── category-books-24.html │ ├── category-books-3.html │ ├── category-books-4.html │ ├── category-books-5.html │ ├── category-books-6.html │ ├── category-books-7.html │ ├── category-books-8.html │ ├── category-books-9.html │ ├── comingsoon.html │ ├── comingsoon.rss │ ├── css │ │ └── style.css │ ├── help.html │ ├── index.html │ ├── listbooks.html │ ├── listcategories.html │ ├── listpublishers.html │ ├── newbooks.html │ ├── newbooks.rss │ ├── newreviews.html │ ├── newreviews.rss │ ├── publisher-books-apr.html │ ├── publisher-books-aw.html │ ├── publisher-books-bra.html │ ├── publisher-books-chr.html │ ├── publisher-books-man.html │ ├── publisher-books-mc.html │ ├── publisher-books-mgh.html │ ├── publisher-books-mk.html │ ├── publisher-books-obj.html │ ├── publisher-books-ora.html │ ├── publisher-books-pra.html │ ├── publisher-books-ptr.html │ ├── publisher-books-qos.html │ ├── publisher-books-sam.html │ ├── publisher-books-sbt.html │ ├── publisher-books-wil.html │ ├── publisher-books-wrx.html │ └── unknown-site.html ├── pergamum-html.xsl ├── pergamum-rss.xsl ├── plan.txt ├── review.todo └── run.sh ├── pound ├── ideas.txt ├── images │ └── readme.txt ├── pom.xml ├── project.properties ├── project.xml ├── readme.txt └── src │ └── java │ └── org │ └── osjava │ └── pound │ ├── ImageSource.java │ └── Pound.java ├── reportrunner ├── LICENSE.txt ├── conf │ ├── renderers.xml │ ├── renderers.xsd │ ├── reportrunner.xml │ ├── reportrunner.xsd │ ├── reports.xsd │ ├── reports_jira.xml │ ├── reports_roller.xml │ ├── resources.xml │ ├── resources.xsd │ ├── rrr-resources.xml │ └── rrr.xml ├── maven.xml ├── project.properties ├── project.xml ├── reportrunner.txt ├── src │ └── java │ │ └── org │ │ └── osjava │ │ ├── reportrunner │ │ ├── AbstractRenderer.java │ │ ├── AbstractReport.java │ │ ├── ArrayResult.java │ │ ├── Choice.java │ │ ├── Column.java │ │ ├── EmptyReportException.java │ │ ├── Formatter.java │ │ ├── FormattingResult.java │ │ ├── Nameable.java │ │ ├── NullResult.java │ │ ├── Param.java │ │ ├── Parser.java │ │ ├── Renderer.java │ │ ├── Report.java │ │ ├── ReportException.java │ │ ├── ReportFactory.java │ │ ├── ReportGroup.java │ │ ├── ReportRunner.java │ │ ├── Resource.java │ │ ├── Result.java │ │ ├── Variant.java │ │ ├── VariantOption.java │ │ ├── formatters │ │ │ ├── AbstractFormatter.java │ │ │ ├── DateTimeFormatter.java │ │ │ └── DefaultFormatter.java │ │ ├── parsers │ │ │ ├── AbstractParser.java │ │ │ ├── DateTimeParser.java │ │ │ └── DelimitedTextParser.java │ │ ├── renderers │ │ │ ├── CsvRenderer.java │ │ │ ├── ExcelRenderer.java │ │ │ ├── HtmlTableRenderer.java │ │ │ ├── InvertedHtmlTableRenderer.java │ │ │ ├── TextRenderer.java │ │ │ └── XmlRenderer.java │ │ ├── reports │ │ │ ├── AbstractSqlReport.java │ │ │ ├── CsvReport.java │ │ │ ├── DummyReport.java │ │ │ ├── NamedSqlReport.java │ │ │ ├── ReportArrayListHandler.java │ │ │ └── SqlReport.java │ │ ├── servlets │ │ │ ├── CheckParametersServlet.java │ │ │ ├── ChooseReportServlet.java │ │ │ ├── ReportRunnerServlet.java │ │ │ └── XmlViewServlet.java │ │ └── util │ │ │ ├── ExcelWriter.java │ │ │ └── tablelayout │ │ │ ├── TableLayout.java │ │ │ ├── TableLayoutConstants.java │ │ │ ├── TableLayoutConstraints.java │ │ │ ├── TableLayoutHelper.java │ │ │ └── TableRow.java │ │ ├── reportrunner_plugins │ │ ├── RRTool.java │ │ └── renderers │ │ │ ├── AdvancedExcelRenderer.java │ │ │ ├── CharsetCsvRenderer.java │ │ │ ├── FixedWidthRenderer.java │ │ │ ├── TableImageRenderer.java │ │ │ ├── jfreechart │ │ │ ├── JFreeChartAbstractRenderer.java │ │ │ ├── JFreeChartApplet.java │ │ │ ├── JFreeChartAppletRenderer.java │ │ │ ├── JFreeChartCreator.java │ │ │ ├── JFreeChartPNGRenderer.java │ │ │ ├── JFreeChartRenderer.java │ │ │ └── creators │ │ │ │ ├── BarChartCreator.java │ │ │ │ ├── TexturedBarRenderer.java │ │ │ │ └── TimeChartCreator.java │ │ │ └── velocity │ │ │ └── VelocityRenderer.java │ │ └── webwizard │ │ ├── Constants.java │ │ ├── ControllerServlet.java │ │ ├── ReportRunnerTool.java │ │ └── templates │ │ ├── empty_report_exception.vm │ │ ├── enter_resource_params.vm │ │ ├── footer.inc │ │ ├── header.inc │ │ ├── list_groups.vm │ │ ├── list_renderers.vm │ │ └── list_reports.vm ├── webapp │ ├── WEB-INF │ │ ├── lib │ │ │ ├── toolbox.xml │ │ │ └── velocity.properties │ │ └── web.xml │ ├── empty_report_exception.jsp │ ├── enter_params.jsp │ ├── enter_resource_params.jsp │ ├── enter_variants.jsp │ ├── footer.inc │ ├── header.inc │ ├── images │ │ └── 1x1.gif │ ├── list_groups.jsp │ ├── list_renderers.jsp │ ├── list_reports.jsp │ ├── renderers │ │ └── htmltable │ │ │ ├── colourPicker.js │ │ │ ├── invertBgColor.js │ │ │ ├── sorttable.js │ │ │ └── zebra.js │ ├── report_exception.jsp │ └── style.css └── xdocs │ ├── changes.xml │ ├── images │ ├── 1x1.gif │ └── osjava.gif │ └── navigation.xml ├── runsql ├── LICENSE.txt ├── example │ ├── config │ │ └── CmdLine.properties │ ├── jndi.properties │ └── sql │ │ ├── BOOTSTRAP.sql │ │ ├── CHECK.sql │ │ ├── QUERY.sql │ │ └── SCHEMA.sql ├── maven.xml ├── project.properties ├── project.xml ├── run.sh ├── src │ └── java │ │ └── org │ │ └── osjava │ │ └── runsql │ │ └── RunSql.java └── xdocs │ └── tasks.xml ├── scraping-engine ├── LICENSE.txt ├── TODO ├── maven.xml ├── project.properties ├── project.xml ├── src │ ├── examples │ │ ├── Comics │ │ │ ├── README.txt │ │ │ ├── build.bat │ │ │ ├── build.sh │ │ │ ├── com │ │ │ │ └── generationjava │ │ │ │ │ └── comics │ │ │ │ │ ├── ApodParser.java │ │ │ │ │ ├── ComicsComParser.java │ │ │ │ │ ├── DilbertParser.java │ │ │ │ │ ├── ElgoonParser.java │ │ │ │ │ ├── FoxtrotParser.java │ │ │ │ │ ├── SnoopyParser.java │ │ │ │ │ ├── UbersoftParser.java │ │ │ │ │ └── UserFriendlyParser.java │ │ │ ├── cron │ │ │ │ └── conf │ │ │ │ │ └── default.properties │ │ │ ├── dependencies.list │ │ │ ├── download.sh │ │ │ ├── jndi.properties │ │ │ ├── log4j.properties │ │ │ ├── run.bat │ │ │ ├── run.sh │ │ │ ├── test.bat │ │ │ ├── test.sh │ │ │ └── test │ │ │ │ └── conf │ │ │ │ └── default.properties │ │ ├── Ftp │ │ │ ├── conf │ │ │ │ └── default.properties │ │ │ ├── dependencies.list │ │ │ ├── download.sh │ │ │ ├── jndi.properties │ │ │ ├── log4j.properties │ │ │ └── run.sh │ │ ├── package-example.sh │ │ └── template │ │ │ ├── README.txt │ │ │ ├── conf │ │ │ └── default.properties │ │ │ ├── dependencies.list │ │ │ ├── download.sh │ │ │ ├── jndi.properties │ │ │ ├── log4j.properties │ │ │ └── run.sh │ └── java │ │ └── org │ │ └── osjava │ │ └── scraping │ │ ├── AbstractHttpFetcher.java │ │ ├── AbstractPage.java │ │ ├── AbstractParser.java │ │ ├── Fetcher.java │ │ ├── FetchingException.java │ │ ├── FetchingFactory.java │ │ ├── FtpFetcher.java │ │ ├── HttpFetcher.java │ │ ├── HttpsFetcher.java │ │ ├── LoopParser.java │ │ ├── MemoryPage.java │ │ ├── MultiParser.java │ │ ├── NullFetcher.java │ │ ├── NullPage.java │ │ ├── NullParser.java │ │ ├── Page.java │ │ ├── Parser.java │ │ ├── ParserFactory.java │ │ ├── ParsingException.java │ │ ├── ScrapingException.java │ │ ├── ScrapingRunner.java │ │ ├── checking │ │ ├── Checker.java │ │ ├── CheckerFactory.java │ │ ├── CheckingException.java │ │ ├── CheckingParser.java │ │ ├── ExistsHandler.java │ │ ├── JdbcChecker.java │ │ └── NullChecker.java │ │ └── parser │ │ ├── PassThroughParser.java │ │ └── UrlScraper.java └── xdocs │ ├── changes.xml │ ├── index.xml │ ├── manual │ ├── CompilingTheSource.xml │ ├── ConfigureADataSourceInSimpleJNDI.xml │ ├── Configuring.xml │ ├── Downloading.xml │ ├── Fetching.xml │ ├── GeneralDesign.xml │ ├── GjCsv.xml │ ├── GjScrape.xml │ ├── GjXml.xml │ ├── IdentifyingAScrape.xml │ ├── Justifying.xml │ ├── Notification.xml │ ├── Parsing.xml │ ├── PluginConfiguration.xml │ ├── Scheduling.xml │ ├── Storing.xml │ ├── SubmittingBugs.xml │ ├── SubmittingPatches.xml │ ├── images │ │ └── Scrapers.png │ └── index.xml │ └── navigation.xml ├── scripts4java ├── download-stats.pl ├── findDeadConnections ├── jardiff.pl ├── javarc ├── reportcount.pl ├── versionsort └── versionsort2 ├── simple-jms ├── LICENSE.txt ├── TODO.txt ├── maven.xml ├── project.properties ├── project.xml ├── src │ ├── java │ │ └── org │ │ │ └── osjava │ │ │ └── jms │ │ │ ├── MemoryBytesMessage.java │ │ │ ├── MemoryConnection.java │ │ │ ├── MemoryConnectionConsumer.java │ │ │ ├── MemoryConnectionMetaData.java │ │ │ ├── MemoryMapMessage.java │ │ │ ├── MemoryMessage.java │ │ │ ├── MemoryMessageConsumer.java │ │ │ ├── MemoryMessageProducer.java │ │ │ ├── MemoryObjectMessage.java │ │ │ ├── MemoryQueue.java │ │ │ ├── MemoryQueueBrowser.java │ │ │ ├── MemoryQueueConnection.java │ │ │ ├── MemoryQueueConnectionFactory.java │ │ │ ├── MemoryQueueReceiver.java │ │ │ ├── MemoryQueueSender.java │ │ │ ├── MemoryQueueSession.java │ │ │ ├── MemorySession.java │ │ │ ├── MemoryStreamMessage.java │ │ │ ├── MemoryTemporaryQueue.java │ │ │ ├── MemoryTemporaryTopic.java │ │ │ ├── MemoryTextMessage.java │ │ │ ├── MemoryTopic.java │ │ │ ├── MemoryTopicConnection.java │ │ │ ├── MemoryTopicConnectionFactory.java │ │ │ ├── MemoryTopicPublisher.java │ │ │ ├── MemoryTopicSession.java │ │ │ ├── MemoryTopicSubscriber.java │ │ │ ├── MessageQueue.java │ │ │ └── MessageWatcher.java │ └── test │ │ ├── config │ │ └── default.properties │ │ ├── jndi.properties │ │ └── org │ │ └── osjava │ │ └── jms │ │ ├── QueueTest.java │ │ ├── TestTimer.java │ │ └── TopicTest.java └── xdocs │ ├── changes.xml │ ├── images │ ├── 1x1.gif │ └── osjava.gif │ └── navigation.xml ├── simple-jndi ├── LICENSE.txt ├── maven.xml ├── pom.xml ├── project.properties ├── project.xml ├── src │ ├── examples │ │ ├── Collections │ │ │ ├── compile.sh │ │ │ ├── example_code │ │ │ │ └── Example.java │ │ │ ├── ini │ │ │ │ ├── config │ │ │ │ │ └── shopping.ini │ │ │ │ └── jndi.properties │ │ │ ├── properties │ │ │ │ ├── config │ │ │ │ │ └── shopping.properties │ │ │ │ └── jndi.properties │ │ │ ├── run-ini.sh │ │ │ ├── run-properties.sh │ │ │ ├── run-xml.sh │ │ │ └── xml │ │ │ │ ├── config │ │ │ │ └── default.xml │ │ │ │ └── jndi.properties │ │ └── Datasource │ │ │ ├── compile.sh │ │ │ ├── example_code │ │ │ └── Example.java │ │ │ ├── ini │ │ │ ├── config │ │ │ │ ├── FlamefewDS.ini │ │ │ │ └── java.ini │ │ │ └── jndi.properties │ │ │ ├── properties │ │ │ ├── config │ │ │ │ ├── FlamefewDS.properties │ │ │ │ └── java.properties │ │ │ └── jndi.properties │ │ │ ├── readme.txt │ │ │ ├── run-ini.sh │ │ │ ├── run-properties.sh │ │ │ ├── run-xml.sh │ │ │ └── xml │ │ │ ├── config │ │ │ ├── default.xml │ │ │ └── java.xml │ │ │ └── jndi.properties │ ├── java │ │ └── org │ │ │ └── osjava │ │ │ └── sj │ │ │ ├── SimpleContext.java │ │ │ ├── SimpleContextFactory.java │ │ │ ├── jndi │ │ │ ├── AbstractContext.java │ │ │ ├── ContextBindings.java │ │ │ ├── ContextNames.java │ │ │ ├── DelegatingContext.java │ │ │ ├── InvalidObjectTypeException.java │ │ │ ├── SimpleNameParser.java │ │ │ ├── StaticHashtable.java │ │ │ └── package.html │ │ │ ├── loader │ │ │ ├── JndiLoader.java │ │ │ ├── PoolSetup.java │ │ │ ├── SJDataSource.java │ │ │ ├── convert │ │ │ │ ├── BeanConverter.java │ │ │ │ ├── ConstructorConverter.java │ │ │ │ ├── ConvertRegistry.java │ │ │ │ ├── Converter.java │ │ │ │ ├── DataSourceConverter.java │ │ │ │ ├── DateConverter.java │ │ │ │ ├── MapConverter.java │ │ │ │ └── NullConverter.java │ │ │ ├── package.html │ │ │ └── util │ │ │ │ ├── AbstractProperties.java │ │ │ │ ├── CustomProperties.java │ │ │ │ ├── IniProperties.java │ │ │ │ ├── OrderedSet.java │ │ │ │ ├── Utils.java │ │ │ │ └── XmlProperties.java │ │ │ ├── memory │ │ │ ├── MemoryContext.java │ │ │ ├── MemoryContextFactory.java │ │ │ └── package.html │ │ │ ├── naming │ │ │ ├── Jndi.java │ │ │ └── package.html │ │ │ └── package.html │ └── test │ │ ├── config │ │ ├── TopLevelDS.properties │ │ ├── default.properties │ │ ├── enc-test │ │ │ └── jdbc.properties │ │ ├── java--.properties │ │ ├── java.properties │ │ ├── nested-datasource.properties │ │ ├── pooltest │ │ │ ├── OneDS.properties │ │ │ ├── TestDS.properties │ │ │ ├── ThreeDS.properties │ │ │ └── TwoDS.properties │ │ ├── system-test │ │ │ └── one │ │ │ │ └── two │ │ │ │ └── three.properties │ │ ├── test.properties │ │ ├── testini.ini │ │ ├── thing │ │ │ ├── db.properties │ │ │ ├── db2.xml │ │ │ ├── jdbc │ │ │ │ └── BTestDS.properties │ │ │ └── type │ │ │ │ ├── bob.properties │ │ │ │ └── default.properties │ │ └── xmltest.xml │ │ ├── jndi.properties │ │ └── org │ │ └── osjava │ │ └── sj │ │ ├── EncTest.java │ │ ├── SimpleContextTest.java │ │ ├── Sjn77Test.java │ │ ├── SystemPropertyTest.java │ │ ├── loader │ │ ├── JndiLoaderTest.java │ │ ├── TestBean.java │ │ ├── convert │ │ │ └── PiConverter.java │ │ └── util │ │ │ ├── ReplaceTest.java │ │ │ ├── SplitTest.java │ │ │ └── XmlPropertiesTest.java │ │ └── memory │ │ ├── DotSeparatorTest.java │ │ ├── MemoryContextTestAbstract.java │ │ ├── SharedMemoryTest.java │ │ └── SlashSeparatorTest.java └── xdocs │ ├── Download.xml │ ├── FAQ.xml │ ├── changes.xml │ ├── images │ ├── 1x1.gif │ ├── core-logo.jpg │ ├── initials.jpg │ ├── osjava.gif │ └── simple-jndi-logo.png │ ├── index.xml │ ├── manual │ ├── AsConfig.xml │ ├── CompilingTheSource.xml │ ├── Configuring.xml │ ├── ConfiguringWithMaven2.xml │ ├── ConverterPlugins.xml │ ├── DataFiles.xml │ ├── DataSources.xml │ ├── Downloading.xml │ ├── GeneralDesign.xml │ ├── Justifying.xml │ ├── Loader.xml │ ├── MemoryContext.xml │ ├── PropertyIndex.xml │ ├── SubmittingBugs.xml │ ├── SubmittingPatches.xml │ ├── Todo.xml │ └── index.xml │ └── navigation.xml ├── simuchron ├── maven.xml ├── project.properties ├── project.xml ├── src │ └── java │ │ └── com │ │ └── generationjava │ │ └── simuchron │ │ ├── Algorithm.java │ │ ├── AlgorithmFactory.java │ │ ├── BlockPre.java │ │ ├── ConstantAlgorithm.java │ │ ├── CosAlgorithm.java │ │ ├── MaxAlgorithm.java │ │ ├── MinAlgorithm.java │ │ ├── Play1Algorithm.java │ │ ├── Play1iiAlgorithm.java │ │ ├── PlotChart.java │ │ ├── Post.java │ │ ├── PostAlgorithm.java │ │ ├── Pre.java │ │ ├── PreAlgorithm.java │ │ ├── RoundPre.java │ │ ├── SharedAlgorithm.java │ │ ├── ShiftPre.java │ │ ├── SimulRunner.java │ │ ├── Simulator.java │ │ ├── SinAlgorithm.java │ │ ├── SlopeAlgorithm.java │ │ ├── TimeOfDay.java │ │ └── WobblePost.java └── xdocs │ ├── Design.vi │ ├── Plans.vi │ └── Problems.vi ├── sqlite-jdbc ├── README ├── TODO ├── build.xml ├── docs │ ├── Dependancies │ └── SQLite Notes ├── project.xml └── src │ ├── java │ └── org │ │ └── osjava │ │ └── jdbc │ │ └── sqlite │ │ ├── Connection.java │ │ ├── Driver.java │ │ ├── PreparedStatement.java │ │ ├── ResultSet.java │ │ ├── ResultSetMetaData.java │ │ ├── SQLiteException.java │ │ └── Statement.java │ ├── jni │ ├── Makefile │ ├── sqlite-jdbc.c │ └── sqlite-jdbc.h │ └── tests │ └── org │ └── osjava │ └── jdbc │ └── sqlite │ ├── TestConnection.java │ ├── TestDriver.java │ ├── TestPreparedStatement.java │ ├── TestResultSet.java │ ├── TestResultSetMetaData.java │ └── TestStatement.java ├── trail-taglib ├── LICENSE.txt ├── maven.xml ├── project.properties ├── project.xml ├── src │ └── java │ │ └── org │ │ └── osjava │ │ └── taglib │ │ └── trail │ │ ├── BreadCrumb.java │ │ ├── BreadCrumbs.java │ │ ├── JspUtils.java │ │ ├── ListTag.java │ │ ├── OriginalRequestFilter.java │ │ └── PushTag.java ├── taglib.tld └── xdocs │ ├── HowTo.xml │ ├── Tasks.xml │ ├── changes.xml │ ├── images │ ├── 1x1.gif │ └── osjava.gif │ ├── index.xml │ └── navigation.xml ├── viewrepo ├── multijardiff │ ├── CreateBar.java │ ├── CreateChart.java │ ├── compile.sh │ ├── empty.jar │ ├── gen.rb │ ├── lib │ │ ├── jcommon-1.0.4.jar │ │ ├── jcommon-xml-1.0.4.jar │ │ └── jfreechart-1.0.1.jar │ ├── orderJarByTime.rb │ ├── run.sh │ └── vtype.rb └── multijavadoc │ ├── LICENSE.txt │ ├── multidoc.sh │ ├── project.properties │ ├── project.xml │ └── src │ ├── java │ └── org │ │ └── osjava │ │ └── multidoc │ │ └── Multidoc.java │ ├── resources │ ├── blank-template.html │ ├── footer-index-template.html │ ├── header-index-template.html │ ├── header-template.html │ └── index-template.html │ └── scripts │ ├── Multidoc.sh │ ├── genindex.sh │ └── getdoc.sh └── xmlwriter ├── LICENSE.txt ├── maven.xml ├── pom.xml ├── project.properties ├── project.xml ├── src ├── example │ ├── Example1.java │ └── WebExample.java ├── java │ └── com │ │ └── generationjava │ │ └── io │ │ └── xml │ │ ├── AbstractXmlWriter.java │ │ ├── DelegatingXmlWriter.java │ │ ├── EmptyElementXmlWriter.java │ │ ├── FormattingXmlWriter.java │ │ ├── JarvWriter.java │ │ ├── PrettyPrinterXmlWriter.java │ │ ├── SimpleXmlWriter.java │ │ ├── XmlEncXmlWriter.java │ │ ├── XmlUtils.java │ │ └── XmlWriter.java └── test │ └── com │ └── generationjava │ └── io │ └── xml │ ├── XmlUtilsTest.java │ └── XmlWriterTest.java └── xdocs ├── Benchmarks.xml ├── Design ├── Design.xml ├── Optional.xml ├── Using.xml ├── changes.xml ├── design.graffle ├── images ├── xmlwriter-logo2.png └── xmlwriter.jpg └── navigation.xml /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 | -------------------------------------------------------------------------------- /charlotte/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /charlotte/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | } -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 -------------------------------------------------------------------------------- /code316-core/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /code316-core/Manifest.mf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/code316-core/Manifest.mf -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /code316-core/encodingdescriptions: -------------------------------------------------------------------------------- 1 | sampleEncoding = 32 2 | encoding-two = 34 : 3 | 4 | -------------------------------------------------------------------------------- /code316-core/launch.properties: -------------------------------------------------------------------------------- 1 | main=com.code316.bunny.Bunny 2 | lib=deploy/lib/ 3 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /code316-core/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /code316-core/test-vals.txt: -------------------------------------------------------------------------------- 1 | angle=3 2 | fails=2 3 | level=1 4 | temp=3336 5 | door_open=1 6 | -------------------------------------------------------------------------------- /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 -------------------------------------------------------------------------------- /code316-core/test.vals: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/code316-core/test.vals -------------------------------------------------------------------------------- /dormant/atom4j/.cvsignore: -------------------------------------------------------------------------------- 1 | build 2 | bin 3 | *.log 4 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /dormant/atom4j/build_xml.properties: -------------------------------------------------------------------------------- 1 | #choose classic, modern, jikes, or jvc 2 | JAVAC=modern 3 | 4 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /dormant/atom4j/index.html: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | Please see this page. 7 | -------------------------------------------------------------------------------- /dormant/atom4j/lib/commons-beanutils.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/dormant/atom4j/lib/commons-beanutils.jar -------------------------------------------------------------------------------- /dormant/atom4j/lib/commons-codec-1.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/dormant/atom4j/lib/commons-codec-1.1.jar -------------------------------------------------------------------------------- /dormant/atom4j/lib/commons-collections.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/dormant/atom4j/lib/commons-collections.jar -------------------------------------------------------------------------------- /dormant/atom4j/lib/commons-digester.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/dormant/atom4j/lib/commons-digester.jar -------------------------------------------------------------------------------- /dormant/atom4j/lib/commons-lang-1_0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/dormant/atom4j/lib/commons-lang-1_0.jar -------------------------------------------------------------------------------- /dormant/atom4j/lib/commons-logging.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/dormant/atom4j/lib/commons-logging.jar -------------------------------------------------------------------------------- /dormant/atom4j/lib/junit-3.8.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/dormant/atom4j/lib/junit-3.8.1.jar -------------------------------------------------------------------------------- /dormant/atom4j/lib/log4j-1.2.7.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/dormant/atom4j/lib/log4j-1.2.7.jar -------------------------------------------------------------------------------- /dormant/atom4j/lib/servlet-2.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/dormant/atom4j/lib/servlet-2.3.jar -------------------------------------------------------------------------------- /dormant/atom4j/news.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/dormant/atom4j/news.html -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /dormant/integration/configs/test-integration.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /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/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/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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /dormant/logview/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /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/LogType.java: -------------------------------------------------------------------------------- 1 | package com.generationjava.logview; 2 | 3 | public interface LogType { 4 | 5 | public String getName(); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /dormant/logview/src/java/com/generationjava/logview/docs/LogDesign.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/dormant/logview/src/java/com/generationjava/logview/docs/LogDesign.pdf -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /dormant/multidoc/docs/blank.html: -------------------------------------------------------------------------------- 1 |   2 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /dormant/multidoc/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /dormant/multidoc/xdocs/changes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Henri Yandell 6 | Changes 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /dormant/multidoc/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/dormant/multidoc/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /dormant/multidoc/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/dormant/multidoc/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /dormant/openjar/JarUpdater.java: -------------------------------------------------------------------------------- 1 | public class JarUpdater { 2 | } 3 | -------------------------------------------------------------------------------- /genjava/gj-beans/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /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-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 | -------------------------------------------------------------------------------- /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-beans/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/genjava/gj-beans/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /genjava/gj-beans/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/genjava/gj-beans/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /genjava/gj-config/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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-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 | -------------------------------------------------------------------------------- /genjava/gj-config/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/genjava/gj-config/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /genjava/gj-config/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/genjava/gj-config/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /genjava/gj-core/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /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-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 | -------------------------------------------------------------------------------- /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-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 | -------------------------------------------------------------------------------- /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-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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /genjava/gj-core/src/java/com/generationjava/util/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | Util classes. 5 |

6 | 7 | 8 | -------------------------------------------------------------------------------- /genjava/gj-core/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/genjava/gj-core/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /genjava/gj-core/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/genjava/gj-core/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /genjava/gj-csv/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /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-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-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-csv/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/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/genjava/gj-csv/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /genjava/gj-csv/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/genjava/gj-csv/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /genjava/gj-find/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /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-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 | -------------------------------------------------------------------------------- /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/empty/file: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/genjava/gj-find/src/test/find-data/empty/file -------------------------------------------------------------------------------- /genjava/gj-find/src/test/find-data/name/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 | -------------------------------------------------------------------------------- /genjava/gj-find/src/test/find-data/type/file: -------------------------------------------------------------------------------- 1 | file 2 | -------------------------------------------------------------------------------- /genjava/gj-find/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/genjava/gj-find/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /genjava/gj-find/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/genjava/gj-find/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /genjava/gj-gui/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /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-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 | } -------------------------------------------------------------------------------- /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 | } -------------------------------------------------------------------------------- /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 | } -------------------------------------------------------------------------------- /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 | } -------------------------------------------------------------------------------- /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 | } -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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-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 | -------------------------------------------------------------------------------- /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-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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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-gui/xdocs/changes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Henri Yandell 6 | Release Notes 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /genjava/gj-gui/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/genjava/gj-gui/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /genjava/gj-gui/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/genjava/gj-gui/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /genjava/gj-mail/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /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-mail/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/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/genjava/gj-mail/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /genjava/gj-mail/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/genjava/gj-mail/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /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-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 | -------------------------------------------------------------------------------- /genjava/gj-scrape/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /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-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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /genjava/gj-scrape/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/genjava/gj-scrape/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /genjava/gj-scrape/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/genjava/gj-scrape/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /genjava/gj-servlet/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /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-servlet/src/java/com/generationjava/servlet/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | Helpers for javax.servlet. 5 |

6 | 7 | 8 | -------------------------------------------------------------------------------- /genjava/gj-servlet/xdocs/changes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Henri Yandell 6 | Release Notes 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /genjava/gj-servlet/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/genjava/gj-servlet/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /genjava/gj-servlet/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/genjava/gj-servlet/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /genjava/gj-tools/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /genjava/gj-tools/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/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/genjava/gj-tools/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /genjava/gj-tools/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/genjava/gj-tools/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /genjava/gj-xml/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /genjava/gj-xml/src/test/data/test.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /genjava/gj-xml/src/test/data/unescape.xml: -------------------------------------------------------------------------------- 1 | 2 | Foo < Bar 3 | 4 | -------------------------------------------------------------------------------- /genjava/gj-xml/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/genjava/gj-xml/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /genjava/gj-xml/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/genjava/gj-xml/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /genjava/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/genjava/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /genjava/xdocs/images/core-logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/genjava/xdocs/images/core-logo.jpg -------------------------------------------------------------------------------- /genjava/xdocs/images/initials.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/genjava/xdocs/images/initials.jpg -------------------------------------------------------------------------------- /genjava/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/genjava/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /jardiff/src/examples/diff.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/jardiff/src/examples/diff.css -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /jardiff/src/scripts/jardiff: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | java -jar ~/bin/lib/jardiff-0.2-uber.jar $@ 3 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /jpe/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /lleutragen/TODO: -------------------------------------------------------------------------------- 1 | Starting basing it on delicious RSS and not on a local db.xml file. 2 | -------------------------------------------------------------------------------- /logview2/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /mudclient/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /mudclient/src/html/applet.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Elephant mud applet 4 | 5 | 6 | 7 | Get Java 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /mudclient/src/html/site/blue.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/mudclient/src/html/site/blue.jpg -------------------------------------------------------------------------------- /mudclient/src/html/site/ele480x60.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/mudclient/src/html/site/ele480x60.gif -------------------------------------------------------------------------------- /mudclient/src/html/site/image1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/mudclient/src/html/site/image1.jpg -------------------------------------------------------------------------------- /mudclient/src/html/site/menu_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/mudclient/src/html/site/menu_bg.png -------------------------------------------------------------------------------- /mudclient/src/html/site/side_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/mudclient/src/html/site/side_bg.png -------------------------------------------------------------------------------- /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/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/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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /mudclient/src/resources/org/cyberiantiger/mudclient/about.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/mudclient/src/resources/org/cyberiantiger/mudclient/about.gif -------------------------------------------------------------------------------- /mudclient/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/mudclient/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /mudclient/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/mudclient/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /mudclient/xdocs/navigation.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | mudclient 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /norbert/data/bad/robots.txt: -------------------------------------------------------------------------------- 1 | What are you looking for? 2 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /norbert/data/disallow-empty/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: test 2 | Disallow: 3 | Disallow: /index.html 4 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /norbert/data/order-reverse/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: /order/ 3 | User-agent: Scabies-1.0 4 | Allow: /order/ 5 | -------------------------------------------------------------------------------- /norbert/data/order/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: Scabies-1.0 2 | Allow: /order/ 3 | User-agent: * 4 | Disallow: /order/ 5 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /norbert/data/ua-case-insensitive/robots.txt: -------------------------------------------------------------------------------- 1 | User-Agent: test 2 | Disallow: /index.html 3 | -------------------------------------------------------------------------------- /norbert/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /norbert/src/java/org/osjava/norbert/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

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

6 | 7 | 8 | -------------------------------------------------------------------------------- /norbert/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/norbert/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /norbert/xdocs/images/core-logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/norbert/xdocs/images/core-logo.jpg -------------------------------------------------------------------------------- /norbert/xdocs/images/initials.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/norbert/xdocs/images/initials.jpg -------------------------------------------------------------------------------- /norbert/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/norbert/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /orcs/DataSourceWizard/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /orcs/OrcsTerminal/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /orcs/OrcsTerminal/nachocalendar-0.22.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/orcs/OrcsTerminal/nachocalendar-0.22.jar -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /oscube/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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /osjava-threads/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /osjava-threads/xdocs/Tasks.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Robert M. Zigweid 5 | Introduction 6 | 7 | 8 |
9 | 18 |
19 | 20 |
21 | -------------------------------------------------------------------------------- /payload/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /payload/src/java/org/osjava/payload/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | A self-extracting jar creator. 5 |

6 | 7 | 8 | -------------------------------------------------------------------------------- /payload/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/payload/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /payload/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/payload/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /pergamum/content/book.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | $isbn 4 | 5 | -------------------------------------------------------------------------------- /pergamum/content/category-books.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | $id 4 | 5 | -------------------------------------------------------------------------------- /pergamum/content/comingsoon.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 |
Coming Soon - comingsoon
4 |
5 | 16 |
17 |
18 | -------------------------------------------------------------------------------- /pergamum/content/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 10 | 11 | 12 |
13 | 14 | 15 | 16 |
17 | 18 |
19 | -------------------------------------------------------------------------------- /pergamum/content/listbooks.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Pergamum: Books on Open Source Java 4 | 5 | -------------------------------------------------------------------------------- /pergamum/content/listcategories.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Categories 4 | 5 | -------------------------------------------------------------------------------- /pergamum/content/listpublishers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Publishers 4 | 5 | -------------------------------------------------------------------------------- /pergamum/content/newbooks.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 |
New Releases - 2005/03:2005/05 - newbooks
4 |
5 | 10 |
11 |
12 | -------------------------------------------------------------------------------- /pergamum/content/newreviews.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 |
Reviewed - newreviews
4 |
5 | 10 |
11 |
12 | -------------------------------------------------------------------------------- /pergamum/content/publisher-books.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | $id 4 | 5 | -------------------------------------------------------------------------------- /pergamum/docs/publisher-books-qos.html: -------------------------------------------------------------------------------- 1 | 2 | publisher:qos
?
3 |
QoS - http://www.qos.ch/
4 |
-------------------------------------------------------------------------------- /pergamum/docs/unknown-site.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Sorry, but this book's site is not yet in the Pergamum database. 4 | 5 | 6 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /pound/images/readme.txt: -------------------------------------------------------------------------------- 1 | put images in this directory 2 | jpg, jpeg, gif, png 3 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /reportrunner/conf/reportrunner.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /reportrunner/conf/resources.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /reportrunner/conf/rrr-resources.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /reportrunner/conf/rrr.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | txt,csv,excel,html 6 | 7 | 8 | -------------------------------------------------------------------------------- /reportrunner/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /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/reportrunner/Nameable.java: -------------------------------------------------------------------------------- 1 | package org.osjava.reportrunner; 2 | 3 | public interface Nameable { 4 | 5 | String getName(); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /reportrunner/src/java/org/osjava/webwizard/templates/footer.inc: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /reportrunner/src/java/org/osjava/webwizard/templates/header.inc: -------------------------------------------------------------------------------- 1 | 2 | 3 | ReportRunner 4 | 5 | 6 | 7 |

ReportRunner

8 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /reportrunner/webapp/WEB-INF/lib/toolbox.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | rrr 5 | application 6 | org.osjava.reportrunner.webwizard.ReportRunnerTool 7 | 8 | 9 | -------------------------------------------------------------------------------- /reportrunner/webapp/WEB-INF/lib/velocity.properties: -------------------------------------------------------------------------------- 1 | resource.loader=class 2 | class.resource.loader.class=org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader 3 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /reportrunner/webapp/footer.inc: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /reportrunner/webapp/header.inc: -------------------------------------------------------------------------------- 1 | 2 | 3 | ReportRunner 4 | 5 | 6 | 7 |

ReportRunner

8 | -------------------------------------------------------------------------------- /reportrunner/webapp/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/reportrunner/webapp/images/1x1.gif -------------------------------------------------------------------------------- /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 | 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 | -------------------------------------------------------------------------------- /reportrunner/webapp/renderers/htmltable/sorttable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/reportrunner/webapp/renderers/htmltable/sorttable.js -------------------------------------------------------------------------------- /reportrunner/xdocs/changes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Henri Yandell 6 | Changes 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /reportrunner/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/reportrunner/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /reportrunner/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/reportrunner/xdocs/images/osjava.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 | -------------------------------------------------------------------------------- /runsql/example/jndi.properties: -------------------------------------------------------------------------------- 1 | java.naming.factory.initial=org.osjava.jndi.PropertiesFactory 2 | org.osjava.jndi.root=example/config/ 3 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /runsql/example/sql/CHECK.sql: -------------------------------------------------------------------------------- 1 | SELECT count(*) AS total FROM Report 2 | -------------------------------------------------------------------------------- /runsql/example/sql/QUERY.sql: -------------------------------------------------------------------------------- 1 | SELECT * FROM Bandwidth 2 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /runsql/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /scraping-engine/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/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/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 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/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/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/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/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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /scraping-engine/xdocs/manual/images/Scrapers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/scraping-engine/xdocs/manual/images/Scrapers.png -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /simple-jms/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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-jms/xdocs/changes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Henri Yandell 6 | Release Notes 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /simple-jms/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/simple-jms/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /simple-jms/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/simple-jms/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /simple-jndi/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /simple-jndi/src/examples/Collections/compile.sh: -------------------------------------------------------------------------------- 1 | javac example_code/Example.java 2 | -------------------------------------------------------------------------------- /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/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/properties/config/shopping.properties: -------------------------------------------------------------------------------- 1 | item=orange 2 | item=apple 3 | item=ice cream 4 | item=potatoes 5 | payment=cash 6 | -------------------------------------------------------------------------------- /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/run-ini.sh: -------------------------------------------------------------------------------- 1 | java -classpath ../../../target/simple-jndi-0.8.jar:.:ini example_code.Example 2 | -------------------------------------------------------------------------------- /simple-jndi/src/examples/Collections/run-properties.sh: -------------------------------------------------------------------------------- 1 | java -classpath ../../../target/simple-jndi-0.8.jar:.:properties example_code.Example 2 | -------------------------------------------------------------------------------- /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/Collections/xml/config/default.xml: -------------------------------------------------------------------------------- 1 | 2 | orange 3 | apple 4 | ice cream 5 | potatoes 6 | 7 | -------------------------------------------------------------------------------- /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/compile.sh: -------------------------------------------------------------------------------- 1 | javac example_code/Example.java 2 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/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/properties/config/FlamefewDS.properties: -------------------------------------------------------------------------------- 1 | type=javax.sql.DataSource 2 | url=foofoo 3 | driver=bing 4 | user=Boo 5 | password=bong 6 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/examples/Datasource/run-ini.sh: -------------------------------------------------------------------------------- 1 | java -classpath ../../../target/simple-jndi-0.8.jar:.:ini example_code.Example 2 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/examples/Datasource/xml/config/default.xml: -------------------------------------------------------------------------------- 1 | 2 | foofoo 3 | bing 4 | Boo 5 | bong 6 | javax.sql.DataSource 7 | 8 | -------------------------------------------------------------------------------- /simple-jndi/src/examples/Datasource/xml/config/java.xml: -------------------------------------------------------------------------------- 1 | 2 | foofoo 3 | bing 4 | Boo 5 | bong 6 | javax.sql.DataSource 7 | 8 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/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/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/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/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 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /simple-jndi/src/test/config/system-test/one/two/three.properties: -------------------------------------------------------------------------------- 1 | four=1234 2 | -------------------------------------------------------------------------------- /simple-jndi/src/test/config/test.properties: -------------------------------------------------------------------------------- 1 | value=13 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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/src/test/config/thing/type/default.properties: -------------------------------------------------------------------------------- 1 | one=two 2 | three=four 3 | five=5 4 | -------------------------------------------------------------------------------- /simple-jndi/src/test/config/xmltest.xml: -------------------------------------------------------------------------------- 1 | 2 | 13 3 | 4 | 5 | Bang 6 | 7 | 8 | one 9 | two 10 | 11 | 12 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /simple-jndi/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/simple-jndi/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /simple-jndi/xdocs/images/core-logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/simple-jndi/xdocs/images/core-logo.jpg -------------------------------------------------------------------------------- /simple-jndi/xdocs/images/initials.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/simple-jndi/xdocs/images/initials.jpg -------------------------------------------------------------------------------- /simple-jndi/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/simple-jndi/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /simple-jndi/xdocs/images/simple-jndi-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/simple-jndi/xdocs/images/simple-jndi-logo.png -------------------------------------------------------------------------------- /simuchron/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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. -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /trail-taglib/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /trail-taglib/xdocs/images/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/trail-taglib/xdocs/images/1x1.gif -------------------------------------------------------------------------------- /trail-taglib/xdocs/images/osjava.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/trail-taglib/xdocs/images/osjava.gif -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /viewrepo/multijardiff/empty.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/viewrepo/multijardiff/empty.jar -------------------------------------------------------------------------------- /viewrepo/multijardiff/lib/jcommon-1.0.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/viewrepo/multijardiff/lib/jcommon-1.0.4.jar -------------------------------------------------------------------------------- /viewrepo/multijardiff/lib/jcommon-xml-1.0.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/viewrepo/multijardiff/lib/jcommon-xml-1.0.4.jar -------------------------------------------------------------------------------- /viewrepo/multijardiff/lib/jfreechart-1.0.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/viewrepo/multijardiff/lib/jfreechart-1.0.1.jar -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /viewrepo/multijavadoc/src/resources/blank-template.html: -------------------------------------------------------------------------------- 1 |   2 | -------------------------------------------------------------------------------- /viewrepo/multijavadoc/src/resources/footer-index-template.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |
Generated by multidoc-jnr
5 | 6 | 7 | -------------------------------------------------------------------------------- /viewrepo/multijavadoc/src/resources/header-template.html: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | multidoc-jnr index 11 |

12 | 13 | 14 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /xmlwriter/maven.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /xmlwriter/xdocs/images/xmlwriter-logo2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/xmlwriter/xdocs/images/xmlwriter-logo2.png -------------------------------------------------------------------------------- /xmlwriter/xdocs/images/xmlwriter.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hen/osjava/a0de94da398ea6966d8b8fc84efba541ddfb7155/xmlwriter/xdocs/images/xmlwriter.jpg --------------------------------------------------------------------------------
JavadocJarDiff