1 23 24 29 30 package com.sun.appserv.management.util.misc; 31 32 35 public final class OutputIgnore implements Output 36 { 37 public final static OutputIgnore INSTANCE = new OutputIgnore(); 38 39 private 40 OutputIgnore( ) 41 { 42 } 44 45 public void 46 print( Object o ) 47 { 48 } 49 50 public void 51 println( Object o ) 52 { 53 } 54 55 public void 56 printError( Object o ) 57 { 58 } 59 60 public boolean 61 getDebug() 62 { 63 return( false ); 64 } 65 66 public void 67 printDebug( Object o ) 68 { 69 } 70 71 72 public void 73 close( ) 74 { 75 } 76 }; 77 78 79 | Popular Tags |