Home
last modified time | relevance | path

Searched refs:languageRange (Results 1 – 2 of 2) sorted by relevance

/external/nist-sip/java/gov/nist/javax/sip/header/
DAcceptLanguage.java63 protected String languageRange; field in AcceptLanguage
76 if (languageRange != null) { in encodeBody()
77 encoding.append(languageRange); in encodeBody()
89 return languageRange; in getLanguageRange()
126 public void setLanguageRange(String languageRange) { in setLanguageRange() argument
127 this.languageRange = languageRange.trim(); in setLanguageRange()
167 if (this.languageRange == null) in getAcceptLanguage()
170 int dash = languageRange.indexOf('-'); in getAcceptLanguage()
172 … return new Locale( languageRange.substring(0,dash), languageRange.substring(dash+1) ); in getAcceptLanguage()
173 } else return new Locale( this.languageRange ); in getAcceptLanguage()
[all …]
/external/nist-sip/java/javax/sip/header/
DAcceptLanguageHeader.java11 void setLanguageRange(String languageRange); in setLanguageRange() argument