Package | Description |
---|---|
org.ops4j.io |
This package contains utilities for I/O operations.
|
org.ops4j.lang |
Classes, interfaces and exceptions that we find are missing in the java.lang package is added to
this package.
|
Modifier and Type | Method and Description |
---|---|
static void |
StreamUtils.copyStream(InputStream src,
OutputStream dest,
boolean closeStreams)
Copy a stream.
|
static void |
StreamUtils.copyStream(StreamMonitor monitor,
URL sourceURL,
int expected,
InputStream source,
OutputStream destination,
boolean closeStreams)
Copy a stream.
|
Modifier and Type | Method and Description |
---|---|
static void |
NullArgumentException.validateNotEmpty(Object[] arrayToCheck,
String argumentName)
Validates that the array instance is not null and that it has entries.
|
static void |
NullArgumentException.validateNotEmpty(Properties propertiesToCheck,
String argumentName)
Validates that the Properties instance is not null and that it has entries.
|
static void |
NullArgumentException.validateNotEmpty(String stringToCheck,
boolean trim,
String argumentName)
Validates that the string is not null and not an empty string.
|
static void |
NullArgumentException.validateNotEmpty(String stringToCheck,
String argumentName)
Validates that the string is not null and not an empty string without trimming the string.
|
static void |
NullArgumentException.validateNotEmptyContent(String[] arrayToCheck,
boolean trim,
String argumentName)
Validates that the string array instance is not null and that it has entries that are not null or empty.
|
static void |
NullArgumentException.validateNotEmptyContent(String[] arrayToCheck,
String argumentName)
Validates that the string array instance is not null and that it has entries that are not null or empty
eithout trimming the string.
|
static void |
NullArgumentException.validateNotNull(Object obj,
String objectName)
Validates that the object
obj is not null. |
Copyright © 2006–2019 OPS4J - Open Participation Software for Java. All rights reserved.