Lines Matching defs:file
3 * contributor license agreements. See the NOTICE file distributed with
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
17 package org.apache.harmony.tests.internal.net.www.protocol.file;
47 File file = File.createTempFile("FileURLConnectionTest",
49 os = new BufferedOutputStream(new FileOutputStream(file));
52 return new URL("file://" + file.getAbsolutePath());
78 new FileURLConnection(new URL("file:///")).getContentType());
95 String localURLString = "file://localhost/" + url.getFile();
99 assertEquals("file", conn.getURL().getProtocol());