public class StdinStdoutURLStreamHandlerProvider extends Object implements URLStreamHandlerProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
STANDARD_STREAM_PROTOCOL
The protocol for standard input and standard output URLs.
|
| Constructor and Description |
|---|
StdinStdoutURLStreamHandlerProvider() |
| Modifier and Type | Method and Description |
|---|---|
Optional<URLStreamHandler> |
maybeCreateURLStreamHandler(String protocol)
Creates a
URLStreamHandler for the given protocol, if possible, otherwise returns
empty. |
public static final String STANDARD_STREAM_PROTOCOL
std:/.@NonNull public Optional<URLStreamHandler> maybeCreateURLStreamHandler(@NonNull String protocol)
URLStreamHandlerProviderURLStreamHandler for the given protocol, if possible, otherwise returns
empty.maybeCreateURLStreamHandler in interface URLStreamHandlerProviderprotocol - The protocol to create a handler for.Copyright © 2017–2021 DataStax. All rights reserved.