public final class RawableFactory
extends java.lang.Object
Rawable objects.| Modifier and Type | Class and Description |
|---|---|
static class |
RawableFactory.Raw
Default implementation of
Rawable. |
static class |
RawableFactory.RawString
A
Rawable wrapping a String. |
| Modifier and Type | Method and Description |
|---|---|
static Rawable |
from(boolean b)
Get a
Rawable from a boolean. |
static Rawable |
from(byte[] binary)
Get a
Rawable from a byte array. |
static Rawable |
from(double d)
Get a
Rawable from a double. |
static Rawable |
from(int i)
Get a
Rawable from an int. |
static Rawable |
from(long l)
Get a
Rawable from a long. |
static Rawable |
from(java.lang.String string)
Get a
Rawable from a String. |
public static Rawable from(boolean b)
Rawable from a boolean.b - boolean valuepublic static Rawable from(int i)
Rawable from an int.i - integer valuepublic static Rawable from(long l)
Rawable from a long.l - long valuepublic static Rawable from(double d)
Rawable from a double.d - numeric valuepublic static Rawable from(byte[] binary)
Rawable from a byte array.binary - valueCopyright © 2025. All rights reserved.