/libcore/luni/src/main/java/java/lang/ |
ClassLoader.java | 39 import java.net.URL; 103 // URL[] urls = new URL[paths.length]; 106 // urls[i] = new URL("file://" + paths[i]); 129 * Finds the URL of the resource with the specified name. The system class 132 * @return the {@code URL} object for the requested resource or {@code null} 138 public static URL getSystemResource(String resName) { 147 * @return an enumeration of {@code URL} objects containing the requested 154 public static Enumeration<URL> getSystemResources(String resName) throws IOException { 381 * Returns the URL of the resource with the specified name. Thi 434 URL url = getResource(resName); local [all...] |
/libcore/luni/src/main/java/java/net/ |
URLStreamHandler.java | 21 import libcore.net.url.UrlUtils; 26 * can handle the communication with a URL object over a particular protocol 31 * Establishes a new connection to the resource specified by the URL {@code 36 * the URL to the resource where a connection has to be opened. 41 protected abstract URLConnection openConnection(URL u) throws IOException; 44 * Establishes a new connection to the resource specified by the URL {@code 49 * the URL to the resource where a connection has to be opened. 61 protected URLConnection openConnection(URL u, Proxy proxy) throws IOException { 66 * Parses the clear text URL in {@code str} into a URL object. URL string [all...] |
JarURLConnection.java | 28 * This class establishes a connection to a {@code jar:} URL using the {@code 31 * as follows: <i>jar:{archive-url}!/{entry}</i> where "!/" is called a 45 * The location part of the represented URL. 51 private URL fileURL; 53 // the file component of the URL 58 * specified URL. 60 * @param url 61 * the URL that contains the location to connect to. 63 * if an invalid URL has been entered. 65 protected JarURLConnection(URL url) throws MalformedURLException [all...] |
/external/webkit/Source/WebKit/mac/Misc/ |
WebNSPasteboardExtras.mm | 52 NSString *WebURLPboardType = @"public.url"; 53 NSString *WebURLNamePboardType = @"public.url-name"; 130 NSURL *URL = [[NSURL _web_URLWithUserTypedString:URLString] _webkit_canonicalize]; 131 if (URL) { 132 return URL; 143 // do. Without this check, if the URL points to a local directory, Safari will open the 156 - (void)_web_writeURL:(NSURL *)URL andTitle:(NSString *)title types:(NSArray *)types 158 ASSERT(URL); 161 title = [[URL path] lastPathComponent]; 163 title = [URL _web_userVisibleString] [all...] |
WebKitErrors.m | 45 #define WebKitErrorDescriptionCannotShowURL UI_STRING_INTERNAL("The URL can?t be shown", "WebKitErrorCannotShowURL description") 72 -(id)_webkit_initWithDomain:(NSString *)domain code:(int)code URL:(NSURL *)URL 81 URL, @"NSErrorFailingURLKey", 82 [URL absoluteString], @"NSErrorFailingURLStringKey", 88 +(id)_webkit_errorWithDomain:(NSString *)domain code:(int)code URL:(NSURL *)URL 90 return [[[self alloc] _webkit_initWithDomain:domain code:code URL:URL] autorelease]; 93 + (NSError *)_webKitErrorWithDomain:(NSString *)domain code:(int)code URL:(NSURL *)UR [all...] |
/external/webkit/LayoutTests/fast/url/script-tests/ |
scheme.js | 1 description("Canonicalization of URL schemes."); 6 // These tests trigger the relative URL resolving behavior of 7 // HTMLAnchorElement.href. In order to test absolute URL parsing, we'd need
|
trivial.js | 1 description("Test basic features of URL canonicalization");
|
/external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/ssl/ |
HttpsURLConnection_ImplTest.java | 21 import java.net.URL; 58 public MyHttpsURLConnection(URL url) { 59 super(url);
|
/external/javassist/src/main/javassist/ |
LoaderClassPath.java | 19 import java.net.URL; 74 * Obtains the URL of the specified class file. 80 public URL find(String classname) {
|
/external/proguard/src/proguard/ |
FileWordReader.java | 24 import java.net.URL; 28 * A <code>WordReader</code> that returns words from a file or a URL. 53 * Creates a new FileWordReader for the given URL. 55 public FileWordReader(URL url) throws IOException 59 this.name = url.toString(); 62 new InputStreamReader(url.openStream())));
|
/external/webkit/Source/WebCore/html/ |
HTMLScriptElement.idl | 29 attribute [Reflect, URL] DOMString src;
|
HTMLAreaElement.idl | 27 attribute [Reflect, URL] DOMString href; 44 readonly attribute URL absoluteLinkURL;
|
/external/webkit/Source/WebKit/mac/DefaultDelegates/ |
WebDefaultPolicyDelegate.m | 65 if ([[request URL] isFileURL]) { 67 BOOL exists = [[NSFileManager defaultManager] fileExistsAtPath:[[request URL] path] isDirectory:&isDirectory]; 91 // A file URL shouldn't fall through to here, but if it did, 93 if (![[request URL] isFileURL]) { 94 [[NSWorkspace sharedWorkspace] openURL:[request URL]];
|
/external/webkit/Source/WebKit/mac/Plugins/Hosted/ |
WebHostedNetscapePluginView.h | 52 URL:(NSURL *)URL
|
/external/webkit/Tools/DumpRenderTree/mac/ |
WebArchiveDumpSupportMac.mm | 45 CFURLResponseRef CFURLResponseCreate(CFAllocatorRef alloc, CFURLRef URL, CFStringRef mimeType, SInt64 expectedContentLength, CFStringRef textEncodingName, CFURLCacheStoragePolicy recommendedPolicy); 46 CFURLResponseRef CFURLResponseCreateWithHTTPResponse(CFAllocatorRef alloc, CFURLRef URL, CFHTTPMessageRef httpResponse, CFURLCacheStoragePolicy recommendedPolicy); 60 return CFURLResponseCreate(kCFAllocatorDefault, (CFURLRef)[response URL], (CFStringRef)[response MIMEType], [response expectedContentLength], (CFStringRef)[response textEncodingName], kCFURLCacheStorageAllowed); 71 return CFURLResponseCreateWithHTTPResponse(kCFAllocatorDefault, (CFURLRef)[response URL], httpMessage.get(), kCFURLCacheStorageAllowed);
|
/sdk/draw9patch/src/com/android/draw9patch/ui/ |
OpenFilePanel.java | 9 import java.net.URL;/* 36 URL resource = getClass().getResource("/images/drop.png");
|
/external/guava/guava-tests/test/com/google/common/base/ |
FinalizableReferenceQueueTest.java | 25 import java.net.URL; 127 URLClassLoader newLoader(URL base) { 128 return new DecoupledClassLoader(new URL[] { base }); 142 public DecoupledClassLoader(URL[] urls) {
|
/external/libxml2/include/libxml/ |
nanoftp.h | 89 xmlNanoFTPNewCtxt (const char *URL); 99 xmlNanoFTPOpen (const char *URL); 107 xmlNanoFTPScanProxy (const char *URL); 116 const char *URL);
|
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/ |
ISettingsPage.java | 19 import java.net.URL;
28 * Java system setting picked up by {@link URL} for http proxy port.
33 * Java system setting picked up by {@link URL} for http proxy host.
|
/external/jsilver/src/com/google/streamhtmlparser/util/ |
HtmlUtils.java | 54 * <li>{@code NONE} if it does not contain a URL in the expected format. 55 * <li>{@code URL_START} if it contains a URL but hasn't seen any of 57 * <li>{@code URL} if it contains a URL and has seen at least some of 64 URL 69 * that contains a URL. Used by {@link #parseContentAttributeForUrl}. 72 "^\\s*\\d*\\s*;\\s*URL\\s*=\\s*[\'\"]?"; 354 * Parses the given {@code String} to determine if it contains a URL in the 363 * a URL. 369 * value contains a URL and whether we are at the start of the URL or pas [all...] |
/external/libxslt/libxslt/ |
security.c | 360 * @URL: the resource to be written 369 xsltTransformContextPtr ctxt, const xmlChar *URL) { 374 uri = xmlParseURI((const char *)URL); 379 "xsltCheckWrite: out of memory for %s\n", URL); 382 uri->path = (char *)xmlStrdup(URL); 408 ret = check(sec, ctxt, (const char *)URL); 411 "File write for %s refused\n", URL); 426 * @URL: the resource to be read 434 xsltTransformContextPtr ctxt, const xmlChar *URL) { 439 uri = xmlParseURI((const char *)URL); [all...] |
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/forwarder/ |
ForwarderManager.java | 20 import java.net.URL; 58 * Returns the main part of the URL with the trailing slash 74 URL url = null; local 76 url = new URL(protocol, HOST_IP, port, "/"); 81 return url.toString();
|
/libcore/dalvik/src/main/java/dalvik/system/ |
BaseDexClassLoader.java | 20 import java.net.URL; 68 protected URL findResource(String name) { 73 protected Enumeration<URL> findResources(String name) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/ |
EclipseTestCollector.java | 21 import java.net.URL; 53 URL entry = (URL)entries.nextElement();
|
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_GetLocal.java | 28 import java.net.URL; 37 public static File getLocalFile(String url) throws IOException, 39 url = Support_Resources.RESOURCE_PACKAGE + url; 40 File temp = cache.get(url); 42 InputStream in = Support_GetLocal.class.getResourceAsStream(url); 53 cache.put(url, temp); 58 public static File getExternalLocalFile(String url) throws IOException, 60 File temp = cache.get(url); 62 InputStream in = new URL(url).openStream() [all...] |