Home
last modified time | relevance | path

Searched refs:getFileNameMap (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/
DOldFileNameMapTest.java26 FileNameMap map = URLConnection.getFileNameMap(); in test_getContentTypeFor()
DURLConnectionTest.java870 assertThrowsNpe(() -> URLConnection.getFileNameMap().getContentTypeFor(null)); in getFileNameMap_null()
978 String actual = URLConnection.getFileNameMap().getContentTypeFor(fileName); in checkFileNameMap()
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/
DFileURLConnection.java119 FileNameMap map = java.net.URLConnection.getFileNameMap(); in initializeHeaders()
192 FileNameMap map = java.net.URLConnection.getFileNameMap(); in getInputStream()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
DURLConnectionTest.java593 FileNameMap mapOld = URLConnection.getFileNameMap();
617 URLConnection.getFileNameMap().getContentTypeFor(null));
1050 FileNameMap mapOld = URLConnection.getFileNameMap();
1054 assertNotNull(URLConnection.getFileNameMap());
1078 FileNameMap mapNew = URLConnection.getFileNameMap();
/libcore/ojluni/src/main/java/java/net/
DURLConnection.java330 public static synchronized FileNameMap getFileNameMap() { in getFileNameMap() method in URLConnection
1422 return getFileNameMap().getContentTypeFor(fname); in guessContentTypeFromName()
/libcore/api/
Dcurrent.txt5603 method public static java.net.FileNameMap getFileNameMap();