|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.types.ByteStringFactory
@PublicAPI(stability=UNCOMMITTED, mayInstantiate=false, mayExtend=false, mayInvoke=true) public final class ByteStringFactory
This class provides static factory methods for creating ByteString objects.
Constructor Summary | |
---|---|
ByteStringFactory()
|
Method Summary | |
---|---|
static ByteString |
create()
Creates a new ByteString object with no value. |
static ByteString |
create(byte[] value)
Creates a new ByteString object for the provided
byte array value. |
static ByteString |
create(java.lang.String value)
Creates a new ByteString object for the provided
string value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ByteStringFactory()
Method Detail |
---|
public static ByteString create()
ByteString
object with no value.
ByteString
object with no value.public static ByteString create(byte[] value)
ByteString
object for the provided
byte array value.
value
- The value to use to create the
ByteString
object.
ByteString
object with the specified
value.public static ByteString create(java.lang.String value)
ByteString
object for the provided
string value.
value
- The value to use to create the
ByteString
object.
ByteString
object with the specified
value.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |