diff src/org/nwoca/ssdt/tools/html2wiki/Html2Wiki.java @ 2:5da2e67620f9

Upgrade to Ivy configuration and begin clean up of tests. Added FreeBSD license.
author smith@nwoca.org
date Tue, 25 Jan 2011 17:06:57 -0500
parents f8b1ea49d065
children 22ed6d93442c
line wrap: on
line diff
--- a/src/org/nwoca/ssdt/tools/html2wiki/Html2Wiki.java	Thu Jun 08 18:11:12 2006 -0400
+++ b/src/org/nwoca/ssdt/tools/html2wiki/Html2Wiki.java	Tue Jan 25 17:06:57 2011 -0500
@@ -100,8 +100,7 @@
         System.out.println(input.getAbsoluteFile());
         
         Html2Wiki converter = new Html2Wiki(FileUtils.readFileToString(input,null));
-        
-        
+                
         WikiChapter[] chapters = converter.getWikiChapters();
         
         System.out.format("Writing %d wiki files...\n",chapters.length);
@@ -181,7 +180,7 @@
         }
         
     }
-    private static class WikiChapter {
+    protected static class WikiChapter {
         private String chapterName;
         private CharSequence contents;
         
@@ -200,7 +199,7 @@
         }
         
         public String toString() {
-            return "Chapter: " + chapterName + "\nContents: " + contents;
+            return "Chapter: " + chapterName + " Content length: " + contents.length();
         }
     }