1 16 17 package org.apache.naming.core; 18 19 import javax.naming.directory.DirContext ; 20 21 34 public class DirContextHelper { 35 static DirContextHelper instance=new DirContextHelper(); 36 37 public static DirContextHelper getInstance() { 38 return instance; 39 } 40 41 42 44 public String toString(DirContext ctx) { 45 return ""; 46 } 47 48 public int getIntAttribute( DirContext ctx, String name ) { 49 return 0; 50 } 51 52 public long getLongAttribute( DirContext ctx, String name ) { 53 return 0; 54 } 55 56 public String getStringAttribute( DirContext ctx, String name ) { 57 return null; 58 } 59 60 public boolean getBooleanAttribute( DirContext ctx, String name ) { 61 return false; 62 } 63 } 64 65 | Popular Tags |