static String getType(int type) { switch (type) { case DNSConstants.TYPE_A: 		return "a"; case DNSConstants.TYPE_NS:		return "ns"; case DNSConstants.TYPE_MD:		return "md"; case DNSConstants.TYPE_MF:		return "mf"; case DNSConstants.TYPE_CNAME:	return "cname"; case DNSConstants.TYPE_SOA:	return "soa"; case DNSConstants.TYPE_MB:		return "mb"; case DNSConstants.TYPE_MG:		return "mg"; case DNSConstants.TYPE_MR:		return "mr"; case DNSConstants.TYPE_NULL:	return "null"; case DNSConstants.TYPE_WKS:	return "wks"; case DNSConstants.TYPE_PTR:	return "ptr"; case DNSConstants.TYPE_HINFO:	return "hinfo"; case DNSConstants.TYPE_MINFO:	return "minfo"; case DNSConstants.TYPE_MX:		return "mx"; case DNSConstants.TYPE_TXT:	return "txt"; case DNSConstants.TYPE_SRV:	return "srv"; case DNSConstants.TYPE_ANY:	return "any"; default:		return "?"; }
public int getType() { return type;
    static String getType(int type)    {	switch (type) {    	  case DNSConstants.TYPE_A: 		return "a";    	  case DNSConstants.TYPE_NS:		return "ns";    	  case DNSConstants.TYPE_MD:		return "md";    	  case DNSConstants.TYPE_MF:		return "mf";    	  case DNSConstants.TYPE_CNAME:	return "cname";    	  case DNSConstants.TYPE_SOA:	return "soa";    	  case DNSConstants.TYPE_MB:		return "mb";    	  case DNSConstants.TYPE_MG:		return "mg";    	  case DNSConstants.TYPE_MR:		return "mr";    	  case DNSConstants.TYPE_NULL:	return "null";    	  case DNSConstants.TYPE_WKS:	return "wks";    	  case DNSConstants.TYPE_PTR:	return "ptr";    	  case DNSConstants.TYPE_HINFO:	return "hinfo";    	  case DNSConstants.TYPE_MINFO:	return "minfo";    	  case DNSConstants.TYPE_MX:		return "mx";    	  case DNSConstants.TYPE_TXT:	return "txt";    	  case DNSConstants.TYPE_SRV:	return "srv";    	  case DNSConstants.TYPE_ANY:	return "any";	      default:		return "?";	}    }