Package | Description |
---|---|
org.ops4j.io |
This package contains utilities for I/O operations.
|
org.ops4j.monitors.stream |
Modifier and Type | Class and Description |
---|---|
class |
PrintStreamMonitor
PrintStreamMonitor is a convenience implementation of the StreamMonitor for output to
a PrintStream, such as
System.out . |
Modifier and Type | Method and Description |
---|---|
static void |
FileUtils.copyFile(File src,
File dest,
StreamMonitor monitor)
Copies a file.
|
static void |
StreamUtils.copyStream(StreamMonitor monitor,
URL sourceURL,
int expected,
InputStream source,
OutputStream destination,
boolean closeStreams)
Copy a stream.
|
Modifier and Type | Class and Description |
---|---|
class |
StreamMonitorRouter
A router that handles multicasr distribution of monitor events to registered monitors.
|
Modifier and Type | Method and Description |
---|---|
StreamMonitor |
StreamMonitorRouter.getMonitor(int index)
Returns a Monitor.
|
Modifier and Type | Method and Description |
---|---|
void |
StreamMonitorRouter.addStreamMonitor(StreamMonitor monitor)
Add a monitor to the list of monitors managed by this router.
|
void |
StreamSource.registerStreamMonitor(StreamMonitor monitor)
Register a ExceptionMonitor with the source.
|
void |
StreamMonitorRouter.removeStreamMonitor(StreamMonitor monitor)
Remove a monitor to the list of monitors managed by this router.
|
void |
StreamSource.unregisterStreamMonitor(StreamMonitor monitor)
Unregister a StreamMonitor with the source.
|
Copyright © 2006–2019 OPS4J - Open Participation Software for Java. All rights reserved.