## Uses of Interface
org.modeshape.jcr.api.Binary

- Packages that use Binary
  Package | Description
  --- | ---
  org.modeshape.connector.git |
  org.modeshape.extractor.tika | The classes that make up the `TextExtractor` implementation that uses the Apache Tika `Parser` implementations.
  org.modeshape.jcr.api | This package provides a set of interfaces that extend the JCR 2.0 API interfaces with additional functionality, as well as defining the `Repositories` interface as a generic abstraction to any container of multiple JCR `Repository` instances.
  org.modeshape.jcr.api.text |
  org.modeshape.jcr.text | This package defines an interface for components that `extract text` from content.
  org.modeshape.jcr.value | Nodes in a graph contain properties, and this package defines the interfaces, classes and exceptions for representing and working with properties and their values.
  org.modeshape.jcr.value.binary |

- - ### Uses of Binary in org.modeshape.connector.git

    Classes in org.modeshape.connector.git that implement Binary
    Modifier and Type | Class and Description
    --- | ---
    `class` | `GitBinaryValue` A `BinaryValue` implementation used to read the content of a specific object ID from the supplied repository.

  - ### Uses of Binary in org.modeshape.extractor.tika

    Methods in org.modeshape.extractor.tika with parameters of type Binary
    Modifier and Type | Method and Description
    --- | ---
    `void` | TikaTextExtractor.`extractFrom(Binary binary, TextExtractor.Output output, TextExtractor.Context context)`
    `protected org.apache.tika.metadata.Metadata` | TikaTextExtractor.`prepareMetadata(Binary binary, TextExtractor.Context context)` Creates a new tika metadata object used by the parser.

  - ### Uses of Binary in org.modeshape.jcr.api

    Methods in org.modeshape.jcr.api that return Binary
    Modifier and Type | Method and Description
    --- | ---
    `Binary` | ValueFactory.`createBinary(byte[] value)` Creates a JCR `Binary` value from the given byte array.
    `Binary` | ValueFactory.`createBinary(InputStream value, String hint)` Creates a JCR `Binary` value from the given input stream with a hint to the factory (which is passed to the storage layer)

  - ### Uses of Binary in org.modeshape.jcr.api.text

    Methods in org.modeshape.jcr.api.text with parameters of type Binary
    Modifier and Type | Method and Description
    --- | ---
    `abstract void` | TextExtractor.`extractFrom(Binary binary, TextExtractor.Output output, TextExtractor.Context context)` Extract text from the given `Binary`, using the given output to record the results.
    `String` | TextExtractor.Context.`mimeTypeOf(String name, Binary binaryValue)` Determines the mime-type of the given binary value .
    `protected <T> T` | TextExtractor.`processStream(Binary binary, TextExtractor.BinaryOperation<T> operation)` Allows subclasses to process the stream of binary value property in "safe" fashion, making sure the stream is closed at the end of the operation.

  - ### Uses of Binary in org.modeshape.jcr.text

    Methods in org.modeshape.jcr.text with parameters of type Binary
    Modifier and Type | Method and Description
    --- | ---
    `String` | TextExtractorContext.`mimeTypeOf(String name, Binary binaryValue)`

  - ### Uses of Binary in org.modeshape.jcr.value

    Subinterfaces of Binary in org.modeshape.jcr.value
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `BinaryValue` Value holder for binary data.

  - ### Uses of Binary in org.modeshape.jcr.value.binary

    Classes in org.modeshape.jcr.value.binary that implement Binary
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractBinary` An abstract implementation of `BinaryValue` that provides some common capabilities for other implementations.
    `class` | `EmptyBinaryValue` An empty `BinaryValue` value.
    `class` | `ExternalBinaryValue` `BinaryValue` implementation that represents a binary value that resides outside of ModeShape's binary store.
    `class` | `FileUrlBinaryValue` A subclass of `UrlBinaryValue` to lazily compute a contentBased Hash when the key is a URI based Hash
    `class` | `InMemoryBinaryValue` An implementation of `BinaryValue` that keeps the binary data in-memory.
    `class` | `StoredBinaryValue` A `BinaryValue` implementation that gets the content from the `BinaryStore`.
    `class` | `UrlBinaryValue` A `BinaryValue` implementation used to read the content of a resolvable URL.

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