public class HadoopFileSystemURLStreamHandler extends URLStreamHandler implements Configurable
URLStreamHandler for handling Hadoop filesystem URLs,
most commonly those with the hdfs scheme.| Constructor and Description |
|---|
HadoopFileSystemURLStreamHandler() |
| Modifier and Type | Method and Description |
|---|---|
Configuration |
getConf() |
static Configuration |
getDefaultConf() |
protected URLConnection |
openConnection(URL url) |
void |
setConf(Configuration conf) |
static void |
setDefaultConf(Configuration defaultConf) |
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalFormpublic static Configuration getDefaultConf()
public static void setDefaultConf(Configuration defaultConf)
public void setConf(Configuration conf)
setConf in interface Configurablepublic Configuration getConf()
getConf in interface Configurableprotected URLConnection openConnection(URL url) throws IOException
openConnection in class URLStreamHandlerIOExceptionCopyright © 2013–2015. All rights reserved.