public static enum RResult.ResultType extends Enum<RResult.ResultType>
| Enum Constant and Description |
|---|
ANY
Both character and binary data is available.
|
BINARY
Binary data: buffer, stream, or URL.
|
BUFFER
A nio ByteBuffer.
|
CHARACTERS
Character data: string or reader.
|
READER
Some form of Reader.
|
STREAM
Some form of InputStream.
|
STRING
Plan Java String.
|
URL
Result is based on URL or URLConnection.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isBinaryData() |
boolean |
isCharacterData() |
static RResult.ResultType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RResult.ResultType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RResult.ResultType CHARACTERS
public static final RResult.ResultType STRING
public static final RResult.ResultType READER
public static final RResult.ResultType ANY
public static final RResult.ResultType BINARY
public static final RResult.ResultType BUFFER
public static final RResult.ResultType STREAM
public static final RResult.ResultType URL
public static RResult.ResultType[] values()
for (RResult.ResultType c : RResult.ResultType.values()) System.out.println(c);
public static RResult.ResultType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean isCharacterData()
public boolean isBinaryData()
Copyright © 2015. All rights reserved.