Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Alpha6
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.infinispan.schematic.document
Class Binary

    java.lang.Object
      org.infinispan.schematic.document.Binary

    @Immutable
    @SerializeWith(value=Binary.Externalizer.class)
    public final class Binary

extends Object

A `binary` value for use within a `BSON Object`.

Since:
  5.1
Author:
  Randall Hauch (C) 2011 Red Hat Inc.

Nested Class Summary
`static class` | `Binary.Externalizer`

Constructor Summary
`Binary(byte[] data)`
`Binary(byte type, byte[] data)`

Method Summary
`boolean` | `equals(Object obj)`
`byte[]` | `getBytes()`
`String` | `getBytesInBase64()`
`byte` | `getType()`
`int` | `hashCode()`
`int` | `length()`
`String` | `toString()`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Constructor Detail

### Binary

    public Binary(byte[] data)

### Binary

    public Binary(byte type,
                  byte[] data)

Method Detail

### getType

    public byte getType()

### getBytes

    public byte[] getBytes()

### length

    public int length()

### hashCode

    public int hashCode()

  Overrides:
    `hashCode` in class `Object`

### equals

    public boolean equals(Object obj)

  Overrides:
    `equals` in class `Object`

### toString

    public String toString()

  Overrides:
    `toString` in class `Object`

### getBytesInBase64

    public String getBytesInBase64()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Alpha6
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.