|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.torque.generator.outlet.OutletResult
public class OutletResult
The result of an outlet. Can either be a String or a byte array.
| Constructor Summary | |
|---|---|
OutletResult(byte[] byteArrayResult)
Constructor for a byte array result. |
|
OutletResult(String stringResult)
Constructor for a String result. |
|
| Method Summary | |
|---|---|
static OutletResult |
concatenate(Iterable<OutletResult> input)
Concatenates a list of OutletResults. |
static OutletResult |
concatenate(OutletResult... input)
Concatenates an array of OutletResults. |
boolean |
equals(Object obj)
|
byte[] |
getByteArrayResult()
Returns the byte array result. |
String |
getStringResult()
Returns the string result. |
int |
hashCode()
|
boolean |
isByteArrayResult()
Returns whether the result type is byte array. |
boolean |
isStringResult()
Returns whether the result type is String. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OutletResult(String stringResult)
stringResult - the String result.public OutletResult(byte[] byteArrayResult)
byteArrayResult - the byte array result.| Method Detail |
|---|
public String getStringResult()
public byte[] getByteArrayResult()
public boolean isStringResult()
public boolean isByteArrayResult()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
public static OutletResult concatenate(OutletResult... input)
throws GeneratorException
input - the OutletResults to concatenate,
not null, not empty, must not contain null, all of the same type
(either all string or all byte array).
GeneratorException - if the input outlet results are
of a different type.
public static OutletResult concatenate(Iterable<OutletResult> input)
throws GeneratorException
input - the OutletResults to concatenate,
not null, not empty, must not contain null, all of the same type
(either all string or all byte array).
GeneratorException - if the input outlet results are
of a different type.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||