Home
last modified time | relevance | path

Searched refs:scheme (Results 1 – 19 of 19) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/file/
DPaths.java132 String scheme = uri.getScheme(); in get() local
133 if (scheme == null) in get()
137 if (scheme.equalsIgnoreCase("file")) in get()
142 if (provider.getScheme().equalsIgnoreCase(scheme)) { in get()
147 throw new FileSystemNotFoundException("Provider \"" + scheme + "\" not installed"); in get()
DFileSystems.java218 String scheme = uri.getScheme(); in getFileSystem() local
220 if (scheme.equalsIgnoreCase(provider.getScheme())) { in getFileSystem()
224 throw new ProviderNotFoundException("Provider \"" + scheme + "\" not found"); in getFileSystem()
321 String scheme = uri.getScheme(); in newFileSystem() local
325 if (scheme.equalsIgnoreCase(provider.getScheme())) { in newFileSystem()
335 if (scheme.equalsIgnoreCase(provider.getScheme())) { in newFileSystem()
341 throw new ProviderNotFoundException("Provider \"" + scheme + "\" not found"); in newFileSystem()
/libcore/dom/src/test/java/org/w3c/domts/
DDOMTest.java132 public String getResourceURI(String href, String scheme, String contentType) throws in getResourceURI() argument
134 if (scheme == null) { in getResourceURI()
137 if ("file".equals(scheme)) { in getResourceURI()
140 if ("http".equals(scheme)) { in getResourceURI()
154 scheme)); in getResourceURI()
157 public String createTempURI(String scheme) throws DOMTestLoadException { in createTempURI() argument
158 if (scheme == null) { in createTempURI()
161 if ("file".equals(scheme)) { in createTempURI()
184 if ("http".equals(scheme)) { in createTempURI()
197 scheme)); in createTempURI()
DDOMTestInnerClass.java133 public void assertURIEquals(String assertID, String scheme, String path, in assertURIEquals() argument
137 test.assertURIEquals(assertID, scheme, path, host, file, name, query, in assertURIEquals()
DDOMTestCase.java672 String scheme, in assertURIEquals() argument
722 if (scheme != null) { in assertURIEquals()
723 assertEquals(assertID, scheme, actualScheme); in assertURIEquals()
/libcore/ojluni/src/main/java/java/net/
DAuthenticator.java165 String scheme) { in requestPasswordAuthentication() argument
184 a.requestingScheme = scheme; in requestPasswordAuthentication()
227 String scheme) { in requestPasswordAuthentication() argument
247 a.requestingScheme = scheme; in requestPasswordAuthentication()
292 String scheme, in requestPasswordAuthentication() argument
314 a.requestingScheme = scheme; in requestPasswordAuthentication()
DURI.java473 private transient String scheme; // null ==> relative URI field in URI
659 public URI(String scheme, in URI() argument
664 String s = toString(scheme, null, in URI()
667 checkPath(s, scheme, path); in URI()
732 public URI(String scheme, in URI() argument
737 String s = toString(scheme, null, in URI()
740 checkPath(s, scheme, path); in URI()
766 public URI(String scheme, String host, String path, String fragment) in URI() argument
769 this(scheme, null, host, -1, path, null, fragment); in URI()
809 public URI(String scheme, String ssp, String fragment) in URI() argument
[all …]
/libcore/ojluni/annotations/hiddenapi/java/net/
DAuthenticator.java50 java.lang.String scheme) { in requestPasswordAuthentication() argument
60 java.lang.String scheme) { in requestPasswordAuthentication() argument
70 java.lang.String scheme, in requestPasswordAuthentication() argument
DURI.java43 java.lang.String scheme, in URI() argument
55 java.lang.String scheme, in URI() argument
65 java.lang.String scheme, in URI() argument
73 public URI(java.lang.String scheme, java.lang.String ssp, java.lang.String fragment) in URI() argument
240 java.lang.String s, java.lang.String scheme, java.lang.String path) in checkPath() argument
271 java.lang.String scheme, in toString() argument
672 private transient java.lang.String scheme; field in URI
/libcore/ojluni/src/main/java/sun/net/www/
DParseUtil.java310 private static URI createURI(String scheme, in createURI() argument
316 String s = toString(scheme, null, in createURI()
319 checkPath(s, scheme, path); in createURI()
323 private static String toString(String scheme, in toString() argument
334 if (scheme != null) { in toString()
335 sb.append(scheme); in toString()
529 private static void checkPath(String s, String scheme, String path) in checkPath() argument
532 if (scheme != null) { in checkPath()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixUriUtils.java49 String scheme = uri.getScheme(); in fromUri() local
50 if ((scheme == null) || !scheme.equalsIgnoreCase("file")) in fromUri()
/libcore/luni/src/test/java/tests/org/w3c/dom/
DDOMTestCase.java102 public void assertURIEquals(String assertID, String scheme, String path, in assertURIEquals() argument
146 if (scheme != null) { in assertURIEquals()
147 assertEquals(assertID, scheme, actualScheme); in assertURIEquals()
/libcore/ojluni/annotations/hiddenapi/sun/net/www/
DParseUtil.java73 java.lang.String scheme, in createURI() argument
83 java.lang.String scheme, in toString() argument
141 java.lang.String s, java.lang.String scheme, java.lang.String path) in checkPath() argument
/libcore/ojluni/src/main/java/java/nio/file/spi/
DFileSystemProvider.java120 String scheme = provider.getScheme(); in loadInstalledProviders() local
123 if (!scheme.equalsIgnoreCase("file")) { in loadInstalledProviders()
126 if (p.getScheme().equalsIgnoreCase(scheme)) { in loadInstalledProviders()
/libcore/ojluni/src/main/java/java/io/
DFile.java422 String scheme = uri.getScheme(); in File() local
423 if ((scheme == null) || !scheme.equalsIgnoreCase("file")) in File()
/libcore/tools/docs/crypto/
DREADME1 The tools in this directory are a scheme for autogenerating crypto doc support.
/libcore/ojluni/src/main/resources/
Dhijrah-config-umalqura.properties40 # Identifies the type of calendar in the standard calendar ID scheme
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DURITest.java400 private void construct1(String scheme, String userinfo, String host, in construct1() argument
403 URI uri = new URI(scheme, userinfo, host, port, path, query, in construct1()
/libcore/benchmarks/src/benchmarks/regression/
DR.java2136 public static final int scheme = 0; field in R