Package | Description |
---|---|
org.apache.commons.configuration2.builder |
This package contains the implementations of configuration builder classes used to create new
Configuration objects. |
org.apache.commons.configuration2.io |
A package with classes related to I/O operations.
|
Modifier and Type | Method and Description |
---|---|
default T |
FileBasedBuilderProperties.setURL(URL url,
URLConnectionOptions urlConnectionOptions)
Sets the location of the associated
FileHandler as a URL object. |
FileBasedBuilderParametersImpl |
FileBasedBuilderParametersImpl.setURL(URL url,
URLConnectionOptions urlConnectionOptions) |
Modifier and Type | Field and Description |
---|---|
static URLConnectionOptions |
URLConnectionOptions.DEFAULT
Default options.
|
Modifier and Type | Method and Description |
---|---|
URLConnectionOptions |
FileLocator.getURLConnectionOptions()
Returns the URLConnectionOptions
|
URLConnectionOptions |
URLConnectionOptions.setAllowUserInteraction(boolean allowUserInteraction) |
URLConnectionOptions |
URLConnectionOptions.setConnectTimeoutMillis(int connectTimeoutMillis) |
URLConnectionOptions |
URLConnectionOptions.setReadTimeoutMillis(int readTimeoutMillis) |
URLConnectionOptions |
URLConnectionOptions.setUseCaches(boolean useCaches) |
Modifier and Type | Method and Description |
---|---|
InputStream |
FileSystem.getInputStream(URL url,
URLConnectionOptions urlConnectionOptions)
Not abstract for binary compatibility.
|
InputStream |
DefaultFileSystem.getInputStream(URL url,
URLConnectionOptions urlConnectionOptions) |
void |
FileHandler.setURL(URL url,
URLConnectionOptions urlConnectionOptions)
Sets the location of the associated file as a URL.
|
FileLocator.FileLocatorBuilder |
FileLocator.FileLocatorBuilder.urlConnectionOptions(URLConnectionOptions urlConnectionOptions)
Specifies the source URL connection options of the new
FileLocator . |
Constructor and Description |
---|
URLConnectionOptions(URLConnectionOptions urlConnectionOptions)
Constructs an instance with values from the given URLConnectionOptions.
|
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.