Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/memoire/foo/FooPrintStream.java


1   /**
2    * @modification $Date: 2002/12/16 18:56:26 $
3    * @statut       unstable
4    * @file         FooPrintStream.java
5    * @version      0.08
6    * @author       Guillaume Desnoix
7    * @email        guillaume@desnoix.com
8    * @license      GNU General Public License 2 (GPL2)
9    * @copyright    1999-2001 Guillaume Desnoix
10   */
11  
12  package com.memoire.foo;
13  import com.memoire.foo.*;
14  
15  import java.io.*;
16  
17  public class FooPrintStream
18  {
19    private static FooCategory pkg_=null;
20  
21    public static final FooCategory init()
22    {
23      if(pkg_==null)
24      {
25        pkg_=FooCategory.create(PrintStream.class);
26  
27        pkg_.setMessage("<<",FooPrintStream.class,"write");
28      }
29  
30      return pkg_;
31    }
32  
33    public static PrintStream write(Object[] _o)
34    {
35      FooLib.checkClassArgument(PrintStream.class,_o[0],0);
36  
37      PrintStream out=(PrintStream)_o[0];
38      _o[0]=" ";
39      String s=FooString.join(_o);
40      out.print(s);
41      return out;
42    }
43  }