| Package | Description |
|---|---|
| io.humble.video.customio |
An API for extending Humble Video to read and write from arbitrary data sources.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DataInputOutputHandler
Implementation of URLProtocolHandler that can read from
DataInput
objects or write to DataOutput objects. |
class |
FileProtocolHandler
Implementation of URLProtocolHandler that can read and write files.
|
class |
InputOutputStreamHandler
Implementation of URLProtocolHandler that can read from
InputStream
objects or write to OutputStream objects. |
class |
NullProtocolHandler
The NullProtocolHandler implements
IURLProtocolHandler, but discards
any data written and always returns 0 for reading. |
class |
ReadableWritableChannelHandler
Implementation of URLProtocolHandler that can read from
ReadableByteChannel
objects or write to WritableByteChannel object. |
| Modifier and Type | Method and Description |
|---|---|
IURLProtocolHandler |
URLProtocolManager.getHandler(String url,
int flags) |
IURLProtocolHandler |
NullProtocolHandlerFactory.getHandler(String aProtocol,
String aUrl,
int aFlags) |
IURLProtocolHandler |
FileProtocolHandlerFactory.getHandler(String protocol,
String url,
int flags) |
IURLProtocolHandler |
HumbleIO.getHandler(String protocol,
String url,
int flags)
Called by FFMPEG in order to get a handler to use for a given file.
|
IURLProtocolHandler |
IURLProtocolHandlerFactory.getHandler(String protocol,
String url,
int flags)
Called by FFMPEG in order to get a handler to use for a given file.
|
IURLProtocolHandler |
HumbleIO.mapIO(String url,
IURLProtocolHandler handler,
boolean unmapUrlOnOpen)
Maps the given url or file name to the given
IURLProtocolHandler or
so that Humble calls to open the URL it will call back to the handler. |
static IURLProtocolHandler |
HumbleIO.unmap(String url)
Undoes a URL to
InputStream or OutputStream mapping. |
IURLProtocolHandler |
HumbleIO.unmapIO(String url)
Unmaps a registration between a URL and the underlying i/o objects.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
HumbleIO.map(IURLProtocolHandler handler)
Maps a
IURLProtocolHandler to a url that Humble can open. |
static String |
HumbleIO.map(String url,
IURLProtocolHandler handler)
Maps a
IURLProtocolHandler to a url that Humble can open. |
static String |
HumbleIO.map(String url,
IURLProtocolHandler handler,
boolean unmapUrlOnOpen)
Maps a
IURLProtocolHandler to a url that Humble can open. |
IURLProtocolHandler |
HumbleIO.mapIO(String url,
IURLProtocolHandler handler,
boolean unmapUrlOnOpen)
Maps the given url or file name to the given
IURLProtocolHandler or
so that Humble calls to open the URL it will call back to the handler. |
Copyright © 2018 Humble Software. All rights reserved.