Changes between Version 5 and Version 6 of WikiOutputStreamPlugin


Ignore:
Timestamp:
Oct 20, 2006 6:07:45 PM (8 years ago)
Author:
aldrinleal
Comment:

License Clarified

Legend:

Unmodified
Added
Removed
Modified
  • WikiOutputStreamPlugin

    v5 v6  
    2626You can check out WikiOutputStreamPlugin from [http://trac-hacks.org/svn/wikioutputstreamplugin here] using Subversion, or [source:wikioutputstreamplugin browse the source] with Trac. 
    2727 
     28== License == 
     29 
     30The whole WikiPageOutputStream package can be used under the terms and conditions of the "Apache License, Version 2.0." You'll find the detailed licensing terms in the root directory of the distribution or online at http://www.apache.org/licenses/LICENSE-2.0 
     31 
     32Since it uses [http://www.jcraft.com/jsch/ Java Secure Channel (JSch)] from [http://www.jcraft.com/ JCraft], currently under BSD Licensing, their mandatory notice is given here: 
     33 
     34{{{ 
     35Copyright (c) 2002,2003,2004,2005,2006 Atsuhiko Yamanaka, JCraft,Inc.  
     36All rights reserved. 
     37 
     38Redistribution and use in source and binary forms, with or without 
     39modification, are permitted provided that the following conditions are met: 
     40 
     41  1. Redistributions of source code must retain the above copyright notice, 
     42     this list of conditions and the following disclaimer. 
     43 
     44  2. Redistributions in binary form must reproduce the above copyright  
     45     notice, this list of conditions and the following disclaimer in  
     46     the documentation and/or other materials provided with the distribution. 
     47 
     48  3. The names of the authors may not be used to endorse or promote products 
     49     derived from this software without specific prior written permission. 
     50 
     51THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, 
     52INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 
     53FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JCRAFT, 
     54INC. OR ANY CONTRIBUTORS TO THIS SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT, 
     55INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 
     56LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 
     57OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
     58LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
     59NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
     60EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     61}}} 
     62 
    2863== Example == 
    2964 
     
    4378  protected void setUp() { 
    4479    try { 
    45       this.printStream = new PrintStream(new WikiPageOutputStream(this.getName().substring("test".length()), true); 
     80      this.printStream = new PrintStream(new WikiPageOutputStream(this.getName().substring("test";.length()), true); 
    4681    } catch (Exception exc) { 
    4782      this.printStream = System.out;